<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.6000.16762" name=GENERATOR>
<STYLE>@font-face {
        font-family: 宋体;
}
@font-face {
        font-family: Verdana;
}
@font-face {
        font-family: @宋体;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Verdana; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
UNKNOWN {
        FONT-SIZE: 10pt
}
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY style="FONT-SIZE: 10pt; MARGIN: 10px; FONT-FAMILY: verdana">
<DIV><FONT face=Verdana color=#000080 size=2>Dear <FONT color=#000000>Axel 
Kohlmeyer </FONT></FONT></DIV>
<DIV>Thanks, with xlc and xlf, it works fine now.</DIV>
<DIV><FONT face=Verdana color=#000080 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana color=#000080 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana color=#c0c0c0 size=2>2009-02-23 </FONT></DIV><FONT 
face=Verdana color=#000080 size=2>
<HR style="WIDTH: 100px" align=left color=#b5c4df SIZE=1>
</FONT>
<DIV><FONT face=Verdana color=#c0c0c0 size=2><SPAN>
<DIV>
<DIV><U><FONT color=#0000ff>Best regards,<BR>Jun Dai</FONT></U></DIV>
<DIV>&nbsp;</DIV>
<DIV><U><FONT color=#0000ff></FONT></U><A 
href="mailto:jdai3@mail.ustc.edu.cn"></A>&nbsp;</DIV></DIV></SPAN></FONT></DIV>
<HR color=#b5c4df SIZE=1>

<DIV><FONT face=Verdana size=2><STRONG>发件人:</STRONG> Axel Kohlmeyer 
</FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>发送时间:</STRONG> 2009-02-22&nbsp; 01:06:00 
</FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>收件人:</STRONG> Dai </FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>抄送:</STRONG> PWSCF Forum </FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>主题:</STRONG> Re: [Pw_forum] compile 
problem on IBM AIX61 </FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>
<DIV>On&nbsp;Sat,&nbsp;21&nbsp;Feb&nbsp;2009,&nbsp;Dai&nbsp;wrote:</DIV>
<DIV></DIV>
<DIV>JD&gt;&nbsp;Dear&nbsp;all,</DIV>
<DIV></DIV>
<DIV>dear&nbsp;jun&nbsp;dai,</DIV>
<DIV></DIV>
<DIV>JD&gt;&nbsp;I&nbsp;encountered&nbsp;a&nbsp;problem&nbsp;when&nbsp;compile&nbsp;QE4.0.4&nbsp;with&nbsp;gcc&nbsp;4.0.0&nbsp;and&nbsp;xlf&nbsp;V12.1,&nbsp;:</DIV>
<DIV>JD&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(&nbsp;cd&nbsp;clib&nbsp;;&nbsp;if&nbsp;test&nbsp;"make"&nbsp;=&nbsp;""&nbsp;;&nbsp;then&nbsp;make&nbsp;&nbsp;TLDEPS=&nbsp;all&nbsp;;&nbsp;&nbsp;else&nbsp;make&nbsp;&nbsp;TLDEPS=&nbsp;all&nbsp;;&nbsp;fi&nbsp;)</DIV>
<DIV>JD&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gcc&nbsp;-O3&nbsp;-D__AIX&nbsp;-D__XLF&nbsp;-D__ESSL&nbsp;-D__MASS&nbsp;-D__MPI&nbsp;-D__PARA&nbsp;-I../include&nbsp;&nbsp;&nbsp;-c&nbsp;cptimer.c</DIV>
<DIV>JD&gt;&nbsp;/usr/include/unistd.h:923:&nbsp;error:&nbsp;parse&nbsp;error&nbsp;before&nbsp;'['&nbsp;token</DIV>
<DIV>JD&gt;&nbsp;/usr/include/unistd.h:924:&nbsp;error:&nbsp;parse&nbsp;error&nbsp;before&nbsp;'rid_t'</DIV>
<DIV>JD&gt;&nbsp;make:&nbsp;The&nbsp;error&nbsp;code&nbsp;from&nbsp;the&nbsp;last&nbsp;command&nbsp;is&nbsp;1.</DIV>
<DIV>JD&gt;&nbsp;&nbsp;</DIV>
<DIV>JD&gt;&nbsp;Any&nbsp;idea&nbsp;on&nbsp;how&nbsp;to&nbsp;fix&nbsp;this&nbsp;problem?&nbsp;Thanks&nbsp;in&nbsp;advance.</DIV>
<DIV></DIV>
<DIV>this&nbsp;is&nbsp;either&nbsp;a&nbsp;bug&nbsp;in&nbsp;the&nbsp;unix&nbsp;headers&nbsp;of&nbsp;AIX&nbsp;or&nbsp;gcc-4.0.0</DIV>
<DIV>and&nbsp;_not_&nbsp;a&nbsp;Q-E&nbsp;problem.</DIV>
<DIV></DIV>
<DIV>most&nbsp;likely&nbsp;a&nbsp;combination&nbsp;of&nbsp;both.&nbsp;gcc-4.0.0&nbsp;is&nbsp;a&nbsp;quite&nbsp;broken&nbsp;</DIV>
<DIV>and&nbsp;long&nbsp;obsolete&nbsp;compiler&nbsp;version&nbsp;(it&nbsp;is&nbsp;a&nbsp;double&nbsp;zero&nbsp;release</DIV>
<DIV>and&nbsp;that&nbsp;almost&nbsp;always&nbsp;spells&nbsp;trouble).</DIV>
<DIV>i&nbsp;would&nbsp;recommend&nbsp;to&nbsp;either&nbsp;install&nbsp;a&nbsp;current&nbsp;gcc&nbsp;or&nbsp;use&nbsp;</DIV>
<DIV>the&nbsp;system&nbsp;xlc&nbsp;(cc)&nbsp;instead.</DIV>
<DIV></DIV>
<DIV>sometimes&nbsp;header&nbsp;conflicts&nbsp;on&nbsp;AIX&nbsp;can&nbsp;be&nbsp;resolved&nbsp;by&nbsp;adding</DIV>
<DIV>-D__ALL_SOURCE&nbsp;to&nbsp;DFLAGS&nbsp;in&nbsp;make.sys</DIV>
<DIV></DIV>
<DIV>cheers,</DIV>
<DIV>&nbsp;&nbsp;&nbsp;axel.</DIV>
<DIV></DIV>
<DIV>JD&gt;&nbsp;</DIV>
<DIV>JD&gt;&nbsp;2009-02-21&nbsp;</DIV>
<DIV>JD&gt;&nbsp;</DIV>
<DIV>JD&gt;&nbsp;</DIV>
<DIV>JD&gt;&nbsp;</DIV>
<DIV>JD&gt;&nbsp;Best&nbsp;regards,</DIV>
<DIV>JD&gt;&nbsp;Jun&nbsp;Dai</DIV>
<DIV>JD&gt;&nbsp;</DIV>
<DIV>JD&gt;&nbsp;=============================================================</DIV>
<DIV>JD&gt;&nbsp;&nbsp;Jun&nbsp;Dai</DIV>
<DIV>JD&gt;&nbsp;&nbsp;Ph.D.&nbsp;Candidate,</DIV>
<DIV>JD&gt;&nbsp;&nbsp;Hefei&nbsp;National&nbsp;Laboratory&nbsp;For&nbsp;Physical&nbsp;Sciences&nbsp;at&nbsp;the&nbsp;Microscale,</DIV>
<DIV>JD&gt;&nbsp;&nbsp;University&nbsp;of&nbsp;Science&nbsp;and&nbsp;Technology&nbsp;of&nbsp;China,</DIV>
<DIV>JD&gt;&nbsp;&nbsp;Hefei,&nbsp;Anhui,&nbsp;230026,</DIV>
<DIV>JD&gt;&nbsp;&nbsp;People's&nbsp;Republic&nbsp;of&nbsp;China</DIV>
<DIV>JD&gt;&nbsp;&nbsp;Tel.:&nbsp;86-551-3606428</DIV>
<DIV>JD&gt;&nbsp;&nbsp;Fax.:&nbsp;86-551-3602969</DIV>
<DIV>JD&gt;&nbsp;&nbsp;E-mail:&nbsp;jdai3@mail.ustc.edu.cn</DIV>
<DIV>JD&gt;&nbsp;=============================================================&nbsp;</DIV>
<DIV>JD&gt;&nbsp;</DIV>
<DIV></DIV>
<DIV>--&nbsp;</DIV>
<DIV>=======================================================================</DIV>
<DIV>Axel&nbsp;Kohlmeyer&nbsp;&nbsp;&nbsp;akohlmey@cmm.chem.upenn.edu&nbsp;&nbsp;&nbsp;http://www.cmm.upenn.edu</DIV>
<DIV>&nbsp;&nbsp;&nbsp;Center&nbsp;for&nbsp;Molecular&nbsp;Modeling&nbsp;&nbsp;&nbsp;--&nbsp;&nbsp;&nbsp;University&nbsp;of&nbsp;Pennsylvania</DIV>
<DIV>Department&nbsp;of&nbsp;Chemistry,&nbsp;231&nbsp;S.34th&nbsp;Street,&nbsp;Philadelphia,&nbsp;PA&nbsp;19104-6323</DIV>
<DIV>tel:&nbsp;1-215-898-1582,&nbsp;&nbsp;fax:&nbsp;1-215-573-6233,&nbsp;&nbsp;office-tel:&nbsp;1-215-898-5425</DIV>
<DIV>=======================================================================</DIV>
<DIV>If&nbsp;you&nbsp;make&nbsp;something&nbsp;idiot-proof,&nbsp;the&nbsp;universe&nbsp;creates&nbsp;a&nbsp;better&nbsp;idiot.</DIV></FONT></DIV></BODY></HTML>