Amber-MD / cpptraj

Biomolecular simulation trajectory/data analysis.
Other
136 stars 64 forks source link

CPU-dependent Test failures with PGI compilers #841

Closed drroe closed 3 years ago

drroe commented 4 years ago

Some original discussion was in #840

Parts or all of the following tests fail when compiled with PGI compilers, but only for certain types of hardware:

Test_Cluster_RandomSieve/Test_Error.dat
Test_Cluster_Sieve/Test_Error.dat
Test_Cluster_SymmRMSD/Test_Error.dat
Test_CurveFit/Test_Error.dat
Test_EvalPlateau/Test_Error.dat
Test_GIST/Test_Error.dat

Failures occur on the following platforms:

Failures do not occur on the following platforms:

It's possible the failures are optimization-related; e.g. the Intel 6130 supports AVX-512 while the E5-2670 does not. I will try compiling with no optimizations and see if the test failures go away.

drroe commented 4 years ago

Even with -O0 the tests still fail.

drroe commented 4 years ago

Using flags recommended by Blue Waters:

-m64 -mcmodel=medium -Mdalign -Mllalign -Munroll -Kieee -O2 -fastsse -Mipa=fast

results in the same test failures, plus Test_CCP4/Test_Error.dat.

drroe commented 3 years ago

Finally addressed by #876 !