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

MKL8 + AMBER linking problem

Sangamesh_B_
Beginner
792 Views
Hi All,

The installed MKL8's lib folder contains 32/ , 64/ and em64t/.

While insatlling AMBER8 it took MKL lib from 32/ dir on AMD64 Dual core. dual CPU opteron. Installed successfully.

When I execute, its giving following error:
$ $AMBERHOME/exe/sander: symbol lookup error: /home/sangamesh/AMBER-Intel/amber8/exe/sander: undefined symbol: __intel_cpu_indicator


When used AMBER9 it took MKL lib from em64t/. And it failed to build the executable with the following error:
ld: skipping incompatible /opt/BLAS_LIBS/MKL8/lib/em64t/libvml.so when searching for -lvml
ld: cannot find -lvml

Can any one tell how to resolve this problem?

Regards,
Sangamesh

0 Kudos
1 Reply
TimP
Honored Contributor III
792 Views
If you are trying to run a 32-bit build which uses dynamic libraries, you must take care to put the necessary 32-bit libraries in LD_LIBRARY_PATH. Perhaps you need /opt/BLAS_LIBS/MKL8/lib/ in LD_LIBRARY_PATH.
In my experience, this cpu_indicator error could be caused by confusion between an out of date libguide provided with MKL, and a more up to date libguide used by the openmp option of an Intel compiler. In that case, you would want the 32-bit compiler library to show in LD_LIBRARY_PATH, rather than the MKL, or you might do better with a more up to date MKL.
0 Kudos
Reply