Intel® Fortran Compiler 16.0 User and Reference Guide

qopenmp-simd, Qopenmp-simd

Enables or disables OpenMP* SIMD compilation. Option -qopenmp-simd is the replacement option for -openmp-simd, which is deprecated.

Syntax

Linux:

-qopenmp-simd

-qno-openmp-simd

OS X:

None

Windows:

/Qopenmp-simd

/Qopenmp-simd-

Arguments

None

Default

-qno-openmp-simd or /Qopenmp-simd-

OpenMP* SIMD compilation is disabled. However, if option [q or Q]openmp is specified, the default is ON and OpenMP SIMD compilation is enabled.

Description

This option enables or disables OpenMP* SIMD compilation.

You can use this option if you want to enable or disable the SIMD support with no impact on other OpenMP features. In this case, no OpenMP runtime library is needed to link and the compiler does not need to generate OpenMP runtime initialization code.

If you specify this option with the [q or Q]openmp option, it can impact other OpenMP features.

IDE Equivalent

None

Alternate Options

None

Example

Consider the following:

-qno-openmp -qopenmp-simd    ! Linux OS
/Qopenmp- /Qopenmp-simd      ! Windows OS

The above is equivalent to specifying only [q or Q]openmp-simd. In this case, only SIMD support is provided, the OpenMP* library is not linked, and only the !$OMP directives related to SIMD are processed.

Consider the following:

-qopenmp -qopenmp-simd       ! Linux OS
/Qopenmp /Qopenmp-simd       ! Windows OS

In this case, SIMD support is provided, the OpenMP library is linked, and OpenMP runtime initialization code is generated.

See Also