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

Compiler Optimization and wondering how to set /fast

Mike896
Beginner
439 Views
Hi
I've tested sample files in Compiler Optimization and wondering how to set /fast.
I've successfully set optimization levels: disabled, /O1, /O2 and /O3, and find /O3 run fastest.
Thanks.

MikeLiu
0 Kudos
1 Reply
Steven_L_Intel1
Employee
439 Views
I don't recommend using /fast - at least not until version 11 - as it implies (in 10.1) /QxT and that means your program may not run if you are not using an Intel Core 2 processor. (In version 11 /fast implies /QxHost, which optimizes for the system you compile on.) You can specify the other options it implies separately. If there is an option you do not see a property for, add the switch on the Command Line property page. You can put /fast here if you want to try it.
0 Kudos
Reply