Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

linking mkl_lapack

mv2006
Beginner
507 Views
I'm trying to compile a simple source on a AMD 64.

I'm using ifort 9.1.032 and mkl 8.0.2

The compilation goes OK but the linking fails with the following error:

libmkl_lapack.a: could not read symbols: Bad value

Can anybody help me here?

Thanks,

Vince

0 Kudos
1 Reply
TimP
Honored Contributor III
507 Views
As you haven't given much information, how about a guess:
With 32-bit, Intel/AMD64-bit, and ia64 versions of that library, you have 2 chances to choose one which doesn't match the architecture of the compiler. You must use 32-bit ifort (default /opt/intel/fc/9.1.032) together with mkl/8.0/lib/32/
or intel-64 ifort (/opt/intel/fce/9.1.032) together with mkl/8.0/lib/em64t/
I had trouble myself with 8.0/em64t static libraries on AMD, a problem which was fixed in 8.1.
0 Kudos
Reply