I am currently working on a Cray HPC. I am using Intel Fortran, but through Cray's recommended Fortran front-end wrapper, ftn. Is there an ifort compiler option that will provide a compilation/linking summary of all flags used for compiling, linking, along with libraries/includes that were used?
Thanks!
Try: -dryrun
This just shows the details, it doesn't execute the commands. Discussed in the ifort User's Guide: https://software.intel.com/en-us/node/579633
There's also -list that generates a listing file (.lst file type). This include a summary at the end of everything you asked for.
For more complete information about compiler optimizations, see our Optimization Notice.