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

9.1.024 compile time

ggveldkamp2
Novice
528 Views
Hello,

While I was testing the 9.1.024 compiler I noticed some files took really long to compile. I tracked it down to the default optimization setting. I use /check:uninit and /check:bounds compiler options. In previous versions (9.0.029?) the default optimization would be /Od (no optimaiztion), with 9.1.024 it defaults to /O2. I could not find this change in the release notes, is it intended behaviour?

I also have the feeling that compiling is a little slower compared to 9.0 but I didn't do exact measurements.

Is it possible to get some information on which parts of a source file take a long time to compile, so the code can be improved in this regard?

Thanks,

Guido
0 Kudos
2 Replies
Steven_L_Intel1
Employee
528 Views
The default did not change in 9.1. From the command line, /O2 has always been the default. If building from Visual Studio, /Od is the default for debug configurations.

I'd suggest sending an example to Intel Premier Support for analysis.
0 Kudos
ggveldkamp2
Novice
528 Views
/O2 is the default but in previous versions /check:uninit and/or /check:bounds disabled optmizations. In 9.1.024 this seems not to be the case anymore.
I will send an example to Premier Support.

Thanks,

Guido
0 Kudos
Reply