Linking with Compiler Support RTLs

You are strongly encouraged to dynamically link in the compatibility OpenMP* run-time library libiomp. Link with libiomp dynamically even if other libraries are linked statically.

Linking to static OpenMP* run-time library is not recommended because it is very easy with complex software to link in more than one copy of the library. This causes performance problems (too many threads) and may cause correctness problems if more than one copy is initialized.

If you link with dynamic version of libiomp, make sure theLD_LIBRARY_PATH environment variable is defined correctly.

See Also


Submit feedback on this help topic