Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28381 Discussions

Ifort activated optimization flags with the -O1 option

Bouttier__Pierre-Ant
431 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
431 Views

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

0 Kudos
Bouttier__Pierre-Ant
431 Views

Thanks

0 Kudos
Reply