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
0
votes
2 answers

How can I check that MKL calls are running with the correct number of threads on Xeon Phi?

I am running 60 MPI processes and MKL_THREAD_NUM is set to 4 to get me to the full 240 hardware threads on the Xeon Phi. My code is running but I want to make sure that MKL is actually using 4 threads. What is the best way to check this with the…
ADF
  • 1
  • 2
0
votes
1 answer

cBLAS matrix multiply call not working for 1XN and NxN matrices

I'm attempting to use cblas_dgemm to perform matrix multiplication on a 1 x N and an N x N matrix. My call is as follows: cblas_dgemm(CblasRowMajor, CblasNoTrans, CblasNoTrans, 1, width, width, 1.0, A, width, B, width, 0.0, C,…
James Bilous
  • 167
  • 9
0
votes
1 answer

how to invoke IMKL functions from Eigen

#include #define EIGEN_USE_MKL_ALL #include"mkl.h" #include using Eigen::MatrixXd; int main() { MatrixXd m1,m2,m3; m1<<1,2,3,4; m2<<5,6,7,8; m3=m1*m2.Transpose(); …
shakkeeb M
  • 31
  • 2
0
votes
1 answer

Adaptation of the fast Poisson solver (MKL) to the zero based indexing in Fortran 90

I have this problem where I am trying to solve Poisson equation (which is only one of the three coupled equations in an iterative process) by using the Intel MKL set of subroutines (Fast Poisson Solver Subroutines). Now, it is important that I…
Itzaak
  • 1
  • 1
0
votes
1 answer

Program does not finish when two nodes are used

When I run my program in one computer, with 4 processes, it will terminate almost instantly. When I try to run it in a cluster of two computers (the cluster was checked and was OK), it just won't finish! I had done a run a long time ago in the…
gsamaras
  • 71,951
  • 46
  • 188
  • 305
0
votes
1 answer

Blocks of different sizes in ScaLAPACK?

I am performing a Cholesky factorization with Intel-MKL, which uses ScaLAPACK. I distributed the matrix, based on this example, where the matrix is distributed in blocks, which are of equal size (i.e. Nb x Mb). I tried to make it so that every block…
gsamaras
  • 71,951
  • 46
  • 188
  • 305
0
votes
1 answer

On entry to NIT parameter number 9 had an illegal value

I go this ex1.c file from Intel 11. However, when I execute it, it fails: gsamaras@pythagoras:~/konstantis$ ../mpich-install/bin/mpicc -o test ex1.c -I../intel/mkl/include ../intel/mkl/lib/intel64/libmkl_scalapack_ilp64.a -Wl,--start-group…
gsamaras
  • 71,951
  • 46
  • 188
  • 305
0
votes
1 answer

Can't open mkl_intel_s_dll.lib in 64bit Visual Studio environment

I tried to compile in Visual studio 2013 for some program using mkl. It works fine in 32bit environment. But in 64 bit they say error LNK1181 :Can not open 'mkl_intel_s.lib' error #11018: Cannot open mkl_intel_s_dll.lib error $11018:…
JonghoKim
  • 1,965
  • 7
  • 21
  • 44
0
votes
3 answers

3D FFT with data larger than cache

I have searched for an answer to this question but have not found anything that can directly help me. I am working on a 3D numerical integrator for a non-linear PDE using the parallel FFT library included in MKL. My arrays consist of 2^30 data…
0
votes
1 answer

What happens to compiled python packages if I do not have MKL libraries?

Currently I do not get any fundings for my PhD. As a consequence I can use the free MKL libraries. But that will change soon. I compiled IPOPT and other packages against the MKL libraries. What will haben if I do not have the licence anymore ? Are…
Moritz
  • 5,130
  • 10
  • 40
  • 81
0
votes
1 answer

Array type to be used with MKL

I want to use Intel's Math Kernel Library for some matrix manipulation and multiplication. I have read Intel's tutorials, here is an example of the arrays they use : A = (double *)mkl_malloc(m*p*sizeof(double), 64); Now, I'm new to C++, I have to…
Naucle
  • 626
  • 12
  • 28
0
votes
1 answer

Using the three array BSR format in MKL for rectangular matrix vector products

MKL is the intel math kernel library used for fast linear algebra on CPUs. BSR is the block sparse row format for sparse matrices. I need to compute a matrix vector product of a block sparse matrix using the 3 array BSR representation of a sparse…
Kantoku
  • 11
  • 2
0
votes
1 answer

Low performance for an Embarrassingly parallel code

I have this very simple parallel code that I am using to learn openmp which is embarrassingly parallel. However, I don't get the superlinear or at least linear performance increase expected. #pragma omp parallel num_threads(cores) { int id =…
0
votes
0 answers

Compiling Numpy from Source with Intel MKL/Intel C

I've been trying to compile numpy from source using Intel MKL and the Intel C/C++ compilers. I have a student license which gives me access to these compilers/MKL. It appears that I built numpy but when I run numpy.test('full') I get these…
vwells
  • 1
0
votes
1 answer

Building Numpy with Intel Compilers and MKL - CentOS 7

Currently I am attempting to build Numpy-1.9.1for Intel's MKL using the Intel compilers on CentOS 7. I have Intel Parallel XE Studio 2015 C++ and Fortran for Linux installed, and in my terminal I can use both 'icc' and 'ifort' command, they are…
mgallagher
  • 466
  • 6
  • 14