Developer Guide
Developer Guide for Intel® oneAPI Math Kernel Library Windows*
ID
766692
Date
6/24/2024
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
Programming with Intel® Math Kernel Library in Integrated Development Environments (IDE)
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
Using the /Qmkl Compiler Option
Using the /Qmkl-ilp64 Compiler Option
Automatically Linking a Project in the Visual Studio* Integrated Development Environment with Intel® oneAPI Math Kernel Library
Using the Single Dynamic Library
Selecting Libraries to Link with
Using the Link-line Advisor
Using the Command-Line Link Tool
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
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
Configuring Intel® Visual Fortran to Link with oneMKL
Steps for configuring Intel® Visual Fortran for linking with Intel® oneAPI Math Kernel Library (oneMKL) depend on whether you installed the Visual Fortran Integration(s) in Microsoft Visual Studio* component of the Intel® Parallel Studio XE Composer Edition:
If you installed the integration component, see Automatically Linking Your Intel® Visual Fortran Project with Intel® MKL.
If you did not install the integration component or need more control over Intel® oneAPI Math Kernel Library (oneMKL) libraries to link, you can configure your project as follows:
- Select Project > Properties > Linker > General > Additional Library Directories. Add architecture-specific directories for Intel® oneAPI Math Kernel Library (oneMKL) and OpenMP* libraries,
for example: <mkl directory>\lib32 and <compiler directory>\lib32 - Select Project > Properties > Linker > Input > Additional Dependencies. Insert names of the required libraries, for example: mkl_intel_c.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib
- Select Project > Properties > Debugging > Environment. Add architecture-specific paths to dynamic-link libraries:
- For OpenMP* support; for example: enter PATH=%PATH%;<compiler directory>\bin32
- For Intel® oneAPI Math Kernel Library (oneMKL) (only if you link dynamically); for example: enter PATH=%PATH%;<mkl directory>\bin32
- Select Project > Properties > Linker > General > Additional Library Directories. Add architecture-specific directories for Intel® oneAPI Math Kernel Library (oneMKL) and OpenMP* libraries,