<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18852">
<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; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
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-STYLE: normal; FONT-FAMILY: Verdana; COLOR: windowtext; FONT-WEIGHT: normal; 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="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt">
<DIV><FONT color=#000080 size=2 face=Verdana>Hi Dave,</FONT></DIV>
<DIV><FONT color=#000080></FONT>&nbsp;</DIV>
<DIV><FONT color=#000080>I changed the first line in the installed mpd script to 
the following:</FONT></DIV>
<DIV>#!/usr/bin/env&nbsp;python2.4</DIV>
<DIV>And it worked!</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank you for your reply.</DIV>
<DIV>&nbsp;</DIV>
<DIV>-Hailong</DIV>
<DIV><FONT color=#000080 size=2 face=Verdana></FONT>&nbsp;</DIV>
<DIV><FONT color=#c0c0c0 size=2 face=Verdana>2009-11-15 </FONT></DIV><FONT 
color=#000080 size=2 face=Verdana>
<HR style="WIDTH: 100px" align=left color=#b5c4df SIZE=1>
</FONT>
<DIV><FONT color=#c0c0c0 size=2 face=Verdana><SPAN>
<DIV>
<DIV>***********************************************<BR>* Hailong Yang, PhD. 
Candidate <BR>* Sino-German Joint Software Institute, <BR>* School of Computer 
Science&amp;Engineering, Beihang University<BR>* Phone: (86-010)82315908<BR>* 
Email: <A 
href="mailto:hailong.yang1115@gmail.com">hailong.yang1115@gmail.com</A><BR>* 
Address: G413, New Main Building in Beihang University, 
<BR>*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
No.37 XueYuan Road,HaiDian District, 
<BR>*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Beijing,P.R.China,100191<BR>***********************************************</DIV></DIV></SPAN></FONT></DIV>
<HR color=#b5c4df SIZE=1>

<DIV><FONT size=2 face=Verdana><STRONG>发件人:</STRONG> Dave Goodell </FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>发送时间:</STRONG> 2009-11-15&nbsp; 10:06:46 
</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>收件人:</STRONG> mpich-discuss </FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>抄送:</STRONG> </FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>主题:</STRONG> Re: [mpich-discuss] Problems 
with starting mpd </FONT></DIV>
<DIV><FONT size=2 face=Verdana></FONT> </DIV>
<DIV><FONT size=2 face=Verdana>
<DIV>MPD&nbsp;is&nbsp;not&nbsp;currently&nbsp;compatible&nbsp;with&nbsp;python&nbsp;2.2.&nbsp;&nbsp;Using&nbsp;a&nbsp;newer&nbsp;(2.x)&nbsp;&nbsp;</DIV>
<DIV>version&nbsp;of&nbsp;python&nbsp;should&nbsp;solve&nbsp;this&nbsp;problem.&nbsp;&nbsp;Depending&nbsp;on&nbsp;how&nbsp;you&nbsp;&nbsp;</DIV>
<DIV>upgraded&nbsp;to&nbsp;the&nbsp;newer&nbsp;version,&nbsp;the&nbsp;mpd&nbsp;scripts&nbsp;may&nbsp;still&nbsp;be&nbsp;using&nbsp;your&nbsp;&nbsp;</DIV>
<DIV>older&nbsp;version&nbsp;of&nbsp;python.&nbsp;&nbsp;Check&nbsp;the&nbsp;shebang&nbsp;line&nbsp;at&nbsp;the&nbsp;top&nbsp;of&nbsp;the&nbsp;&nbsp;</DIV>
<DIV>installed&nbsp;python&nbsp;script&nbsp;and&nbsp;make&nbsp;sure&nbsp;that&nbsp;it&nbsp;makes&nbsp;sense,&nbsp;and&nbsp;check&nbsp;&nbsp;</DIV>
<DIV>that&nbsp;the&nbsp;upgraded&nbsp;python&nbsp;is&nbsp;in&nbsp;your&nbsp;path.&nbsp;&nbsp;You&nbsp;will&nbsp;probably&nbsp;need&nbsp;to&nbsp;&nbsp;</DIV>
<DIV>rebuild&nbsp;MPICH2&nbsp;after&nbsp;upgrading&nbsp;your&nbsp;python&nbsp;installation&nbsp;to&nbsp;make&nbsp;sure&nbsp;&nbsp;</DIV>
<DIV>that&nbsp;it&nbsp;picks&nbsp;up&nbsp;the&nbsp;new&nbsp;version.&nbsp;&nbsp;If&nbsp;it&nbsp;still&nbsp;auto-detects&nbsp;the&nbsp;wrong&nbsp;&nbsp;</DIV>
<DIV>python&nbsp;installation,&nbsp;you&nbsp;can&nbsp;help&nbsp;it&nbsp;pick&nbsp;the&nbsp;right&nbsp;one&nbsp;by&nbsp;passing&nbsp;"--&nbsp;</DIV>
<DIV>with-python=/path/to/python"&nbsp;to&nbsp;configure.</DIV>
<DIV></DIV>
<DIV>-Dave</DIV>
<DIV></DIV>
<DIV>On&nbsp;Nov&nbsp;13,&nbsp;2009,&nbsp;at&nbsp;10:42&nbsp;PM,&nbsp;hailong.yang1115&nbsp;wrote:</DIV>
<DIV></DIV>
<DIV>&gt;&nbsp;Hi&nbsp;there,</DIV>
<DIV>&gt;</DIV>
<DIV>&gt;&nbsp;I&nbsp;have&nbsp;recently&nbsp;installed&nbsp;mpich2-1.2&nbsp;on&nbsp;RedHat&nbsp;SL&nbsp;3.&nbsp;After&nbsp;that&nbsp;I&nbsp;&nbsp;</DIV>
<DIV>&gt;&nbsp;started&nbsp;the&nbsp;mpd,&nbsp;which&nbsp;gave&nbsp;me&nbsp;the&nbsp;following&nbsp;error:</DIV>
<DIV>&gt;</DIV>
<DIV>&gt;&nbsp;[root@jsiserver112&nbsp;root]#&nbsp;mpd&nbsp;&amp;</DIV>
<DIV>&gt;&nbsp;[1]&nbsp;1797</DIV>
<DIV>&gt;&nbsp;[root@jsiserver112&nbsp;root]#&nbsp;Traceback&nbsp;(most&nbsp;recent&nbsp;call&nbsp;last):</DIV>
<DIV>&gt;&nbsp;&nbsp;&nbsp;File&nbsp;"/usr/local/mpich2-1.2/bin/mpd",&nbsp;line&nbsp;87,&nbsp;in&nbsp;?</DIV>
<DIV>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from&nbsp;sets&nbsp;import&nbsp;Set&nbsp;as&nbsp;set</DIV>
<DIV>&gt;&nbsp;ImportError:&nbsp;No&nbsp;module&nbsp;named&nbsp;sets</DIV>
<DIV>&gt;&nbsp;[1]+&nbsp;&nbsp;Exit&nbsp;1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mpd</DIV>
<DIV>&gt;</DIV>
<DIV>&gt;&nbsp;I&nbsp;googled&nbsp;to&nbsp;find&nbsp;that&nbsp;maybe&nbsp;it&nbsp;was&nbsp;incompatible&nbsp;with&nbsp;the&nbsp;older&nbsp;&nbsp;</DIV>
<DIV>&gt;&nbsp;version&nbsp;of&nbsp;Python&nbsp;2.2.&nbsp;So&nbsp;I&nbsp;changed&nbsp;to&nbsp;version&nbsp;2.4&nbsp;and&nbsp;version&nbsp;&nbsp;</DIV>
<DIV>&gt;&nbsp;3.1.1(most&nbsp;recently)&nbsp;but&nbsp;still&nbsp;got&nbsp;the&nbsp;same&nbsp;error.</DIV>
<DIV>&gt;</DIV>
<DIV>&gt;&nbsp;Looking&nbsp;for&nbsp;any&nbsp;help.</DIV>
<DIV>&gt;</DIV>
<DIV>&gt;&nbsp;-Hailong</DIV>
<DIV>&gt;</DIV>
<DIV>&gt;&nbsp;2009-11-14</DIV>
<DIV>&gt;&nbsp;***********************************************</DIV>
<DIV>&gt;&nbsp;*&nbsp;Hailong&nbsp;Yang,&nbsp;PhD.&nbsp;Candidate</DIV>
<DIV>&gt;&nbsp;*&nbsp;Sino-German&nbsp;Joint&nbsp;Software&nbsp;Institute,</DIV>
<DIV>&gt;&nbsp;*&nbsp;School&nbsp;of&nbsp;Computer&nbsp;Science&amp;Engineering,&nbsp;Beihang&nbsp;University</DIV>
<DIV>&gt;&nbsp;*&nbsp;Phone:&nbsp;(86-010)82315908</DIV>
<DIV>&gt;&nbsp;*&nbsp;Email:&nbsp;hailong.yang1115@gmail.com</DIV>
<DIV>&gt;&nbsp;*&nbsp;Address:&nbsp;G413,&nbsp;New&nbsp;Main&nbsp;Building&nbsp;in&nbsp;Beihang&nbsp;University,</DIV>
<DIV>&gt;&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;No.37&nbsp;XueYuan&nbsp;Road,HaiDian&nbsp;District,</DIV>
<DIV>&gt;&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Beijing,P.R.China,100191</DIV>
<DIV>&gt;&nbsp;***********************************************</DIV>
<DIV>&gt;&nbsp;_______________________________________________</DIV>
<DIV>&gt;&nbsp;mpich-discuss&nbsp;mailing&nbsp;list</DIV>
<DIV>&gt;&nbsp;mpich-discuss@mcs.anl.gov</DIV>
<DIV>&gt;&nbsp;https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</DIV>
<DIV></DIV>
<DIV>_______________________________________________</DIV>
<DIV>mpich-discuss&nbsp;mailing&nbsp;list</DIV>
<DIV>mpich-discuss@mcs.anl.gov</DIV>
<DIV>https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</DIV></FONT></DIV></BODY></HTML>