Skip to content

Commit 35f5402

Browse files
authored
Merge pull request #746 from DiamondLightSource/sweep_messaging
Fixes the early report on finished pipeline from sweep
2 parents f4fcc2d + 0b34342 commit 35f5402

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎httomo/sweep_runner/param_sweep_runner.py‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,11 @@ def execute(self):
273273
self.prepare()
274274
self.execute_before_sweep()
275275
self.execute_sweep()
276+
log_once(
277+
"Stand by until all processes are finished (some can take longer)."
278+
)
279+
comm = MPI.COMM_WORLD
280+
comm.Barrier()
276281
self.execute_after_sweep()
277282
log_once(f"Pipeline finished. Took {t.elapsed:.3f}s")
278283

0 commit comments

Comments
 (0)