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
1 answer

Wrong DCT with MKL DCT function

I am giving 8x8 input to my MKL based Discrete Cosine Transform (DCT) code : "fileinput.txt" INPUT: 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 …
0
votes
1 answer

mkl library DCT function implementation issue

I am trying to replace ipp.lib DCT function by using mkl.lib DCT function . I used following Ipp based API to do DCT: ippsDCTFwdInitAlloc_32f ippsDCTFwd_32f ippsDCTFwdFree_32f PFB my mkl based DCT sample code : #include #include…
0
votes
2 answers

MKL init when static linking MKL

I know that when you statically link against IPP one should call ippInit() before using any IPP's function. Do you have to do the same when linking statically against MKL ? If so what is the function name to init MKL ?
JobNick
  • 473
  • 1
  • 6
  • 18
0
votes
0 answers

Segmentation fault when using MKL CBLAS

I will use cblas in a C++ project, so I am trying to learn it. I wrote a simple code, but it is giving segmentation fault. My code is #include #include #include #include #include #include…
Dundun
  • 1
0
votes
0 answers

Performance comparision of Intel VML with Conventional Approach( Fortran )

As I want to implement Intel VML Functions from Intel MKL Library in a existing Software with more than 200 subroutines, I had performed a timing comparison test. The subroutines are written in Fortran90 and normally operate with arrays of size…
0
votes
0 answers

IOError: [Errno 13] Permission denied (even with administrator rights)

I am trying to run the following script using administrator rights (after creating a .bat file and run it as administrator): http://enthought-dev.117412.n3.nabble.com/attachment/2871546/0/rename_mkl.py After I run the script I get the following…
Gamba Osaca
  • 307
  • 1
  • 4
  • 17
0
votes
2 answers

Compiling R 3.1.1 using Intel MKL: --enable-R-shlib triggers undefined reference to symbol error

Problem I need to compile R 3.1.1 with shared library (--enable-R-shlib) with ICC/MKL (Composer XE 2013 SP 1.3.174) in order to use a specific IDE (rstudio) and I am running into trouble. Context Some information about my platform: OS: Ubuntu…
dd_rlwll
  • 313
  • 5
  • 19
0
votes
0 answers

MKL sparse matrix addition fails on last entry

I'm trying to use the MKL routine mkl_dcsradd to add an upper-triangular matrix to its transpose. In this case, the upper triangular matrix stores part of the adjacency matrix of a graph, and I need the full version for implementing another…
Alex Reinking
  • 16,724
  • 5
  • 52
  • 86
0
votes
1 answer

OpenMP vs trigonmetric transforms MKL

subroutine born_par(iconj) !.false.=0, .true.=1 use maxwell use fourierin implicit none real*8:: zkx,zky,zkz,zsx,zsy,zsz,zwx,zwy,zwz,ztim,second complex*16:: z,zak,zakx,zaky,zakz,zb,zg integer, intent(in):: iconj integer ::…
user2135313
0
votes
1 answer

MKL dtrsv wrong output

I am trying to properly use 'cblas_dtrsv' however I do not get right output and I do not know why. Here is my example(dtrsv_example.c) #include #include #include "mkl.h" int main() { double *A, *b, *x; int m, n, k, i, j; …
Manolete
  • 3,431
  • 7
  • 54
  • 92
0
votes
1 answer

Undefined reference to cblas_ddot when using mkl library

I am implementing dot product using cblas_ddot of mkl library. Command - icc -mmic -o out dot_product.c -lm error : undefined reference to 'cblas_ddot' I have included header files of mkl.h and mkl_cblas.h in source code Please suggest a solution
user3509540
  • 41
  • 1
  • 7
0
votes
0 answers

ifort / mkl linking: ld does find directories

I am compiling a software package that uses ifort several MKL libraries. The part of the Makefile that mostly do the linking: # Library options in general MKL_LIBDIR = /opt/intel/mkl/lib/intel64 LIBOPT = -L$(MKL_LIBDIR) # How to link specific…
Greg
  • 101
  • 2
0
votes
1 answer

How to set the directories for the header libraries, libraries , linker etc for intel math kernel version 10.1

I have this older version and trying to use it with Visual C++. The installer for the new version of the Intel math kernel sets the dependencies ( path to library, header files , linkers, etc. ), automatically. I am wondering if anyone has the…
0
votes
2 answers

How to make a thread bind only a core when using Intel MKL?

I want to use threaded mkl to make matrix multiplication. I am try to use 8 threads.My cpu has 8 cores and each core has two logistical cores. I do not know whether the intel mkl will bind each thread to only one core?
lixiang
  • 161
  • 1
  • 7
0
votes
0 answers

-fopenmp does not work on Ubuntu 13.10

I am building the same application using the Intel MKL libraries and the GCC compiler, with all the flags advised by Intel. To use the GCC OMP implementation, -fopenmp is advised, which links the program with -lgomp. This works fine on Ubuntu 12.04…
Juanjo
  • 659
  • 3
  • 9