Intel® Fortran Compiler 16.0 User and Reference Guide
Controls whether the compiler links to static or dynamic OpenMP* run-time libraries. Option -qopenmp-link is the replacement option for -openmp-link. Both options are deprecated. There is no replacement option.
Linux and OS X: | -qopenmp-link=library |
Windows: | None |
library |
Specifies the OpenMP library to use. Possible values are:
|
-qopenmp-link=dynamic |
The compiler links to dynamic OpenMP* run-time libraries. However, if Linux* OS option -static is specified, the compiler links to static OpenMP run-time libraries. |
This option controls whether the compiler links to static or dynamic OpenMP* run-time libraries.
To link to the static OpenMP run-time library (RTL) and create a purely static executable, you must specify -qopenmp-link=static. However, we strongly recommend you use the default setting, -qopenmp-link=dynamic.
Compiler options -static-intel and -shared-intel (Linux* OS and OS X*) have no effect on which OpenMP run-time library is linked.
On Linux* systems, -qopenmp-link=dynamic cannot be used in conjunction with option -static. If you try to specify both options together, an error will be displayed.
On Linux systems, the OpenMP runtime library depends on using libpthread and libc (libgcc when compiled with gcc). Libpthread and libc (libgcc) must both be static or both be dynamic. If both libpthread and libc (libgcc) are static, then the static version of the OpenMP runtime should be used. If both libpthread and libc (libgcc) are dynamic, then either the static or dynamic version of the OpenMP runtime may be used.
None