Remove MPI dependence in Logger #373
Open
+17
−73
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR removes all dependencies to MPI inside the Logger class. The functionality was replaced by a general message prefix and setting the log levels for the different MPI processes.
Note: By default, MPI processes with rank zero will use log level
Info
and all other MPI processes log levelError
. This should help in identifying errors more quickly from logs. As a side effect, the--verbose
option will now enable log levelAll
for all MPI processes, which should be helpful for debugging.Related Pull Requests
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.