Failing tests in Gromacs 2020.6 and 2021.2 with Ryzen9 5950X
have just mount a new workstation with a AMD Ryzen 9 5950X cpu and Geforce GTX1650 video card. The installed OS was Opensuse Leap 15.2,
The main purpose of this workstation is to rum simulations with Gromacs. After its compilation without any warning, I’m having the following tests failing when checking it:
32 - RandomUnitTests (Failed)
40 - GmxAnaTest (Failed)
41 - GmxPreprocessTests (SEGFAULT)
48 - TrajectoryAnalysisUnitTests (Failed)
50 - ToolUnitTests (SEGFAULT)
53 - MdrunOutputTests (Failed)
54 - MdrunModulesTests (Failed)
55 - MdrunIOTests (Failed)
56 - MdrunTests (Failed)
57 - MdrunPmeTests (Failed)
60 - MdrunMpiTests (Failed)
61 - MdrunMpiPmeTests (Failed)
64 - MdrunFEPTests (Failed)
66 - GmxapiExternalInterfaceTests (Failed)
67 - GmxapiInternalInterfaceTests (Failed)
Essentially two kinds of failure appear in the tests:
C++ exception with description “random_device: rdrand failed”
and
Attempted to call init_inputrec_strings before calling done_inputrec_strings.
The first failure above, the rdrand one, appears to be related with some AMD CPU’s, as described here:
https://twitter.com/FiloSottile/status/1125840275346198529 1
I made everything possible to try to fix these failures by my self, including the compilation and instalation of GCC 11.1.0 and Intel oneAPI toolkit and use them to compile gromacs 2021.2. Every time I finished with the same errors. :-(