We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 625fb6a + 13205de commit 06de8f8Copy full SHA for 06de8f8
1 file changed
mcstas-comps/examples/ILL/ILL_IN4/ILL_IN4.instr
@@ -329,6 +329,10 @@ INITIALIZE %{
329
330
#pragma acc update device( environment_thickness )
331
332
+ #ifdef USE_MPI
333
+ /* In case of MPI mode, add an MPI_Barrier to ensure no node runs on an uncompleted/non-existentt Dirac2D.sqw */
334
+ MPI_Barrier(MPI_COMM_WORLD);
335
+ #endif
336
%}
337
338
0 commit comments