Commit fc220cce authored by Martin Reinecke's avatar Martin Reinecke

tweaking

parent 2d56144e
Pipeline #44161 passed with stages
in 9 minutes and 14 seconds
......@@ -94,8 +94,8 @@ from .logger import logger
from .linearization import Linearization
from . import parallelization_scheme
_scheme = parallelization_scheme.scheme()
from . import internal_config
_scheme = internal_config.parallelization_scheme()
if _scheme == "Samples":
from .minimization.metric_gaussian_kl_mpi import MetricGaussianKL_MPI
......
......@@ -15,10 +15,10 @@
#
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik.
from . import parallelization_scheme
from . import internal_config
_scheme = parallelization_scheme.scheme()
_scheme = internal_config.parallelization_scheme()
if _scheme in ("Samples", "None"):
from .data_objects.numpy_do import *
......
......@@ -15,7 +15,11 @@
#
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik.
def scheme():
# return "Standard"
return "Samples"
# Internal configuration switches, typically for experimental features.
# Leave unchanged unless you know what you are doing!
def parallelization_scheme():
return "Standard"
# return "Samples"
# return "None"
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