enabled 1 PP + 1 PME node
[alexxy/gromacs.git] / src / gromacs / mdlib / broadcaststructs.cpp
index caadeb67a352386fdfe18e1faa1b6275f190b6cf..371e8b7cd50b82164a04e7d7ef2a33cc38f9f094 100644 (file)
@@ -239,7 +239,7 @@ void bcast_state(const t_commrec *cr, t_state *state)
     int      i, nnht, nnhtp;
     gmx_bool bAlloc;
 
-    if (!PAR(cr))
+    if (!PAR(cr) || (cr->nnodes - cr->npmenodes <= 1))
     {
         return;
     }