Remove thread-MPI limitation for GPU PP Halo exchange
[alexxy/gromacs.git] / src / gromacs / domdec / domdec.cpp
index 8bec7e2409ae6ab005b135b80fe086769c868611..088189b6027ef82b8c483c9c1b4754725e2b9a47 100644 (file)
@@ -3191,7 +3191,7 @@ void constructGpuHaloExchange(const gmx::MDLogger&            mdlog,
             cr.dd->gpuHaloExchange[d].push_back(std::make_unique<gmx::GpuHaloExchange>(
                     cr.dd,
                     d,
-                    cr.mpi_comm_mysim,
+                    cr.mpi_comm_mygroup,
                     deviceStreamManager.context(),
                     deviceStreamManager.stream(gmx::DeviceStreamType::NonBondedLocal),
                     deviceStreamManager.stream(gmx::DeviceStreamType::NonBondedNonLocal),