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.cachefor more details.- PYMOR_COLORS_DISABLE
If
1, disable coloring of logging output.- PYMOR_WITH_SPHINX
This variable is set to
1during API documentation generation using sphinx.- PYMOR_DEFAULTS
If empty or
NONE, do not load anydefaultsfrom 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_FINALIZEis unset the value ofmpi4py.rc.finalizeremains unchanged, unlessmpi4py.rc.finalize is Nonein which case it is defaulted toFalse.- PYMOR_ALLOW_DEADLINE_EXCESS
If set, test functions decorated with
might_exceed_deadlineare allowed to exceed the default test deadline set inconftest.