Integrating a Microsoft Visual Studio* IDE Project with Intel® MKL

Submit New Article

Last Modified On :   December 2, 2008 1:08 AM PST
Rate
 


Starting with version 10.1, Intel® MKL provides integration of Microsoft Visual Studio* IDE projects with the library. The integration supports Microsoft Visual Studio* IDE versions 2005 or higher. To enable this feature, select the Microsoft Visual Studio* environment integration add-in component during Intel® MKL installation. The component is selected during the default installation.
The integration enables you to automatically configure a C++ project in Microsoft Visual Studio* IDE with Intel® MKL.

To integrate your C++ project with Intel® MKL,

  1. Open Solution Explorer
  2. Select <project name> > MKL Integration > MKL <version> Integration (as shown below).

 

The message reports of the integration completion.

MKL-Integration.bmp

The integration adds to the project properties the Intel® MKL libraries and paths needed for programming in Microsoft Visual Studio* on your system. In particular:

  • <project name> > Properties > Configuration Properties > C++ > General Additional Include Directories property is appended with <mkl directory>\include
  • The <project name> > Properties > Configuration Properties > Linker >General > Additional Library Directories property is appended with a path to Intel® MKL libraries, for example, <mkl directory>\ia32\lib for IA-32 architecture.
  • The <project name> > Properties > Configuration Properties > Linker >Input> Additional Dependencies property is appended with a set of Intel MKL link libraries required for your architecture, for example, mkl_intel_c.lib mkl_intel_thread.lib mkl_core.lib libiomp5mt.lib for IA-32 architecture.
  • The <project name> > Properties > Configuration Properties > Debugging > Environment property contains the PATH environment variable appended with the path to the bin directory depending on your architect

 

To cancel the project integration with Intel® MKL, Select <project name> > MKL Integration > Cancel MKL Integration.

A message reports of cancelling the integration, and the project configuration settings are reverted.

 





This article applies to: Intel® Math Kernel Library Knowledge Base