Developer Guide

Developer Guide for Intel® oneAPI Math Kernel Library Linux*

ID 766690
Date 11/07/2023
Public

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

Document Table of Contents

Linking with Computational Libraries

If you are not using the Intel® oneAPI Math Kernel Library (oneMKL) ScaLAPACK and Cluster Fast Fourier Transforms (FFT), you need to link your application with only one computational library, depending on the linking method:

Static Linking

Dynamic Linking

libmkl_core.a

libmkl_core.so

Computational Libraries for Applications that Use ScaLAPACK or Cluster FFT

ScaLAPACK and Cluster FFT require more computational libraries, which may depend on your architecture.

The following table lists computational libraries for IA -32 architecture applications that use ScaLAPACK or Cluster FFT.

Computational Libraries for IA-32 Architecture

Function domain

Static Linking

Dynamic Linking

ScaLAPACK

libmkl_scalapack_core.a

libmkl_core.a

libmkl_scalapack_core.so

libmkl_core.so

Cluster Fourier Transform Functions

libmkl_cdft_core.a

libmkl_core.a

libmkl_cdft_core.so

libmkl_core.so

Also add the library with BLACS routines corresponding to the MPI used.

The following table lists computational libraries for Intel® 64 or Intel® Many Integrated Core Architecture applications that use ScaLAPACK or Cluster FFT.

Computational Libraries for the Intel® 64 or Intel® Many Integrated Core Architecture

Function domain

Static Linking

Dynamic Linking

ScaLAPACK, LP64 interface

libmkl_scalapack_lp64.a

libmkl_core.a

libmkl_scalapack_lp64.so

libmkl_core.so

ScaLAPACK, ILP64 interface

libmkl_scalapack_ilp64.a

libmkl_core.a

libmkl_scalapack_ilp64.so

libmkl_core.so

Cluster Fourier Transform Functions

libmkl_cdft_core.a

libmkl_core.a

libmkl_cdft_core.so

libmkl_core.so

Also add the library with BLACS routines corresponding to the MPI used.