LocalInterp2 symmetry test fails on intel compiler machine

Create issue
Issue #1837 closed
Roland Haas created an issue

The intel compiler by default aggressively optimizes expressions, which causes failures in the delicate cancellations required for LocalInterp2's symmetry test.

The attached patch changes compiler options for the affected file only.

Keyword: LocalInterp2

Comments (5)

  1. Roland Haas reporter
    • changed status to resolved
    • removed comment

    The failure is due to the test requiring a specific set of compiler options which are not normally provided. The workaround is specific to a particular compiler and would insert compiler dependent options into the thorn's Makefile.

    A cleaner solution may be to offer "PRECISE" compiler flags through the Cactus build system for those parts of the code that are dependent on standards conforming math. This is low priority since it is only of interest to a relatively small set of thorns.

  2. Log in to comment