Rate this Page

Threading Environment Variables#

Created On: Jun 10, 2025 | Last Updated On: Jun 10, 2025

Variable

Description

OMP_NUM_THREADS

Sets the maximum number of threads to use for OpenMP parallel regions.

MKL_NUM_THREADS

Sets the maximum number of threads to use for the Intel MKL library. Note that MKL_NUM_THREADS takes precedence overOMP_NUM_THREADS.