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. E.g., 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()).

NVPL_LAPACK_MATH_MODE

Setting NVPL_LAPACK_MATH_MODE=PEDANTIC will enable pedantic math mode. See more in Math Mode.

OpenMP

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