Developer Guide and Reference

Contents

qopenmp-lib, Qopenmp-lib

Lets you specify an OpenMP* run-time library to use for linking.

Syntax

Linux:
-qopenmp-lib=
type
macOS:
-qopenmp-lib=
type
Windows:
/Qopenmp-lib:
type
Arguments
type
Specifies the type of library to use; it implies compatibility levels. Currently, the only possible value is:
compat
Tells the compiler to use the compatibility OpenMP* run-time library (libiomp). This setting provides compatibility with object files created using Microsoft* and GNU* compilers.
Default
-qopenmp-lib=compat
or
/Qopenmp-lib:compat
The compiler uses the compatibility OpenMP* run-time library (libiomp).
Description
This option lets you specify an OpenMP* run-time library to use for linking.
The compatibility OpenMP run-time libraries are compatible with object files created using the Microsoft* OpenMP run-time library (vcomp) or the GNU OpenMP run-time library (libgomp).
To use the compatibility OpenMP run-time library, compile and link your application using the compat setting for option
[q or Q]openmp-lib
. To use this option, you must also specify one of the following compiler options:
  • Linux* systems:
    -qopenmp
    or
    -qopenmp-stubs
  • Windows* systems:
    /Qopenmp
    or