Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Problem with CBLAS example building

johnski
Beginner
749 Views
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 Kudos
2 Replies
TimP
Honored Contributor III
749 Views
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 Kudos
johnski
Beginner
749 Views
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 Kudos
Reply