Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Intel Customer Support will be observing the Martin Luther King holiday on Monday, Jan. 17, and will return on Tues. Jan. 18.
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646
26853 Discussions

Ifort activated optimization flags with the -O1 option

Bouttier__Pierre-Ant
148 Views

Hello,

I am facing a strange behavior in terms of cumulated CPU time for a F90 code, which is radically changing when I am compiling it with O0 or O1 options.

 

After reading the doc, I did not have seen the main flags that are activated by the O1 options. It could be very useful to understand the code behavior.  Someone has any clues to know what are those flags?

Thanks in advance

0 Kudos
2 Replies
Ronald_G_1
Beginner
148 Views

You can compile with -dryrun  or -# to dump all the defines and options used by the compiler

Bouttier__Pierre-Ant
148 Views

Thanks

Reply