Setting Environment Variables
When the installation of Intel IPP is complete, set the environment variables in the command shell using one of the script files in the
env
subdirectory of the Intel IPP installation directory:
On Windows* OS:
- vars.bat
- for the IA-32 and Intel® 64 architectures.
On Linux* OS
and macOS*
:
- vars.sh
- Linux* OS: for the IA-32 and Intel® 64 architectures.
- macOS*: for the Intel® 64 architectures.
When using the
vars
script, you need to specify the architecture as a parameter. For example:
- vars.bat ia32sets the environment for Intel IPP to use the IA-32 architecture on Windows* OS.
- . vars.sh intel64sets the environment for Intel IPP to use the Intel® 64 architecture on Linux* OS.
The scripts set the following environment variables:
Windows* OS
| Linux* OS
| Purpose
|
---|---|---|
IPPROOT | IPPROOT | Point to the Intel IPP installation directory
|
LIB | n/a
| Add the search path for the Intel IPP single-threaded libraries
|
PATH | LD_LIBRARY_PATH | Add the search path for the Intel IPP single-threaded DLLs
|
INCLUDE | n/a
| Add the search path for the Intel IPP header files
|