Environment Variables¶
pyMOR respects the following environment variables:
- PYMOR_CACHE_DISABLE
If
1
, disable caching globally, overriding calls toenable_caching
. This is mainly useful for debugging. Seepymor.core.cache
for more details.- PYMOR_COLORS_DISABLE
If
1
, disable coloring of logging output.- PYMOR_WITH_SPHINX
This variable is set to
1
during API documentation generation using sphinx.- PYMOR_DEFAULTS
If empty or
NONE
, do not load anydefaults
from file. Otherwise, a:
-separated list of the paths to a Python scripts containing defaults.- PYMOR_HYPOTHESIS_PROFILE
Controls which profile the hypothesis pytest plugin uses to execute our test suites. Defaults to the “dev” profile which runs fewer variations than the “ci” or “ci_pr” which get used in our Gitlab-CI.
- PYMOR_MPI_FINALIZE
If set controls the value for
mpi4py.rc.finalize
. IfPYMOR_MPI_FINALIZE
is unset the value ofmpi4py.rc.finalize
remains unchanged, unlessmpi4py.rc.finalize is None
in which case it is defaulted toTrue
.- PYMOR_ALLOW_DEADLINE_EXCESS
If set, test functions decorated with
might_exceed_deadline
are allowed to exceed the default test deadline set inconftest
.