User and Reference Guide for the Intel® Fortran Compiler 14.0
Tells the linker to search for unresolved references in a multithreaded run-time library.
Linux OS and OS X: | -threads -nothreads |
Windows OS: | /threads /nothreads |
None
Systems using Intel® 64 architecture: threads |
On systems using Intel® 64 architecture, the linker searches for unresolved references in a mutithreaded run-time library. |
Systems using IA-32 architecture: nothreads |
On systems using IA-32 architecture, the linker does not search for unresolved references in a mutithreaded run-time library. |
This option tells the linker to search for unresolved references in a multithreaded run-time library.
This option sets option reentrancy threaded.
Windows systems: The following table shows which options to specify for a multithreaded run-time library.
Type of Library |
Options Required |
Alternate Option |
|---|---|---|
Multithreaded |
/libs:static /threads |
/MT |
Debug multithreaded |
/libs:static /threads /dbglibs |
/MTd |
Multithreaded DLLs |
/libs:dll /threads |
/MD |
|
Multithreaded debug DLLs |
/libs:dll /threads /dbglibs |
/MDd |
To ensure that a threadsafe and/or reentrant run-time library is linked and correctly initialized, option threads should also be used for the link step and for the compilation of the main routine.
None