X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=blobdiff_plain;f=src%2Fgromacs%2Fmdrun%2Frunner.cpp;h=3bf1d5071cd6d9d21bb56dd62ad182f178488c99;hb=1332229c86376a2a34ebc28a663b071bfcd5f28a;hp=8c3fbdf517855a22e7f5e9689a515619c193e7c5;hpb=23dbb662d3f417062f097106ed31f717e260034c;p=alexxy%2Fgromacs.git diff --git a/src/gromacs/mdrun/runner.cpp b/src/gromacs/mdrun/runner.cpp index 8c3fbdf517..3bf1d5071c 100644 --- a/src/gromacs/mdrun/runner.cpp +++ b/src/gromacs/mdrun/runner.cpp @@ -937,7 +937,7 @@ int Mdrunner::mdrunner() // master and spawned threads joins at the end of this block. } - GMX_RELEASE_ASSERT(ms || simulationCommunicator != MPI_COMM_NULL, + GMX_RELEASE_ASSERT(!GMX_MPI || ms || simulationCommunicator != MPI_COMM_NULL, "Must have valid communicator unless running a multi-simulation"); CommrecHandle crHandle = init_commrec(simulationCommunicator); t_commrec* cr = crHandle.get();