Next: OMP_PROC_BIND, Previous: OMP_NESTED, Up: Environment Variables [Contents][Index]
OMP_NUM_THREADS
– Specifies the number of threads to useSpecifies the default number of threads to use in parallel regions. The value of this variable shall be a comma-separated list of positive integers; the value specified the number of threads to use for the corresponding nested level. If undefined one thread per CPU is used.
OpenMP specification v4.5, Section 4.2