Using Multi-thread and Single-thread Libraries

Multi-thread Libraries, -mt

You can choose to compile and link your programs with shared libraries instead of with libF90.a and libIEPCF90.a. Use the -mt option to compile and link with the static, multi-thread runtime library files, libc.so, supplied by Linux , and with the multi-thread libraries libF90.so, libIEPCF90.so, libm.so (or, if -fdiv_check is specified in addition to -mt: libmck.so) supplied with the Intel® Fortran Compiler.

The -mt option is also used to instruct the compiler to compile and link with thread-safe Fortran libraries. The shared versions of the Fortran libraries are also thread-safe. Use of the -openmp option implies the use of -mt.

Single-thread Libraries, -ml

Use the -ml option to compile and link with the static, single-thread Fortran runtime libraries libc.a supplied by default and with the single-thread libraries libIEPCF90.a, libF90.a, libintrins.a, and libm.a.

 Note
You must ensure that the path to the libraries you are using, is set in the LD_LIBRARY_PATH environment variable.

The -ml option is also used to instruct the compiler to compile and link with non-thread-safe Fortran libraries.