Visible to Intel only — GUID: GUID-7B9B435B-BA9B-4436-B46E-C92A30C0A3D0
Visible to Intel only — GUID: GUID-7B9B435B-BA9B-4436-B46E-C92A30C0A3D0
Setting Environment Variables
When the installation of Intel® Cryptography Primitives Library is complete, set the environment variables in the command shell using one of the script files in the appropriate directory of the Unified Directory Layout or the Component Directory Layout. To learn more about these directory layouts, see Finding Intel® Cryptography Primitives Library on Your System.
Unified Directory Layout
On Windows* OS:
C:/Program files (x86)/Intel/oneAPI/<toolkit-version>/oneapi-vars.bat (on certain systems, instead of Program Files (x86), the directory name is Program Files)
On Linux* OS:
admin: /opt/intel/oneapi/<toolkit-version>/oneapi-vars.sh
user: ~/intel/oneapi/<toolkit-version>/oneapi-vars.sh
Component Directory Layout Use the vars files located in the bin subdirectory of the Intel® Cryptography Primitives Library installation directory:
On Windows* OS:
vars.bat |
for the Intel® 64 architecture. |
On Linux* OS:
Shell |
Script File |
---|---|
C |
vars.csh |
Bash |
vars.sh |
When using the vars script, you need to specify the architecture as a parameter. For example:
vars.bat intel64
sets the environment for Intel® Cryptography Primitives Library to use the Intel® 64 architecture on Windows* OS.
. vars.sh intel64
sets the environment for Intel® Cryptography Primitives Library to use the Intel® 64 architecture on Linux* OS.
The scripts set the following environment variables:
Windows* OS |
Linux* OS |
Purpose |
---|---|---|
IPPCRYPTOROOT |
IPPCRYPTOROOT |
Point to the Intel® Cryptography Primitives Library installation directory |
LIB |
n/a |
Add the search path for the Intel® Cryptography Primitives Library single-threaded libraries |
PATH |
LD_LIBRARY_PATH |
Add the search path for the Intel® Cryptography Primitives Library single-threaded DLLs |
INCLUDE |
n/a |
Add the search path for the Intel® Cryptography Primitives Library header files |