The environment variables which beginning with OMP_
are defined by
section 4 of the OpenMP specification in version 4.5, while those
beginning with GOMP_
are GNU extensions.
OMP_CANCELLATION
– Set whether cancellation is activatedOMP_DISPLAY_ENV
– Show OpenMP version and environment variablesOMP_DEFAULT_DEVICE
– Set the device used in target regionsOMP_DYNAMIC
– Dynamic adjustment of threadsOMP_MAX_ACTIVE_LEVELS
– Set the maximum number of nested parallel regionsOMP_MAX_TASK_PRIORITY
– Set the maximum priorityOMP_NESTED
– Nested parallel regionsOMP_NUM_THREADS
– Specifies the number of threads to useOMP_PROC_BIND
– Whether threads may be moved between CPUsOMP_PLACES
– Specifies on which CPUs the threads should be placedOMP_STACKSIZE
– Set default thread stack sizeOMP_SCHEDULE
– How threads are scheduledOMP_TARGET_OFFLOAD
– Controls offloading behaviourOMP_THREAD_LIMIT
– Set the maximum number of threadsOMP_WAIT_POLICY
– How waiting threads are handledGOMP_CPU_AFFINITY
– Bind threads to specific CPUsGOMP_DEBUG
– Enable debugging outputGOMP_STACKSIZE
– Set default thread stack sizeGOMP_SPINCOUNT
– Set the busy-wait spin countGOMP_RTEMS_THREAD_POOLS
– Set the RTEMS specific thread pools