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
_______________________________________________
Users mailing list
Users@einsteintoolkit.org
http://lists.einsteintoolkit.org/mailman/listinfo/users