Setting Environment Variables
Setting Environment Variables
When the installation of
for
Intel® oneAPI Math Kernel Library
Windows*
is complete, set environment variables using
oneAPI setvars.sh. The script will source the
INCLUDE
,
MKLROOT
,
LD_LIBRARY_PATH
,
LIBRARY_PATH
,
CPATH
,
NLSPATH
, and
PKG_CONFIG_PATH
.
The script accept
s
the oneMKL-specific parameters, explained in the following table:
Setting Specified
| Required(Yes/No)
| Possible Values
| Comment
|
---|---|---|---|
Architecture
| Yes,
when applicable
| intel64 | |
Use of
Intel® oneAPI Math Kernel Library 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:
- The commandsets the environment forsetvarsia32to use the Intel 32 architecture.Intel® oneAPI Math Kernel Library
- The commandsets the environment forsetvarsintel64 mod ilp64to use the Intel 64 architecture, ILP64 programming interface, and Fotran modules.Intel® oneAPI Math Kernel Library
- The commandsets the environment forsetvarsintel64 modto use the Intel 64 architecture, LP64 interface, and Fotran modules.Intel® oneAPI Math Kernel Library
Supply the parameter specifying the architecture first, if it is needed. Values of the other two parameters can be listed in any order.