Developer Guide

Developer Guide for Intel® oneAPI Math Kernel Library Linux*

ID 766690
Date 3/22/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Dynamic Libraries in the lib32 Directory

Some of the libraries in this directory are optional. However, some optional libraries are installed by default, while the rest are not. To get those libraries that are not installed by default, explicitly select the specified optional component during installation.

File

Contents

Optional Component

Name

Installed by Default

libmkl_rt.so

Single Dynamic Library for C/Fortran functionality.

Instead of multiple libraries, the user can link to one mkl_rt library and select interface and threading via function or environment variable.

   

Interface Layer

     

libmkl_intel.so

Interface library for the Intel compilers. Also used for other supported compilers that do not have a specialized Intel® oneAPI Math Kernel Library (oneMKL) interface library.

All oneMKL function domains are presented in this library.

   

libmkl_gf.so

Interface library for the GNU Fortran compiler.

All oneMKL function domains are presented in this library.

GNU* Compiler Collection support

Yes

Threading Layer

     

libmkl_intel_thread.so

OpenMP threading library for the Intel compilers.

All oneMKL function domains support Intel OpenMP threading.

   

libmkl_tbb_thread.so

Intel TBB threading library for the Intel compilers.

All oneMKL function domains support Intel TBB threading.

Intel TBB threading support

Yes

libmkl_gnu_thread.so

OpenMP threading library for the GNU Fortran and C compilers.

All oneMKL function domains support GNU OpenMP threading.

GNU* Compiler Collection support

Yes

libmkl_sequential.so

Sequential library.

All oneMKL function domains support sequential mode.

   

Computational Layer

     

libmkl_core.so

All non–architecture-specific implementation and library dispatcher for dynamic load of architecture-specific kernels.

Read more about how to work with mkl_enable_instructions and mkl_cbwr_set in the developer reference.

mkl_core is required for any link configurations. You don't need to link kernel-specific libraries; just link mkl_core.

   

libmkl_p4.so

Pentium® 4 processor kernel library.

All oneMKL function domains except VM/VS/DF are presented in this library.

   

libmkl_p4m3.so

Kernel library for Intel® Streaming SIMD Extensions 4.2 (Intel® SSE4.2) enabled processors.

All oneMKL function domains except VM/VS/DF are presented in this library.

   

libmkl_avx2.so

Kernel library for Intel® Advanced Vector Extensions 2 (Intel® AVX2) enabled processors.

All oneMKL function domains except VM/VS/DF are presented in this library.

   

libmkl_avx512.so

Kernel library for Intel® Advanced Vector Extensions 512 (Intel® AVX-512) enabled processors.

All oneMKL function domains except VM/VS/DF are presented in this library.

   

libmkl_vml_p4.so

Vector Mathematics (VM)/Vector Statistics (VS)/Data Fitting (DF) part of Pentium® 4 processor kernel.    

libmkl_vml_p4m3.so

VM/VS/DF for Intel® SSE4.2 enabled processors

   

libmkl_vml_avx2.so

VM/VS/DF optimized for Intel® AVX2 enabled processors

   

libmkl_vml_avx512.so

VM/VS/DF optimized for Intel® AVX-512 enabled processors

   

libmkl_vml_ia.so

VM/VS/DF default kernel for newer Intel® architecture processors

   

libmkl_vml_cmpt.so

VM/VS/DF library for conditional numerical reproducibility

   
NOTE:

In case any functionality from a specific library is needed, this library should be added to the link line. For example, if you want to use oneMKL with the GCC compiler + GNU OpenMP threading, the link line should contain:

  1. mkl_intel for the interface layer
  2. mkl_gnu_thread for GNU OpenMP threading
  3. mkl_core for all other oneMKL functionality

Details about what should be linked in different cases can be found in the oneMKL Link Line Advisor.

Product and Performance Information

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.

Notice revision #20201201