Visible to Intel only — GUID: GUID-1A237B1C-6524-48F3-AF54-9E3F576F1043
Getting Help and Support
What's New
Notational Conventions
Related Information
Getting Started
Structure of the Intel® oneAPI Math Kernel Library
Linking Your Application with the Intel® oneAPI Math Kernel Library
Managing Performance and Memory
Language-specific Usage Options
Obtaining Numerically Reproducible Results
Coding Tips
Managing Output
Working with the Intel® oneAPI Math Kernel Library Cluster Software
Managing Behavior of the Intel® oneAPI Math Kernel Library with Environment Variables
Configuring Your Integrated Development Environment to Link with Intel® oneAPI Math Kernel Library
Intel® oneAPI Math Kernel Library Benchmarks
Appendix A: Intel® oneAPI Math Kernel Library Language Interfaces Support
Appendix B: Support for Third-Party Interfaces
Appendix C: Directory Structure in Detail
Notices and Disclaimers
OpenMP* Threaded Functions and Problems
Functions Threaded with Intel® Threading Building Blocks
Avoiding Conflicts in the Execution Environment
Techniques to Set the Number of Threads
Setting the Number of Threads Using an OpenMP* Environment Variable
Changing the Number of OpenMP* Threads at Run Time
Using Additional Threading Control
Calling oneMKL Functions from Multi-threaded Applications
Using Intel® Hyper-Threading Technology
Managing Multi-core Performance
Managing Performance with Heterogeneous Cores
Overview of the Intel® Distribution for LINPACK* Benchmark
Contents of the Intel® Distribution for LINPACK* Benchmark
Building the Intel® Distribution for LINPACK* Benchmark for a Customized MPI Implementation
Building the Netlib HPL from Source Code
Configuring Parameters
Ease-of-use Command-line Parameters
Running the Intel® Distribution for LINPACK* Benchmark
Heterogeneous Support in the Intel® Distribution for LINPACK* Benchmark
Environment Variables
Improving Performance of Your Cluster
Visible to Intel only — GUID: GUID-1A237B1C-6524-48F3-AF54-9E3F576F1043
Modulefiles to Set Environment Variables
As an alternative, you can use modulefiles to set the environment on Linux*. When the installation of Intel® oneAPI Math Kernel Library for Linux* is complete, you need to set some environment variables. First, setup modulefiles and directories in <oneapi_root>:
$./modulefiles-setup.sh
$module use modulefiles
Load modulefile:
Architecture | Command |
---|---|
For Intel® oneAPI Math Kernel Library IA-32 architecture | $module load mkl32/<version> |
For Intel® oneAPI Math Kernel Library IA-64 architecture | $module load mkl/<version> |
NOTE:
All existing variables will retain their original values and new values will be prepended to the following variables: LD_LIBRARY_PATH, LIBRARY_PATH, CPATH, PKG_CONFIG_PATH, NLSPATH, TBBROOT . Since MKLROOT should contain only one path, it will be set to the new value and any old value of this variable will be lost.
Unloading the module resets the modified environment variables to their original values and new variables that were created will be undefined. MKLROOT will be undefined on module unload.
Architecture | Command |
---|---|
For Intel® oneAPI Math Kernel Library IA-32 architecture | $module unload mkl32/<version> |
For Intel® oneAPI Math Kernel Library IA-64 architecture | $module unload mkl/<version> |
Parent topic: Setting Environment Variables