Skip to content

Commit

Permalink
Fixing issue with _finalizeInteract in serial jobs (#1730)
Browse files Browse the repository at this point in the history
  • Loading branch information
john-science authored Jun 14, 2024
1 parent 3ab04b4 commit a7a868b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions armi/operators/operatorMPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,9 @@ def _finalizeInteract(self):
This is only called on the root processor. Worker processors will know
what to do with the "reset" broadcast.
"""
context.MPI_COMM.bcast("reset", root=0)
runLog.extra("Workers have been reset.")
if context.MPI_SIZE > 1:
context.MPI_COMM.bcast("reset", root=0)
runLog.extra("Workers have been reset.")

def _resetWorker(self):
"""
Expand Down

0 comments on commit a7a868b

Please sign in to comment.