Developer Guide
Developer Guide for Intel® oneAPI Math Kernel Library Linux*
ID
766690
Date
3/31/2023
Public
A newer version of this document is available. Customers should click here to go to the newest version.
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
Using the Single Dynamic Library
You can simplify your link line through the use of the Intel® oneAPI Math Kernel Library Single Dynamic Library (SDL).
To use SDL, place libmkl_rt.so on your link line. For example:
icс application.c -lmkl_rt
SDL enables you to select the interface and threading library for Intel® oneAPI Math Kernel Library at run time. By default, linking with SDL provides:
- Intel LP64 interface on systems based on the Intel® 64 architecture
- Intel interface on systems based on the IA-32 architecture
- Intel threading
To use other interfaces or change threading preferences, including use of the sequential version of Intel® oneAPI Math Kernel Library, you need to specify your choices using functions or environment variables as explained in sectionDynamically Selecting the Interface and Threading Layer.
NOTE:
Intel® oneAPI Math Kernel Library SDL (mkl_rt) does not support DPC++ APIs. If your application requires support of Intel® oneAPI Math Kernel Library DPC++ APIs, refer to Intel® oneAPI Math Kernel Library Link-line Advisor to configure your link command.
Parent topic: Linking Quick Start