Configuration

Environment variables

OpenTURNS uses the following (optional) environment variables.

OPENTURNS_CONFIG_PATH

Path to the openturns.conf XML file used by the ResourceMap.

OPENTURNS_HOME

Path to the library installation directory.

OPENTURNS_LOG_SEVERITY

The default severity of logs, see the Log class.

OPENTURNS_NUM_THREADS

Number of threads to use for parallel regions, see the TBB class.

Environment checking and filesystem manipulation

Path(*args, **kwargs)

Path utilities.

Information about the library

PlatformInfo(*args, **kwargs)

Informations about platform.

Recording user information

Log(*args, **kwargs)

Logging utilities.

TTY(*args, **kwargs)

Console utilities.

Resource catalog

ResourceMap(*args, **kwargs)

The ResourceMap allows one to manage constants that are associated to key strings.

Threading configuration

TBB(*args, **kwargs)

Threading parameters.