Intel® Math Kernel Library 2018 Update 2 Developer Guide

Setting Environment Variables

When the installation of Intel MKL for Windows* is complete, set the PATH, LIB, and INCLUDE environment variables in the command shell using the mklvars.bat script in the bin subdirectory of the Intel MKL installation directory.

The script accepts the parameters, explained in the following table:

Setting Specified

Required
(Yes/No)

Possible Values

Comment

Architecture

Yes,
when applicable

ia32

intel64

 

Use of Intel MKL Fortran modules precompiled with the Intel® Visual Fortran compiler

No

mod

Supply this parameter only if you are using this compiler.

Programming interface (LP64 or ILP64)

No

lp64, default

ilp64

 

For example:

Note

Supply the parameter specifying the architecture first, if it is needed. Values of the other two parameters can be listed in any order.

See Also