The following provides instructions for compiling and linking your program with Intel® MKL v.10.x using Microsoft* Visual Studio* 2008 or Microsoft* Visual Studio* 2005:
- Select View » Solution Explorer (and make sure this window is active).
- Select Tools » Options » Projects and Solutions » VC++ Directories.
- In the drop down menu titled Show directories for:, select Include Files, and then type in the directory for the Intel MKL include files (e.g. default: C:\Program Files\Intel\MKL\10.x\include).
- In the drop down menu titled Show directories for: select Library Files, and then type in the directory for the Intel MKL library files (e.g. default: C:\Program Files\Intel\MKL\10.x\ia32\lib).
- In the drop down menu titled Show directories for: select Executable Files, and then type in the directory for the Intel MKL executable files (e.g. default: C:\Program Files\Intel\MKL\10.x\ia32\bin).
- On the main toolbar select Project » Properties » Configuration Properties » Linker » Input and in the "Additional Dependencies" line, add the libraries needed by your application. For example, for dynamic linking of user code containing LAPACK or BLAS functions link tomkl_intel_c_dll.lib mkl_intel_thread_dll.lib mkl_core_dll.lib libiomp5md.lib). Please refer to the Intel MKL User's Guide, Chapter 5 for more information.
对于MKL 11.1,默认目录为C:\Program Files\Intel\Composer XE\mkl,并且还需要把dll文件(目录为C:\Program Files\Intel\Composer XE 2013 SP1\redist\ia32\mkl)拷贝至项目中