Questions tagged [intel-mkl]

Intel MKL (Math Kernel Library) is a high performance math library specifically optimised for Intel processors. Its core functions include BLAS and LAPACK linear algebra routines, fast Fourier transforms and vector math functions amongst others.

Intel MKL (Math Kernel Library) is a high performance math library specifically optimised for Intel processors and explicitly parallelised with a version specifically available for High End Supercomputer clusters. Its core functions include BLAS and LAPACK linear algebra routines, fast Fourier transforms and vector math functions amongst others.

Intel MKL only supports Intel and compatible processors and is available for Windows, Linux and OS X as part of Intel® Parallel Studio and Intel® System Studio. There are free versions available for Students and Academic researchers at qualifying institutions.

The Intel® Math Kernel Library includes the following groups of routines:

  • Basic Linear Algebra Subprograms (BLAS):
    • vector operations
    • matrix-vector operations
    • matrix-matrix operations
  • Sparse BLAS Level 1, 2, and 3 (basic operations on sparse vectors and matrices)
  • LAPACK routines for solving systems of linear equations
  • LAPACK routines for solving least squares problems, eigenvalue and singular value problems, and Sylvester's equations
  • Auxiliary, utility, and test LAPACK routines
  • ScaLAPACK computational, driver and auxiliary routines (only in Intel MKL for Linux* and Windows* operating systems)
  • PBLAS routines for distributed vector, matrix-vector, and matrix-matrix operation
  • Direct and Iterative Sparse Solver routines, including a solver based on the PARDISO* sparse solver and the Intel MKL Parallel Direct Sparse Solver for Clusters
  • Direct Sparse Solver (DSS)
  • Extended Eigensolver routines for solving symmetric standard or generalized symmetric definite eigenvalue problems using the Feast algorithm
  • Vector Mathematical Library (VML) functions for computing core mathematical functions on vector arguments (with Fortran and C interfaces)
  • Vector Statistical Library (VSL) functions for generating vectors of pseudorandom numbers with different types of statistical distributions and for performing convolution and correlation computations
  • General Fast Fourier Transform (FFT) Functions, providing fast computation of Discrete Fourier Transform via the FFT algorithms and having Fortran and C interfaces
  • Cluster FFT functions (only in Intel MKL for Linux* and Windows* operating systems)
  • Tools for solving partial differential equations - trigonometric transform routines and Poisson solver
  • Optimization Solver routines for solving nonlinear least squares problems through the Trust-Region (TR) algorithms and computing Jacobi matrix by central differences
  • Basic Linear Algebra Communication Subprograms (BLACS) that are used to support a linear algebra oriented message passing interface
  • Data Fitting functions for spline-based approximation of functions, derivatives and integrals of functions, and search
798 questions
5
votes
1 answer

Makefiile with many flags

I am trying to learn how a Makefile should look like, when it comes to the flags, especially the linking ones. Here is my Makefile: OBJS = n.o SOURCE = n.cpp # HEADER = there are no header files, so I commented that OUT = test CXX …
gsamaras
  • 71,951
  • 46
  • 188
  • 305
5
votes
2 answers

Numpy / Polyfit - Suppress printing of Intel MKL Error message

I'm computing a polyfit multiple times during a program, and some of my inputs are np.nan and are going to get the algorithm problems. I know this, and in this application I don't care. When things mess up, this is printed to the console: Intel MKL…
schodge
  • 891
  • 2
  • 16
  • 29
5
votes
2 answers

Calling multithreaded MKL in from openmp parallel region

I have a code with following structure #pragma omp parallel { #omp for nowait { // first for loop } #omp for nowait { // first for loop } #pragma barrier <-- #pragma omp single/critical/atomic -->…
arbitUser1401
  • 575
  • 2
  • 8
  • 25
5
votes
1 answer

Where to locate the Intel MKL in Matlab

I have a MATLAB subscription and I have read that MATLAB uses Intel MKL libraries but I am not sure where to locate all the DLLs / files corresponding to the Intel MKL libraries. I could find any mention of their location in the…
uday
  • 6,453
  • 13
  • 56
  • 94
5
votes
4 answers

Compile r with mkl (With mulithreads support)

I compiled R by regarding these guides: http://www.r-bloggers.com/compiling-64-bit-r-2-10-1-with-mkl-in-linux/ http://cran.r-project.org/doc/manuals/R-admin.html#MKL But for matrix algebra R does not use all available CPUs. I tried…
user1436187
  • 3,252
  • 3
  • 26
  • 59
5
votes
3 answers

Threaded FFT in Enthought Python

Fast Fourier Transforms (FFTs) in Numpy/SciPy are not threaded. Enthought Python is shipped with the Intel MKL numerical library, which is capable of threaded FFTs. How does one get access to these routines?
bdforbes
  • 1,486
  • 1
  • 13
  • 31
4
votes
1 answer

Intel MKL multi-threaded matrix-vector multiplication sgemv() slow after little breaks

I need to run a multi-threaded matrix-vector multiplication every 500 microseconds. The matrix is the same, the vector changes every time. I use Intels sgemv() in the MKL on a 64-core AMD CPU. If I compute the multiplications in a for-loop with no…
northwindow
  • 178
  • 8
4
votes
0 answers

How to use mkl FFT to compute the convolution of a real image

I'm trying to compute the convolution of two images using the FFT implementation in mkl API. The steps are: Calculate the FFT of the two images Multiply the spectra Calculate the inverse FFT, that is the convolution matrix. I succeeded converting…
4
votes
2 answers

C/C++ library for lazy evaluation of SIMD/SSE expressions

Libraries such as intel-MKL or amd-ACML provide easier interface to SIMD operations on vectors, but I want to chain several functions together. Are there readily available libraries where I can register a parse tree for an expression like log(…
san
  • 4,144
  • 6
  • 32
  • 50
4
votes
3 answers

Optimized Matrix Rotation - arbitrary angle about center of matrix

I'm trying to optimize the rotation of very large images, smallest is 4096x4096 or ~16 million pixels. Rotation is always about the center of image, and images are not necessarily always square but will always be a power of 2. I have access to…
Keck
  • 93
  • 2
  • 8
4
votes
1 answer

BLAS setup in R on macOS

I am quite new to BLAS and Lapack setup. Executing sessioninfo() always returns Matrix products: default LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib I was wondering how BLAS can be called? Because I see many…
tobinz
  • 117
  • 1
  • 9
4
votes
3 answers

$MKLROOT not defined (Ubuntu)

Environment : Linux, Ubuntu 16.04 I tried to download MKL Library from intel website (https://software.intel.com/content/www/us/en/develop/tools/math-kernel-library.html), and try to link mkl to my program. (I just downloaded l_mkl_2020.1.217.tar…
Donguk Jung
  • 41
  • 1
  • 3
4
votes
2 answers

Pinning down a discrepancy in ddot between two machines

I currently have two machines which produce different outputs for an instance of np.dot on two vectors. Without digging through the many layers of abstraction leading from NumPy to BLAS, I was able to reproduce the discrepancy in…
fuglede
  • 17,388
  • 2
  • 54
  • 99
4
votes
2 answers

Building Kaldi on a Mac running macOS Catalina

I’m using a Mac Pro running macOS Catalina (v10.15.1). Has anyone managed to build Kaldi with this version of the OS? Specifically, one of Kaldi's dependencies is the Intel Math Kernel Library (MKL or some other suitable matrix algebra library).…
Mark
  • 43
  • 2
4
votes
2 answers

Intel MKL Error preventing me importing Scipy in Python

I am attempting to use scipy.integrate.solve_ivp, but the problem occurs with any import statement requiring scipy, including something as simple as: import scipy When I run this, I receive the following error: INTEL MKL ERROR: …
William Bell
  • 167
  • 2
  • 9