Skip to content

Commit

Permalink
Improving a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
john-science committed Apr 15, 2024
1 parent 7e52a40 commit f5a7b7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion armi/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def setMode(cls, mode):
MPI_NODENAME = MPI.Get_processor_name()
MPI_NODENAMES = MPI_COMM.allgather(MPI_NODENAME)

# catch an exceptional case where MPI incorrectly identifies "interactive mode"
# fix an exceptional error case when we are not in "interactive mode"
if MPI_SIZE > 1 and CURRENT_MODE == Mode.INTERACTIVE:
CURRENT_MODE = Mode.BATCH
except ImportError:
Expand Down

0 comments on commit f5a7b7c

Please sign in to comment.