Environment Variables#

Library Specific#

If the state which is controlled by an environment variable has a corresponding global or local API (e.g., nvpl_lapack_set_math_mode() and nvpl_lapack_set_math_mode_local()) the value set by the APIs takes precedence over the value of the environment variable. For example, if a global API is called once the value of the corresponding environment variable will be ignored afterwards.

It is also possible to ignore the values of NVPL LAPACK specific environment variables, which is useful for library developers (see nvpl_lapack_set_env_mode() and nvpl_lapack_set_env_mode_local()).

Environment Variable

Supported Values

Description

NVPL_LAPACK_MATH_MODE

PEDANTIC

Enable pedantic math mode. See details in Math Mode.

LAPACKE_NANCHECK

0

Disable NaN checking on inputs. See details in NaN Checking.

OpenMP#

NVPL LAPACK Threading Interfaces based on OpenMP complies with the corresponding environment variables, such as OMP_NUM_THREADS.