Tells the compiler to use the pthread library for multithreading support.
Linux: | -pthread |
Windows: | None |
None
OFF |
The compiler does not use the pthread library for multithreading support. |
Tells the compiler to use pthread library for multithreading support. This option can also be spelled as -pthreads.
Linking in with the pthread library is also set by the following options:
-fiopenmp (for OpenMP)
-qmkl
-debug=parallel
-fortlib
This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation.
None