回 帖 发 新 帖 刷新版面

主题:mkl的lapack库的问题

Makefile中的编译选项是这个

LAPACKL = -L/opt/intel/mkl/10.0.010/lib/em64t -lmkl_lapack -lguide -lmkl -lpthread

但是仍然报错如下:

ld: skipping incompatible /opt/intel/mkl/10.0.010/lib/em64t/libmkl_lapack.so when searching for -lmkl_lapack
ld: skipping incompatible /opt/intel/mkl/10.0.010/lib/em64t/libmkl_intel_lp64.a when searching for libmkl_intel_lp64.a
ld: cannot find libmkl_intel_lp64.a


请问该如何解决?谢谢!!!


回复列表 (共1个回复)

沙发

改成: LAPACKL = -L/opt/intel/mkl/10.0.010/lib/em64t /opt/intel/mkl/10.0.010/lib/em64t/libmkl_lapack95_lp64.a -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lpthread -lm

编译器选项改为: -openmp -I/opt/intel/mkl/10.0.010/include/em64t/lp64 -I/opt/intel/mkl/10.0.010/include

或者你可以参考这个网址自己选择一下:

http://software.intel.com/sites/products/mkl/

我来回复

您尚未登录,请登录后再回复。点此登录或注册