MKL 10.0.1.14 on em64t

MKL 10.0.1.14 on em64t

Could you help me with compilation on my new Xeon with FC8 x86_64 machine? The same routine compiles on a different 64 bit machine, but on a new one ld complains. The machine without problems:
2.6.9-55.0.12.ELsmp #1 SMP Fri Nov 2 12:38:56 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
Flags= -lmkl_intel_thread -lmkl_solver -lmkl_lapack -lmkl_em64t -lmkl -lguide -lpthread
LIB= /opt/intel/cmkl/10.0.1.014/lib/em64t

The machine WITH problems:
2.6.24.3-34.asl.1.fc8 #1 SMP Mon Mar 17 12:32:26 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
Flags= -lmkl_intel_thread -lmkl_solver -lmkl_lapack -lmkl_em64t -lmkl -lguide -lpthread
LIB= /opt/intel/mkl/10.0.1.014/lib/em64t
The comand and the error:
/opt/intel/fc/10.1.015/bin/ifort -L/opt/intel/mkl/10.0.1.014/lib/em64t peslibs.o -lmkl_intel_thread -lmkl_solver -lmkl_lapack -lmkl_em64t -lmkl -lguide -lpthread orderpes.f -o orderpes.x
ld: skipping incompatible /opt/intel/mkl/10.0.1.014/lib/em64t/libmkl_intel_thread.so when searching for -lmkl_intel_thread
ld: skipping incompatible /opt/intel/mkl/10.0.1.014/lib/em64t/libmkl_intel_thread.a when searching for -lmkl_intel_thread
ld: cannot find -lmkl_intel_thread
make: *** [orderpes.x] Error 1

OK, figured out the problem: I was compiling with 32 bit ifort (default in $INTEL/fc) rather than 64 bit ifort (default in $INTEL/fce)

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.