Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!

ifort optimization for speed

Alessandro_D_
New Contributor I
155 Views

Dear all,

I am using the ifort compiler for windows from command line (without Visual Studio). I wrote my own makefile and I compile with the following options:

/fast #-ipo -O3 -no-prec-div -xHost

In this way the code executes much faster but sometimes I get different results due to a loss of precision

So my question is the following: is there a way to still improve the speed but keeping precision? So that the compiler would still optimize loops etc but not the precision

Thanks!

Best,

Alessandro

 

 

 

0 Kudos
1 Reply
andrew_4619
Honored Contributor I
155 Views
Reply