Configuring Intel® Visual Fortran to Link with Intel MKL
Steps for configuring Intel® Visual Fortran for linking with
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 overlibraries to link, you can configure your project as follows:Intel® oneAPI Math Kernel Library
- SelectProject>Properties>Linker>General>Additional Library Directories. Add architecture-specific directories forand OpenMP* libraries,for example:Intel® oneAPI Math Kernel Libraryand<mkl directory>\lib\ia32<parent directory>\compiler\lib\ia32
- SelectProject>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
- SelectProject>Properties>Debugging>Environment. Add architecture-specific paths to dynamic-link libraries:
- For OpenMP* support; for example: enterPATH=%PATH%;<compiler directory>\windows\redist\ia32_win\compiler
- For(only if you link dynamically); for example: enterIntel® oneAPI Math Kernel LibraryPATH=%PATH%;<mkl directory>\redist\ia32