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

compiling with -ipo and qopt-report=5

AThar2
Beginner
672 Views

Hello,

 

Is there a reason why if I compile with both -ipo qopt-report=5, my optrpt report does not contain much of information. While If i removed -ipo I get the information in the report file as I would expect.

 

 

0 Kudos
3 Replies
Steve_Lionel
Honored Contributor III
672 Views

With -ipo, optimization doesn't occur until the "linking" stage, so there's little to report.

0 Kudos
AThar2
Beginner
672 Views

Hello Steve

that makes sense. What about vector instruction would they be incorporated then? And how to know if a simd loop was vectorized when no report are provided

0 Kudos
Steve_Lionel
Honored Contributor III
672 Views

I'm pretty sure that if you use ifort to link and add -qopt-report that you should get what you want. Until you do the "link" (actually a pre-link phase that then invokes ld), the .o files just have "intermediate code" that is read by the compiler again at the link to do code generation and optimizing.

0 Kudos
Reply