Configuring the Eclipse* IDE CDT to Link with
oneMKL
oneMKL
This section explains how to configure the Eclipse* Integrated Development Environment (IDE) C/C++ Development Tools (CDT) to link with
.
After configuring your CDT, you can benefit from the Eclipse-provided
feature. See Code/Context Assist description in the CDT Help for details.
code assist
To configure your Eclipse IDE CDT to link with
, 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.
Intel® oneAPI Math Kernel Library
To configure your Eclipse IDE CDT, do the following:
- OpenProject Propertiesfor your project.
- Add theinclude path, that is,Intel® oneAPI Math Kernel Library, to the project's include paths.<mkl directory>/include
- Add thelibrary path for the target architecture to the project's library paths. For example, for the Intel® 64 architecture, addIntel® oneAPI Math Kernel Library<mkl directory>/lib/intel64_lin.
- Specify the names of thelibraries to link with your application. For example, you may need the following libraries:Intel® oneAPI Math Kernel Librarymkl_intel_lp64,mkl_intel_thread,mkl_core, andiomp5.Because compilers typically require library names rather than file names, omit the "lib" prefix and "a" or"so"extension.