libgomp: OMP_PROC_BIND
1
1 3.9 'OMP_PROC_BIND' - Whether theads may be moved between CPUs
1 ==============================================================
1
1 _Description_:
1 Specifies whether threads may be moved between processors. If set
1 to 'TRUE', OpenMP theads should not be moved; if set to 'FALSE'
1 they may be moved. Alternatively, a comma separated list with the
1 values 'MASTER', 'CLOSE' and 'SPREAD' can be used to specify the
1 thread affinity policy for the corresponding nesting level. With
1 'MASTER' the worker threads are in the same place partition as the
1 master thread. With 'CLOSE' those are kept close to the master
1 thread in contiguous place partitions. And with 'SPREAD' a sparse
1 distribution across the place partitions is used.
1
1 When undefined, 'OMP_PROC_BIND' defaults to 'TRUE' when
1 'OMP_PLACES' or 'GOMP_CPU_AFFINITY' is set and 'FALSE' otherwise.
1
1 _See also_:
DONTPRINTYET 1 ⇒OMP_PLACES, ⇒GOMP_CPU_AFFINITY, *note1 omp_get_proc_bind::
1
1 _Reference_:
1 OpenMP specification v4.5 (http://www.openmp.org/), Section 4.4
1