Commit eb40881b authored by Chris Cantwell's avatar Chris Cantwell

Add MPI initialised flag around barrier.

parent 3fce38e6
......@@ -138,7 +138,10 @@ namespace ErrorUtil
}
}
#if defined(NEKTAR_USE_MPI)
MPI_Barrier(MPI_COMM_WORLD);
if (flag)
{
MPI_Barrier(MPI_COMM_WORLD);
}
#endif
throw NekError(baseMsg);
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment