Commit 8a6f4d3d authored by Lukas Platz's avatar Lukas Platz
Browse files

Make environment variable name upper case

parent c90a19e4
Pipeline #64948 passed with stages
in 8 minutes and 14 seconds
......@@ -21,7 +21,7 @@
def parallelization_scheme():
"""Sets the MPI parallelization scheme according to the
environment variable `NIFTy_MPI_SCHEME`.
environment variable `NIFTY_MPI_SCHEME`.
If not set, "Standard" parallelization is used.
......@@ -48,7 +48,7 @@ def parallelization_scheme():
"None": Disables all parallelization.
import os
scheme = os.getenv("NIFTy_MPI_SCHEME", default="Standard")
scheme = os.getenv("NIFTY_MPI_SCHEME", default="Standard")
if scheme not in ["Standard", "Samples", "None"]:
raise ValueError("Unrecognized MPI parallelization scheme!")
return scheme
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment