libmkl_scalapack_lp64.so: undefined reference to `MKL_SCALAPACK_INT'

Submit New Article

Last Modified On :   November 25, 2009 12:15 AM PST
Rate
 



When link with Intel® Math Kernel Library 10.2 update 2 on SGI* Workstation with Intel® Xeon processor, the following error is reported:

libmkl_scalapack_lp64.so: undefined reference to `MKL_SCALAPACK_INT'
libmkl_scalapack_lp64.so: undefined reference to `Cdsendrecv'

The cause of this issue happens only when SGI's MPI library and libmkl_blacs_sgimpt_lp64.a library from MKL are used.

This is a known issue and this will be fixed in the future versions.


Workaround to fix this issue:

Compile a C source file with the below two lines and link it in addition to MKL:

#include <mpi.h>
int MKL_SCALAPACK_INT = (int) MPI_INT;




This article applies to: Intel® Math Kernel Library Knowledge Base