Commit 155f3287 authored by Chris Cantwell's avatar Chris Cantwell Committed by Douglas Serson

Add MPI initialised flag around barrier.

(cherry picked from commit eb40881b)
parent 01042bda
......@@ -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