Developer Guide
Developer Guide for Intel® oneAPI Math Kernel Library macOS*
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-01E66248-FBD1-49E9-8EFF-40AE61A81C57
Visible to Intel only — GUID: GUID-01E66248-FBD1-49E9-8EFF-40AE61A81C57
Linking with Compiler Run-time Libraries
Dynamically link libiomp5 or libtbb library even if you link other libraries statically.
Linking to the libiomp5 statically can be problematic because the more complex your operating environment or application, the more likely redundant copies of the library are included. This may result in performance issues (oversubscription of threads) and even incorrect results.
To link libiomp5 or libtbb dynamically, be sure the DYLD_LIBRARY_PATH environment variable is defined correctly.