Visible to Intel only — GUID: GUID-DE5DB2CF-A03A-450E-B496-E2EE2334EFC1
Visible to Intel only — GUID: GUID-DE5DB2CF-A03A-450E-B496-E2EE2334EFC1
Configuring the Apple Xcode* Developer Software to Link with Intel® Math Kernel Library
This section provides information on configuring the Apple Xcode* developer software for linking with Intel® oneAPI Math Kernel Library.
To configure your Xcode developer software to link with Intel® oneAPI Math Kernel Library, you need to perform the steps explained below. The specific instructions for performing these steps depend on your version of the Xcode developer software. Please refer to the Xcode Help for more details.
To configure your Xcode developer software, do the following:
Open your project that uses Intel® oneAPI Math Kernel Library and select the target you are going to build.
Add the Intel® oneAPI Math Kernel Library include path, that is,<mkl directory>/include, to the header search paths.
Add the Intel® oneAPI Math Kernel Library library path for the target architecture to the library search paths. For example, for the Intel® 64 architecture, add<mkl directory>/lib/intel64.
Specify the linker options for the Intel® oneAPI Math Kernel Library and system libraries to link with your application. For example, you may need to specify:-lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lpthread -lm.
(Optional, needed only for dynamic linking) For the active executable, add the environment variable DYLD_LIBRARY_PATH with the value of <mkl directory>/lib.