How to install Intel MKL

Intel Math Kernel Library (MKL) provides math routines optimized for Intel CPUs. It is available free for personal and community use.

  • Register and download MKL from here. I prefer to choose the full package.
  • For Linux, the downloaded file is a zipped tar file. For example: l_mkl_2019.3.199.tgz. Unzip its contents.
  • Run its installer script:
$ sudo ./install.sh

The installer takes you through a console install wizard. By default, it will install to /opt/intel. By default, it will install MKL libraries for C/C++ and Fortran. I typically request not to install the Fortran libraries which reduces the install size by half.

Tried with: Ubuntu 18.04

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.