<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7000.29"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px"
id=MailContainerBody leftMargin=0 topMargin=0 CanvasTabStop="true"
name="Compose message area">
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV style="FONT: 10pt Tahoma">
<DIV><BR></DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A
title="mailto:pc229@kent.ac.uk CTRL + 单击以下链接"
href="mailto:pc229@kent.ac.uk">pc229@kent.ac.uk</A> </DIV>
<DIV><B>Sent:</B> Monday, May 25, 2009 10:51 PM</DIV>
<DIV><B>To:</B> <A title="mailto:pw_forum@pwscf.org CTRL + 单击以下链接"
href="mailto:pw_forum@pwscf.org">PWSCF Forum</A> </DIV>
<DIV><B>Subject:</B> Re: [Pw_forum] Difficulties compiling comp_resp_mat.j to
optimize the U</DIV></DIV></DIV>
<DIV><FONT face="'PrimaSans BT,Verdana,sans-serif'"></FONT> </DIV>
<DIV><FONT face="'PrimaSans BT,Verdana,sans-serif'">>Anyway I tried both the
static and the dynamics compilation using either this string <BR>>ifort -o
resp_mat.x resp_mat.f90 \<BR>>-L/opt/intel/mkl/10.1.2.024/lib/32 -lmkl_lapack
-lmkl_ia32 -lguide -lpthread<BR></FONT></DIV>
<DIV><FONT size=4 face=Calibri> <FONT size=5>try</FONT>
-L/opt/intel/mkl/10.1.2.024/lib/32 -lmkl_lapack -lmkl_ia32 -lmkl_core -lguide
-lpthread</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face="'PrimaSans BT,Verdana,sans-serif'">>and the output is :
</FONT></DIV>
<DIV><FONT
face="'PrimaSans BT,Verdana,sans-serif'">....<BR>>/opt/intel/mkl/10.1.2.024/lib/32/libmkl_lapack.so:
undefined reference to
`mkl_serv_load_fun'<BR>>/opt/intel/mkl/10.1.2.024/lib/32/libmkl_lapack.so:
undefined reference to `mkl_serv_load_dll'<BR></DIV></FONT>
<DIV><FONT face="'PrimaSans BT,Verdana,sans-serif'"><FONT
face=Calibri> it is related to a new feature of Intel MKL
version 10 and higher. add -lmkl_core may solve these
problems.</FONT></FONT></DIV>
<DIV><FONT face="'PrimaSans BT,Verdana,sans-serif'"><FONT
face=Calibri></FONT></FONT> </DIV>
<DIV><FONT face="'PrimaSans BT,Verdana,sans-serif'"><FONT
face=Calibri></FONT></FONT> </DIV>
<DIV><FONT face="'PrimaSans BT,Verdana,sans-serif'"><FONT
face=Calibri>------------------------------------</FONT></FONT></DIV>
<DIV><FONT face="'PrimaSans BT,Verdana,sans-serif'"><FONT face=Calibri>Dong
Hou</FONT></FONT></DIV>
<DIV><FONT face="'PrimaSans BT,Verdana,sans-serif'"><FONT face=Calibri>School of
Physics , Shandong University</FONT></FONT></DIV>
<DIV><FONT face="'PrimaSans BT,Verdana,sans-serif'"><FONT face=Calibri>Jinan,
Shandong ,P.R. China.</FONT></FONT></DIV>
<DIV><FONT face="'PrimaSans BT,Verdana,sans-serif'"><FONT face=Calibri><A
href="mailto:houdong_phy@mail.sdu.edu.cn">houdong_phy@mail.sdu.edu.cn</A></FONT></FONT></DIV>
<DIV><FONT face="'PrimaSans BT,Verdana,sans-serif'"><FONT
face=Calibri>---------------------------------------------</FONT></DIV></FONT></BODY></HTML>