Hello everyone,
I am trying to run a QM/MM minimization using Gromacs 2022.1/CP2K 9.1, but it failed due to Segmentation fault.
Steepest Descents:
Tolerance (Fmax) = 1.00000e+03
Number of steps = 1000
srun: error: s02r2b66: tasks 2-3,5,9,11: Segmentation fault
srun: Terminating job step 23458162.0
slurmstepd: error: *** STEP 23458162.0 ON s02r2b66 CANCELLED AT 2022-06-10T09:31:34 ***
srun: error: s02r2b66: tasks 0-1,4,6-8,10: Terminated
srun: error: s02r2b67: tasks 12-23: Terminated
srun: Force Terminated job step 23458162.0
My system is simple, a lipid bilayer with water, and the QM region is 14 waters. I guess this is related to the system setup by Gromacs for CP2K calculations, specifically, the QM box size. When I used:
qmmm-cp2k-qmmethod = PBE
I got a QM box size of 464646 A3, while the size of the QM region obtained from VMD is: 13.49.427.5 A3.
Main< (Chetan) 4 % measure minmax $qm
{30.100000381469727 15.4399995803833 19.190000534057617} {43.41999816894531 24.739999771118164 46.66999816894531}
Then I tried to use qmmm-cp2k-qmmethod = INPUT, and setup a smaller QM box size, but the simulation crashed due to the same reason.
I don’t know how the QM box size is determined by Gromacs. In another simple test, ACE-Ala-NME dipeptide in water, the QM box size was set correctly, and simulation was running successfully.
So the crashed simulation is due to a big QM box size is required by Gromacs, which requires a large amount of memory. I don’t understand the different determination of QM box size for the two systems.
I used 96 cores for the simulation, by default, 2GB/core memory is assigned for the job on the cluster.
The memory should be enough, as I used the same number of cores to run QM/MM simulations with CP2K only.
Could someone give some comments and suggestions? Thanks a lot!
All the best,
Qinghua