[Wien] Undefined references when compiling WIEN2k_08.1 with mkl 10

Oleg Rubel rubel at Physik.Uni-Marburg.de
Wed Feb 20 16:23:02 CET 2008


Dear Wien2k Users,

I have a problem with compilation of the WIEN2k_08.1 (Release 14/12/2007) 
using ifort 10 and mkl 10. The interesting point is that the problems 
occurs only with mkl 10, using the same compiler settings and mkl 9 
produces no errors. Here are the details:

Current settings:
  O   Compiler options:        -FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML
  L   Linker Flags:            $(FOPT) -L/opt/intel/mkl/10/lib/em64t -lpthread -static-libcxa
  P   Preprocessor flags       '-DParallel'
  R   R_LIB (LAPACK+BLAS):     -lmkl_lapack -lmkl_em64t -lguide -lvml -pthread

ERROR MESSAGE:
...
ifort -o ./aim moduls.o charge.o  gbass.o  gener.o  aim.o main1.o  outin.o 
radial.o  reduc.o  rsur.o rotat.o  rotate.o  rotato.o  rotdef1.o sternb.o 
sum.o  vnorm.o  ylm.o  dtylm.o  sumd.o  grhosphe.o dradial.o  gen_change.o 
rotat_back.o  rotate_back.o gen_brav.o  interst.o  sphere.o  init.o 
onestep.o rsurf.o  gauleg.o  critic.o  surf.o integrho.o follow.o interp.o 
cputim.o jacobi.o ludcmp.o spline.o doit.o dtdtylm.o sumdd.o hrhosphe.o 
matprod.o readcs.o dipole.o rho.o cossin.o  intlib.o davint.o d1mach.o 
sortag.o follown.o SplineFit.o CheckCSpline.o   -FR -mp1 -w -prec_div 
-pc80 -pad -ip -DINTEL_VML -L/opt/intel/mkl/10/lib/em64t -lpthread 
-static-libcxa -lmkl_lapack -lmkl_em64t -lguide -lvml -pthread
/opt/intel/mkl/10/lib/em64t/libmkl_lapack.so: undefined reference to 
`mkl_serv_load_fun'
/opt/intel/mkl/10/lib/em64t/libmkl_lapack.so: undefined reference to 
`mkl_serv_load_dll'
make[1]: *** [aim] Error 1
make[1]: Leaving directory `/home/rubel/WIEN2k_v08/SRC_aim'
...


I am thankful for any ideas in advance.

Oleg Rubel

===========================
Faculty of Physics
Philipps University Marburg
Renthof 5, 35032 Marburg, Germany
E-mail: Oleg.Rubel at physik.uni-marburg.de
Homepage: http://www.staff.uni-marburg.de/~rubel/


More information about the Wien mailing list