Configuring the Microsoft Visual C/C++* Development System to Link with Intel® MKL
Steps for configuring Microsoft Visual C/C++* development system for linking with
depend on whether you installed the C++ Integration(s) in Microsoft Visual Studio* component of the Intel® Parallel Studio XE Composer Edition:
- If you installed the integration component, see Automatically Linking Your Microsoft Visual C/C++* Project with Intel® MKL.
- If you did not install the integration component or need more control overlibraries to link, you can configure the Microsoft Visual C++* development system by performing the following steps. Though some versions of the Visual C++* development system may vary slightly in the menu items mentioned below, the fundamental configuring steps are applicable to all these versions.Intel® oneAPI Math Kernel Library
- In Solution Explorer, right-click your project and clickProperties
- SelectConfiguration Properties>VC++ Directories
- SelectInclude Directories. Add the directory for theinclude files, that is,Intel® oneAPI Math Kernel Library<mkl directory>\include
- SelectLibrary Directories. Add architecture-specific directories forand OpenMP* libraries, for example:Intel® oneAPI Math Kernel Libraryand<mkl directory>\lib\ia32<compiler directory>\windows\compiler\lib\ia32_win
- SelectExecutable Directories. Add architecture-specific directories with dynamic-link libraries:
- For OpenMP* support, for example:<compiler directory>\windows\redist\ia32_win\compiler
- For(only if you link dynamically), for example:Intel® oneAPI Math Kernel Library<mkl directory>\redist\ia32
- SelectConfiguration Properties>Custom Build Setup>Additional Dependencies. Add the libraries required, for example,mkl_intel_c.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib