[Users] intel compiler flags?

Frank Loeffler knarf at cct.lsu.edu
Tue Nov 10 12:45:16 CST 2015


On Tue, Nov 10, 2015 at 01:38:08PM -0500, Jonah Miller wrote:
> I am working on developing a modified stencil for the Einstein Toolkit 
> and I am discovering that regression tests pass when I use the GNU 
> compilers but fail when I use the Intel compilers, even with gentle 
> optimization settings such as -O1. I suspect over-zealous optimization. 
> Has anyone encountered this sort of problem before? And if so, does 
> anybody know a good combination of flags that makes the intel compiler 
> more cautious, without sacrificing too much speed? (For example, 
> disabling fast math, which seems to be set to active by default.)

The default for the Intel compiler is non-exact math. Try some of the
options mentioned here:

https://software.intel.com/en-us/articles/consistency-of-floating-point-results-using-the-intel-compiler

How much that influences effective speed likely depends a lot on your
code.

Frank

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
Url : http://lists.einsteintoolkit.org/pipermail/users/attachments/20151110/25542d9e/attachment.bin 


More information about the Users mailing list