Bibliothèque Intel® Math Kernel Library

MKL_Complex16 arrays for mathematical operations problems

Hello everyone

I am using icc compiler to deal with my mkl_complex16 arrays, i was trying out my mathematical formula that i want to implement on the mic... but i got these errors:

essai.c(136): error: expression must have struct or union type
                sum.real= sum.real+w.real*y_in.real[z+1][s+1];

essai.c(137): error: expression must have struct or union type
                sum.imag= sum.imag+w.imag*y_in.imag[z+1][s+1];

Here is my code:

2D convolution using VSL Conv

Hi all,

I'm wondering if anyone can help. I'm trying to calculate a 2d convolution of two square arrays f(x,y) and g(x,y) using the code below, which compiles and runs fine (no error messages), but does not give the correct output for h(x,y). Instead, all values of h[n] are unchanged (e.g. if initialized before attempting the convolution) except one "column" of the output, at x=0.

I've scoured the examples included with MKL libraries, but can't spot anything different between my code and the minimal working examples of this type.






I'm trying to solve a SPD matrix with CPARDISO but it fails with the following error:

*** Error in PARDISO  (     insufficient_memory) error_num= 10
*** Error in PARDISO memory allocation: SOLVING_ITERREF_WORK_DATA, allocation of 1 bytes failed

The matrix is of size 90 x 90, and I have up to 4 GB of free RAM before runing the job on 2 MPI processes.

I'm attaching the program, can you reproduce this behavior on your side ?

Thank you for your help.

the problem of eigenvalues&eigenvectors of sparse matrix.

If  I just want to get smallest eigenvalues and its' eigenvectorsj(0<=j<=n) from a sparse matrix(n*n),'cause the dimension of matrix is too large to calculate all the eigenvalues&eigenvectors at the same time(memory limited) and the smallest j is meet the need, Which funciton should I use?(Matrix store as CSC or CSR format)

Conjugate Gradient source Code Example

Good afternoon,

I would like to have some help in the process of linking MKL with Visual Studio in Fortran Language. I am trying to run the example "cg_jacobi_precon" that comes in the Intel Folder, but I have not succeed. I am actually using F90. Can I have any advice, please, on which source codes do I need to include in my project as well as header files, and if I have to set any address in the Fortran and/or Linker properties of the project?

Please find below the actual example (I guess it is in F77) from Intel.

Thank you.



undefined reference to mkl_serv_iface_allocate(deallocate)


I have very strange problem with mkl libraries.

Compiling the code with following options:

MPIF90=mpif90 -mcmodel=medium -openmp -I$(MKLROOT)/include

FFLAGS = -c -O3 -g

MKL =  $(MKLROOT)/lib/intel64/libmkl_scalapack_ilp64.a -Wl,--start-group $(MKLROOT)/lib/intel64/libmkl_intel_ilp64.a $(MKLROOT)/lib/intel64/libmkl_core.a $(MKLROOT)/lib/intel64/libmkl_intel_thread.a -Wl,--end-group $(MKLROOT)/lib/intel64/libmkl_blacs_intelmpi_ilp64.a -lpthread -lm

Intel MKL + Win81 hyperV


Are there any known issues with Win81 running on a virtual (Win81) machine (Hyper V), and MKL (pardiso specifically) ?

I get the following message when executing pardiso: 

Intel MKL INTERNAL ERROR: Not enough work memory in function xgemm

And, it seems this does not cause pardiso to return with an error code.

I have increased the available memory on the machine well beyond the amount that the application seems to require on the system monitor when run on an actual machine.



S’abonner à Bibliothèque Intel® Math Kernel Library