Visible to Intel only — GUID: GUID-CECACEC6-8B3A-459C-9F5F-FED0563E69F4
Visible to Intel only — GUID: GUID-CECACEC6-8B3A-459C-9F5F-FED0563E69F4
Configuring the Eclipse* IDE CDT to Link with oneMKL
This section explains how to configure the Eclipse* Integrated Development Environment (IDE) C/C++ Development Tools (CDT) to link with Intel® oneAPI Math Kernel Library (oneMKL).
After configuring your CDT, you can benefit from the Eclipse-provided code assist feature. See Code/Context Assist description in the CDT Help for details.
To configure your Eclipse IDE CDT to link with Intel® oneAPI Math Kernel Library (oneMKL), you need to perform the steps explained below. The specific instructions for performing these steps depend on your version of the CDT and on the tool-chain/compiler integration. Refer to the CDT Help for more details.
To configure your Eclipse IDE CDT, do the following:
Open Project Properties for your project.
Add the Intel® oneAPI Math Kernel Library (oneMKL) include path, that is,<mkl directory>/include, to the project's include paths.
Add the Intel® oneAPI Math Kernel Library (oneMKL) library path for the target architecture to the project's library paths. For example, for the Intel® 64 architecture, add<mkl directory>/lib/intel64_lin.
Specify the names of the Intel® oneAPI Math Kernel Library (oneMKL) libraries to link with your application. For example, you may need the following libraries:mkl_intel_lp64, mkl_intel_thread, mkl_core, and iomp5.
NOTE:Because compilers typically require library names rather than file names, omit the "lib" prefix and "a" or "so" extension.