Visible to Intel only — GUID: GUID-4384051D-4DE8-4C95-96C3-68B91028A193
Visible to Intel only — GUID: GUID-4384051D-4DE8-4C95-96C3-68B91028A193
qopenmp-threadprivate, Qopenmp-threadprivate
Lets you specify an OpenMP* threadprivate implementation.
Syntax
Linux: |
-qopenmp-threadprivate=type |
Windows: |
/Qopenmp-threadprivate:type |
Arguments
type |
Specifies the type of threadprivate implementation. Possible values are:
|
Default
ifort: -qopenmp-threadprivate=legacy |
The compiler uses the legacy OpenMP* threadprivate implementation used in the previous releases of the Intel compiler. |
ifx: -qopenmp-threadprivate=compat |
The compiler uses the compatibility OpenMP* threadprivate implementation. |
Description
This option lets you specify an OpenMP* threadprivate implementation.
The threadprivate implementation of the legacy OpenMP runtime library may not be compatible with object files created using OpenMP runtime libraries supported in other compilers.
To use this option, you must also specify one of the following compiler options:
Linux* systems: -qopenmp or -qopenmp-stubs
Windows* systems: /Qopenmp or /Qopenmp-stubs
The value specified for this option is independent of the value used for the [q or Q]openmp-lib option.
On Windows* systems, if you specify option /Qopenmp-threadprivate:compat, the compiler does not generate threadsafe code for common blocks in an !$OMP THREADPRIVATE directive unless at least one element in the common block is explicitly initialized.
IDE Equivalent
Alternate Options
None