[Pw_forum] Installation Problems: Can not found MKL
Giovanni Cantele
giovanni.cantele at na.infn.it
Fri May 7 16:24:15 CEST 2010
> Hi, All
> I am installing espresso-4.1.3 in intel cluster. I have installed the
> latest
> intel compiler(v11.069) and MKL(the same as compiler).
> I compiled with configure like this: ./configure -enable-shared
> LIBDIRS="/home/software/intel/Compiler/11.1/069/lib/intel64
> /home/software/intel/Compiler/11.1/069/mkl/lib/em64t"
> --prefix=/home/software/espresso F77=ifort CC=icc
> It seems not found the MKL. What's the problem? How to solve it?
> Thanks
> Weiguang
try linking as follows:
LDFLAGS="-L$MKL_PATH $MKL_PATH/libmkl_solver_lp64_sequential.a
-Wl,--start-group -lmkl_intel_lp64 -lmkl_sequential -lmkl_core
-Wl,--end-group -lpthread"
also have a look here:
http://www.quantum-espresso.org/user_guide/node13.html#SECTION00036350000000000000
Finally, here
http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/
you can get hel on the correct way of linking to mkl.
Giovanni
--
Giovanni Cantele, PhD
CNR-SPIN and Dipartimento di Scienze Fisiche
Universita' di Napoli "Federico II"
Complesso Universitario M. S. Angelo - Ed. 6
Via Cintia, I-80126, Napoli, Italy
Phone: +39 081 676910 - Fax: +39 081 676346
Skype contact: giocan74
ResearcherID: http://www.researcherid.com/rid/A-1951-2009
Web page: http://people.na.infn.it/~cantele
http://www.nanomat.unina.it
More information about the Pw_forum
mailing list