OpenMP* Standard Option

For complete information on the OpenMP* standard, visit the www.openmp.org web site. The Intel Extensions to OpenMP topic describes the extensions to the standard that have been added by Intel in the Intel® Fortran Compiler.

OpenMP Fortran Directives and Clauses

An OpenMP directive has the form:

omp-sentinel directive [directive clause [ directive clause . . .]

An omp-sentinel is either

!$OMP
C$OMP

with no intervening spaces for fixed form source input, or

!$OMP

for free form source input.

OpenMP Environment Variables

Variable

Description

Default

OMP_SCHEDULE

Sets the run-time schedule type and chunk size.

STATIC

OMP_NUM_THREADS

Sets the number of threads to use during execution.

Number of processors

OMP_DYNAMIC

Enables or disables the dynamic adjustment of the number of threads.

.FALSE.

OMP_NESTED

Enables or disables nested parallelism.

.FALSE.

See the lists of OpenMP* Standard Directives and Clauses in the Reference section.