Configuring Intel® Visual Fortran to Link with Intel MKL

Steps for configuring Intel® Visual Fortran for linking with Intel® Math Kernel Library (Intel® MKL) depend on whether you installed the Visual Fortran 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 Intel® Visual Fortran Project with Intel® MKL.

  • If you did not install the integration component or need more control over Intel MKL libraries to link, you can configure your project as follows:

    1. Select Project > Properties > Linker > General > Additional Library Directories. Add architecture-specific directories for Intel MKL and OpenMP* libraries,
      for example: <mkl directory>\lib\ia32_win and <parent directory>\compiler\lib\ia32_win
    2. Select Project > Properties > Linker > Input > Additional Dependencies. Insert names of the required libraries, for example: mkl_intel_c.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib
    3. Select Project > Properties > Debugging > Environment. Add architecture-specific paths to dynamic-link libraries:
      • For OpenMP* support; for example: enter PATH=%PATH%;<parent directory>\redist\ia32_win\compiler
      • For Intel MKL (only if you link dynamically); for example: enter PATH=%PATH%;<parent directory>\redist\ia32_win\mkl

See Also

For more complete information about compiler optimizations, see our Optimization Notice.
Select sticky button color: 
Orange (only for download buttons)