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.
7234 Discussions

MKL compile problem in 64bit Linux using 64bit compiler.

Henrik_S_
Beginner
553 Views

Hello,

I am running OpenSuse 10.3, 64bit. When I compile a sample VSL function using the fc (32bit) compiler:

make lib32 function=vdrngbeta.f

it works fine. so32 works as well. The VSL sample program vdrngbeta.f is arbitrary... all VSL programs work.

When I try to compile the same program using the fce (64bit) compiler:

make lib64 function=vdrngbeta.f

I get 50+ error messages of this type:

ld: ia64-elf64 architecture of input file `.../mkl/lib/64/libmkl_intel_lp64.a(vsl_dbeta.o)' is incompatible with i386:x86-64 output

how do I fix this? When I:

make so64 function=vdrngbeta.f

.../mkl/lib/64/libmkl_intel_lp64.so: could not read symbols: File in wrong format
make[1]: *** [vdrngbeta.res] Error 1

Similar problem it seems. What am I doing wrong?

Thanks,

- henrik

0 Kudos
2 Replies
Henrik_S_
Beginner
553 Views

I think I answered my own question.

make libem64t function=vdrngbeta

I guess lib64 is for the IA64 architecture?

Sincerely,

- Henrik

0 Kudos
Gennady_F_Intel
Moderator
553 Views

Yes, you are right:

Lib64 build examples of MKL for Intel Itanium processor family

--Gennady

0 Kudos
Reply