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

Problem with CBLAS example building

johnski
初学者
1,256 次查看
I'm running openSuSE 10.2 with a Core2 Quad and downloaded MKL 10.0.4 and installed it. All went well. I went to the example directory /opt/intel/mkl/10.0.4.023/examples/cblas and tried:

make so64 compiler=gnu and make so64 compiler=gnu

In both cases I get (except for the 32/64 difference):
gcc -w -I../../include source/cblas_sasumx.c source/common_func.c -L/opt/intel/mkl/10.0.4.023/lib/64 /opt/intel/mkl/10.0.4.023/lib/64/libmkl_intel_lp64.so /opt/intel/mkl/10.0.4.023/lib/64/libmkl_intel_thread.so /opt/intel/mkl/10.0.4.023/lib/64/libmkl_core.so /opt/intel/mkl/10.0.4.023/lib/64/libguide.so -lpthread -lm -o _results/gnu_lp64_parallel_64_so/cblas_sasumx.out
/opt/intel/mkl/10.0.4.023/lib/64/libmkl_intel_lp64.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
What am I doing wrong? It should quite simple but ...?

---John

0 项奖励
2 回复数
TimP
名誉分销商 III
1,256 次查看
You are attempting to link with the Itanium libraries. Those should not be installed on Core 2, if you followed normal installation procedure. For Core 2 x86-64 SuSE platform, you need the mkl libraries from /lib/em64t/.
0 项奖励
johnski
初学者
1,256 次查看
I was aware of the IA64 vs x86-64 problem - BUT I ran the install script selecting pretty much the only options to select. There was no IA64 vs x86-64 question(s) during this procedure.

I ran find / -name "em64t" -type d and got:
/opt/intel/mkl/10.0.4.023/lib/em64t
/opt/intel/mkl/10.0.4.023/benchmarks/mp_linpack/lib_hybrid/em64t
/opt/intel/mkl/10.0.4.023/benchmarks/mp_linpack/bin_intel/em64t
Am I missing something?

---John


0 项奖励
回复