Next: , Previous: OMP_NESTED, Up: Environment Variables


3.4 OMP_NUM_THREADS – Specifies the number of threads to use

Description:
Specifies the default number of threads to use in parallel regions. The value of this variable shall be a positive integer. If undefined one thread per CPU is used.
See also:
omp_set_num_threads
Reference:
OpenMP specifications v3.0, section 4.2