[Wien] Installing Wien2k_08 on Mac: library not found for -lmkl_lapack64
A Bill
ppsdb06 at gmail.com
Thu Jan 31 03:49:38 CET 2008
Dear Wien users,
I am trying to install Wien2k 08 for the first time on my MacPro 8-core but
encounter a problem with the library for lmkl_lapack64. Here is what I did:
(sorry if there is too much information...)
1) The formatting of my disk is case-sensitive and so I do not encounter the
problems others had with that issue.
2) I use the latest ifort compiler + mkl 10.1.007.
3) I therefore chose option J "Linux Intel ifort 9 or 10 " and had to
specify that mkl is not under /opt/intel but /Library/Framework and had to
replace 'find /opt -name 'libmkl*' with 'find -L /opt -name 'libmkl*'
4) I changed the flag as follows:
Recommended options for system linuxif8 are:
Compiler options: -FR -mp1 -w -prec_div -pc80 -pad -ip
-DINTEL_VML
Linker Flags: $(FOPT) -L/opt/intel/mkl/9.0/lib/em64t
-lpthread
Preprocessor flags: '-DParallel'
R_LIB (LAPACK+BLAS): -lmkl_lapack64 -lmkl_em64t -lguide -lvml
-pthread
Current settings:
O Compiler options: -FR -mp1 -w -prec_div -pc80 -pad -ip
-DINTEL_VML
L Linker Flags: $(FOPT)
-L/opt/intel/mkl/Current/Libraries/em64t -lpthread
P Preprocessor flags '-DParallel'
R R_LIB (LAPACK+BLAS): -lmkl_lapack64 -lmkl_em64t -lguide -lvml
-pthread
5) It is not a shared memory, no MPI, no Scalapack (I don't quite understand
that one...)
6) I didn't change the parameters
7) I try compiling all programs. That's where I get into trouble...
compile.msg in all SRC_* have an error related to the library for
-lmkl_lapack64 not found. For example, the compile.msg in SRC_aim has the
following last lines:
ifort -o ./aimc 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 ones
tep.o rsurf.o gauleg.o critic.o surf.o integrho.o follow.o interp.o
cputim.o jacobi.o ludcmp.o sp
line.o doit.o dtdtylm.o sumdd.o hrhosphe.o matprod.o readcs.o dipole.o rho.o
cossin.o intlib.o davi
nt.o d1mach.o sortag.o follown.o SplineFit.o CheckCSpline.o -FR -mp1 -w
-prec_div -pc80 -pad -ip -D
INTEL_VML -L/opt/intel/mkl/Current/Libraries/em64t -lpthread -lmkl_lapack64
-lmkl_em64t -lguide -lvm
l -pthread
ipo: warning #11023: file format not recognized for cputim.o
ipo: warning #11023: file format not recognized for d1mach.o
ld: library not found for -lmkl_lapack64
make[1]: *** [aimc] Error 1
make: *** [complex] Error 2
Any help on the question is appreciated.
Regards,
Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20080131/a1465552/attachment.html
More information about the Wien
mailing list