Assertion failure in GPU buffer clearing with MPI
Enabling mdrun-test to run with 2 ranks finds more issues:
A swap test in mdrun-test triggers an assertion failure when run on GPU with two ranks:
Program: mdrun-test, version 2022-rc1-dev-20220202-fad64df2-dirty Source file: src/gromacs/mdtypes/state_propagator_data_gpu_impl_gpu.cpp (line 294) Function: gmx::StatePropagatorDataGpu::Impl::clearOnDevice(DeviceBuffer<gmx::BasicVector >, int, gmx::AtomLocality, const DeviceStream&) const::<lambda()> MPI rank: 1 (out of 2)
Assertion failed: Condition: dataSize >= 0 Trying to clear to device buffer before it was allocated.
http://www.gromacs.org/Documentation/Errors
For more information and tips for troubleshooting, please check the GROMACS website atProgram: mdrun-test, version 2022-rc1-dev-20220202-fad64df2-dirty Source file: src/gromacs/mdtypes/state_propagator_data_gpu_impl_gpu.cpp (line 294) Function: gmx::StatePropagatorDataGpu::Impl::clearOnDevice(DeviceBuffer<gmx::BasicVector >, int, gmx::AtomLocality, const DeviceStream&) const::<lambda()> MPI rank: 0 (out of 2)
Assertion failed: Condition: dataSize >= 0 Trying to clear to device buffer before it was allocated.