--- title: ' Intel Math Kernel Library' taxonomy: category: - docs external_links: process: true no_follow: true target: _blank mode: active --- [toc] ## What Is MKL?{#summary} The MKL library provides linear algebra routines, fast Fourier transforms, vector mass library functions and random number generation functions for developers of engineering, scientific and financial software. All these routines and functions are optimised for Intel processors. Other x86 processors are also supported and work without problems. ## Environment Settings{#enviroment} ### Software Version and System Requirements {#version} Version | Module file name | SystemA | System B/C | System G | Cloud System | Notes --- | --- | --- | --- | --- | --- | --- 2024.0 | intel/2024.0 | + | +| - | + | Introduced in April 2024 2023.2 (default) | intel/2023.2 | + | +| - | + | Introduced in April 2024 2023.1 | intel/2023.1 | + | + | - | + | Introduced in August 2023. 2022.3 | intel/2022.3 | + | + | - | + | Introduced in November 2022. \+ : Available \- : Not available **Just load the module file of [Intel compiler](/compilers/intel) and MKL will also be loaded.** You do not need to load modules specifically for MKL. If you want to use the MKL library, you need to use the Intel compiler. Please refer to [Intel compilers](/compilers/intel#modules) for the setups. <!-- 以下のようにmoduleコマンドを実行し、利用したいバージョンのmoduleファイルをロードします。moduleファイル中のスラッシュとバージョンを省略した場合は、上表に記載のデフォルトのバージョンが設定されます。 ```nohighlight $ module load mkl ``` MKLライブラリのバージョンを切り替えたい場合は、以下のようにmoduleコマンドを実行してください。 ```nohighlight $ module switch mkl/10.3.9 mkl/11.0.0 ``` --> Please refer to [Modules](/config/modules) for details on the module command. ## How to Use{#usage} The -qmkl option is granted at compile time. ```nohighlight $ icc sample.c -qmkl # Example of C language $ icpc sample.cpp -qmkl # Example of C++ $ ifort sample.f90 -qmkl  # Example of Fortran ``` ## Manual{#manual} * [Developer Reference for Intel oneAPI Math Kernel Library - C](https://www.intel.com/content/www/us/en/develop/documentation/onemkl-developer-reference-c/top.html) * [Developer Reference for Intel oneAPI Math Kernel Library - Fortran](https://www.intel.com/content/www/us/en/develop/documentation/onemkl-developer-reference-fortran/top.html) * [Developer Guide for Intel oneAPI Math Kernel Library for Linux*](https://www.intel.com/content/www/us/en/develop/documentation/onemkl-linux-developer-guide/top.html) ## Advisor{#advisor} * [Link Line Advisor](https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-link-line-advisor.html) ## Link{#link} * [Intel oneAPI Math Kernel Library](https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl.html)