Closed axch closed 7 years ago
PR #35 permits one to easily manually check whether a different compiler option produces results that are too far from the known-good ones.
Down-scoped this issue to the manual part so it can be closed, and filed full-scope automatic platform-induced discrepancy testing as #36.
If I change output_preservation_test.py to compile the MIM core with -O1 or -O2 rather than -Ofast, two undesirable things happen:
*** Error in 'MIM': double free or corruption (!prev): 0x00000000007c8a90 ***
).The former of these is Issue #28, and is certainly more urgent; this ticket is about confirming that the disagreements are small, and caused by liberties
gfortran -Ofast
takes with the IEEE 64-bit floating point standard. Presumably the mechanism for doing that would be implementing the first option outlined in Issue #27.