Skip to content

Conversation

yaugenst
Copy link

@yaugenst yaugenst commented Mar 6, 2023

This PR closes #2421 by adding the following environment variables that meep checks for upon initialization:

  • MEEP_VERBOSITY_LEVEL: Verbosity level of verbosity.meep (default = 1).
  • MPB_VERBOSITY_LEVEL: Verbosity level of verbosity.mpb (default = 1).
  • MEEP_MPI_SILENCE_WORKERS: Whether non-master stdout should be overridden or not (default = true).

The defaults are set so that current behavior does not change.

The variable MEEP_MPI_SILENCE_WORKERS was not discussed in #2421 but I have found it very helpful while debugging in the past and thought it might go well with this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

meep avoid uncessary outputs whe importing library
1 participant