Visible to Intel only — GUID: GUID-947C30FA-FDF5-478F-98F9-099A2D051945
Visible to Intel only — GUID: GUID-947C30FA-FDF5-478F-98F9-099A2D051945
Configuring Intel® Visual Fortran to Link with Intel MKL
Steps for configuring Intel® Visual Fortran for linking with Intel® oneAPI Math Kernel Library (oneMKL) 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® oneAPI Math Kernel Library (oneMKL) libraries to link, you can configure your project as follows:
- Select Project > Properties > Linker > General > Additional Library Directories. Add architecture-specific directories for Intel® oneAPI Math Kernel Library (oneMKL) and OpenMP* libraries,
for example: <mkl directory>\lib\ia32 and <parent directory>\compiler\lib\ia32 - 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
- Select Project > Properties > Debugging > Environment. Add architecture-specific paths to dynamic-link libraries:
- For OpenMP* support; for example: enter PATH=%PATH%;<compiler directory>\windows\redist\ia32_win\compiler
- For Intel® oneAPI Math Kernel Library (oneMKL) (only if you link dynamically); for example: enter PATH=%PATH%;<mkl directory>\redist\ia32
- Select Project > Properties > Linker > General > Additional Library Directories. Add architecture-specific directories for Intel® oneAPI Math Kernel Library (oneMKL) and OpenMP* libraries,