Setting Environment Variables

When the installation of Intel® oneAPI Math Kernel Library (oneMKL) for Windows* is complete, you can use the setvars.bat script in the installation directory to set environment variables MKLROOT, INCLUDE, LIB, PATH, CMAKE_PREFIX_PATH, and PKG_CONFIG_PATH for oneMKL.

The script accepts the oneMKL-specific parameters, explained in the following table:

Setting Specified

Required
(Yes/No)

Possible Values

Comment

Use of Intel® oneAPI Math Kernel Library (oneMKL) Fortran modules precompiled with the Intel® Fortran compiler

No

mod

Supply this parameter only if you are using this compiler.

Use of the precompiled oneMKL Fortran modules for the LP64/ILP64 interface

No

lp64, default

ilp64

This parameter has effects only when the parameter mod is also supplied.

For example:

See Also