Developer Guide

Developer Guide for Intel® oneAPI Math Kernel Library Linux*

ID 766690
Date 6/24/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

     
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