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 lib 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.

   

SYCL API Layer

     

libmkl_sycl.so

Umbrella library (linker script) to link with all domain-specific SYCL libraries.

Required if SYCL-specific functionality is needed.

   

libmkl_sycl_blas.so

BLAS SYCL library for SYCL compilers

   

libmkl_sycl_lapack.so

LAPACK SYCL library for SYCL compilers

   
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 + ILP64 interface + GNU OpenMP threading, the link line should contain:

  1. mkl_intel_ilp64 for ILP64 interface
  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