[Pw_forum] Difficulties compiling comp_resp_mat.j to optimize the U

pc229 at kent.ac.uk pc229 at kent.ac.uk
Mon May 25 17:32:55 CEST 2009


Actually, the compilation is fine goes fine since I try to run the executable. 
The outcome is: 
resp_mat.x: error while loading shared libraries: libmkl_lapack.so: cannot open shared object file: No such file or directory.
Has anyone figured out how to do ? 
Thank you 


----- Original Message -----
From: pc229 at kent.ac.uk
Date: Monday, May 25, 2009 4:21 pm
Subject: Re: [Pw_forum] Difficulties compiling comp_resp_mat.j to optimize	the U
To: PWSCF Forum <pw_forum at pwscf.org>

> Thank you very much Dong Hou, now I can compile it correctly!
> 
> ----- Original Message -----
> From: Hou Dong <houdong_phy at mail.sdu.edu.cn>
> Date: Monday, May 25, 2009 4:11 pm
> Subject: Re: [Pw_forum] Difficulties compiling comp_resp_mat.j 
> to optimize	the U
> To: PWSCF Forum <pw_forum at pwscf.org>
> 
> > 
> > 
> > 
> > From: pc229 at kent.ac.uk 
> > Sent: Monday, May 25, 2009 10:51 PM
> > To: PWSCF Forum 
> > Subject: Re: [Pw_forum] Difficulties compiling comp_resp_mat.j 
> > to optimize the U
> > 
> > >Anyway I tried both the static and the dynamics compilation 
> > using either this string 
> > >ifort -o resp_mat.x resp_mat.f90 \
> > >-L/opt/intel/mkl/10.1.2.024/lib/32 -lmkl_lapack -lmkl_ia32 -
> > lguide -lpthread
> > 
> >      try -L/opt/intel/mkl/10.1.2.024/lib/32 -
> > lmkl_lapack -lmkl_ia32 -lmkl_core -lguide -lpthread
> > 
> > >and the output is : 
> > ....
> > >/opt/intel/mkl/10.1.2.024/lib/32/libmkl_lapack.so: undefined 
> > reference to `mkl_serv_load_fun'
> > >/opt/intel/mkl/10.1.2.024/lib/32/libmkl_lapack.so: undefined 
> > reference to `mkl_serv_load_dll'
> > 
> >     it is related to a new feature of Intel MKL 
> > version 10 and higher. add -lmkl_core may solve these problems.
> > 
> > 
> > ------------------------------------
> > Dong Hou
> > School of Physics , Shandong University
> > Jinan, Shandong ,P.R. China.
> > houdong_phy at mail.sdu.edu.cn
> > ---------------------------------------------
> > 
> 
> ---
> Pieremanuele Canepa
> Room 230
> School of Physical Sciences, Ingram Building, 
> University of Kent, Canterbury, Kent, 
> CT2 7NH
> United Kingdom
> 
> 
> 

---
Pieremanuele Canepa
Room 230
School of Physical Sciences, Ingram Building, 
University of Kent, Canterbury, Kent, 
CT2 7NH
United Kingdom


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20090525/1168c3ba/attachment.html>


More information about the users mailing list