GROMACS version: 2023.2
GROMACS modification: No
I am running some test simulations with virtual site parameters for DNA and RNA. I started working locally on my MacBook pro with Gromacs 2023.1 and things went fine. I then started over with 2023.2, using the same scripts as before, but now energy minimization failed. Specifically, it claimed to reach machine precision almost imediately, with very high positive potential energy and considerable force.
I tested on a supercomputer (Intel) where I installed 2023.2 and then energy minimization worked fine.
I then compiled 2023.2 with clang on my MacBook pro, and em worked (although it led to somewhat higher Epot and converged in much fewer steps than with gcc).
All builds are simplistic in the sense that I have used a minimum of cmake options, so nothing strange about the builds. FFTW3 was compiled with Gromacs.
The combination 2023.2 and gcc 12.2.0 (installed via homebrew) and Apple silicon (M1 pro) seems to produce a Gromacs incapable of minimizing the energy of my DNA duplex. I have tried to run the tests for the installation, but this doesn’t work (this has been reported before).
Excerpts from log files below.
2023.1 (gcc12):
Steepest Descents did not converge to Fmax < 10 in 5001 steps.
Potential Energy = -1.7327117e+05
Maximum force = 6.1179816e+02 on atom 161
Norm of force = 1.1533582e+01
2023.2 (gcc12):
Steepest Descents converged to machine precision in 16 steps,
but did not reach the requested Fmax < 10.
Potential Energy = 4.0807118e+06
Maximum force = 3.3101590e+07 on atom 33
Norm of force = 7.3828226e+06
2023.2 (clang):
Steepest Descents converged to machine precision in 31 steps,
but did not reach the requested Fmax < 10.
Potential Energy = -1.2083102e+05
Maximum force = 3.6648938e+04 on atom 12
Norm of force = 2.5091512e+03
These energy minimizations were done without constraints. I got it to work with constraints and virtual sites, and also without virtual sites or constraints. The virtual sites parameters seems like an obvious candidate to blame, but I cannot see why they would work with 2023.1 but not 2023.2. Is there a case for a bug report?
Suggestions for additional tests are welcome.