Fix hang with LJ-PME and empty domains
[alexxy/gromacs.git] / src / gromacs / mdlib / domdec.c
index c995192a36de1f98b87e0e7e9163d701d1c8c294..ae2a4f8098b696a91f846ef2e483abcfbc01b82f 100644 (file)
@@ -9769,7 +9769,9 @@ void dd_partition_system(FILE                *fplog,
     if (!(cr->duty & DUTY_PME))
     {
         /* Send the charges and/or c6/sigmas to our PME only node */
-        gmx_pme_send_parameters(cr, mdatoms->nChargePerturbed, mdatoms->nTypePerturbed,
+        gmx_pme_send_parameters(cr,
+                                fr->ic,
+                                mdatoms->nChargePerturbed, mdatoms->nTypePerturbed,
                                 mdatoms->chargeA, mdatoms->chargeB,
                                 mdatoms->sqrt_c6A, mdatoms->sqrt_c6B,
                                 mdatoms->sigmaA, mdatoms->sigmaB,