[mpich-discuss] Problems with starting mpd

hailong.yang1115 hailong.yang1115 at gmail.com
Sat Nov 14 22:21:11 CST 2009


Hi Dave,

I changed the first line in the installed mpd script to the following:
#!/usr/bin/env python2.4
And it worked!

Thank you for your reply.

-Hailong

2009-11-15 



***********************************************
* Hailong Yang, PhD. Candidate 
* Sino-German Joint Software Institute, 
* School of Computer Science&Engineering, Beihang University
* Phone: (86-010)82315908
* Email: hailong.yang1115 at gmail.com
* Address: G413, New Main Building in Beihang University, 
*              No.37 XueYuan Road,HaiDian District, 
*              Beijing,P.R.China,100191
***********************************************



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


More information about the mpich-discuss mailing list