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

Axel Kohlmeyer akohlmey at cmm.chem.upenn.edu
Mon May 25 17:54:13 CEST 2009


On Mon, 2009-05-25 at 23:05 +0800, Hou Dong wrote:

it is _bad_ advice to mix dynamical and shared libraries
that contain the same code. please everybody disregard this post.

thanks,
   axel.

> 
> 
> 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
> ---------------------------------------------
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://www.democritos.it/mailman/listinfo/pw_forum

-- 
=======================================================================
Axel Kohlmeyer   akohlmey at cmm.chem.upenn.edu   http://www.cmm.upenn.edu
   Center for Molecular Modeling   --   University of Pennsylvania
Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323
tel: 1-215-898-1582,  fax: 1-215-573-6233,  office-tel: 1-215-898-5425
=======================================================================
If you make something idiot-proof, the universe creates a better idiot.



More information about the Pw_forum mailing list