Roland, I think you have been using such flags. Which flags exactly did you use?
-erik
On Tue, Nov 10, 2015 at 1:45 PM, Frank Loeffler knarf@cct.lsu.edu wrote:
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-resu...
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