GROMACS version: 2022.3
GROMACS modification: No
Dear all,
in running a metadynamics simulation with gromacs 2022.3 and plumed 2.8 on a workstation with rtx 3090ti (CUDA 11.8) and intel xeon dual core (2 x 20 cores), I get the following error:
Program: gmx mdrun, version 2022.3-plumed_2.8.1
Source file: src/gromacs/gpu_utils/devicebuffer.cuh (line 91)
Function: freeDeviceBuffer<float2*>(float2**)::<lambda()>
MPI rank: 4 (out of 8)
Assertion failed:
Condition: stat == cudaSuccess
Source file: src/gromacs/gpu_utils/devicebuffer.cuh (line 91)
Function: freeDeviceBuffer<float2*>(float2**)::<lambda()>
Freeing of the device buffer failed. CUDA error #1 (cudaErrorInvalidValue):
invalid argument.
For more information and tips for troubleshooting, please check the GROMACS
website at Common Errors — GROMACS webpage https://www.gromacs.org documentation
MPI rank: 5 (out of 8)
Assertion failed:
Condition: stat == cudaSuccess
Freeing of the device buffer failed. CUDA error #1 (cudaErrorInvalidValue):
The simulation runs without error if I use gromacs compiled with MPI, but I tried to use a non MPI version of gromacs to get better performance and I got the error above.
The simulation was started with the following command:
gmx mdrun -deffnm MES_6_complex_metad -plumed plumed.dat -bonded gpu -nb gpu -pme gpu -ntmpi 8 -ntomp 5 -npme 1 -gputasks 00000000
Compilation was done with g++ 11.3 on ubuntu 22.04.
The version of non MPI gromacs works fine without plumed.
Thanks in advance
Stefano