[mpich-discuss] Python 2.6 warnings

Scott Atchley atchley at myri.com
Tue Jan 13 09:03:47 CST 2009

Hi all,

We have a customer using MPICH2-MX 1.0.7 and he reports the following  
when launching mpdboot using python 2.6:

> Just downloaded mpich2-mx-1.0.7..2 I was able to compile it and  
> install
> it with no problems on sles 11 RC 1.  When I try to start up mpdboot I
> get the following error message.
> $ ./bin/mpdboot
> ./bin/mpdboot:56: DeprecationWarning: The popen2 module is deprecated.
> Use the subprocess module.
>  from popen2   import Popen4, Popen3, popen2
> /opt/mpich-mx/bin/mpdlib.py:15: DeprecationWarning: the md5
> module is deprecated; use hashlib instead
>  from  md5       import  new as md5new
>  $ python
> Python 2.6 (r26:66714, Dec  6 2008, 02:02:53)
> [GCC 4.3.2 [gcc-4_3-branch revision 141291]] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> I take it python 2.6 no longer supports popen2 and md5.  Do you have a
> version that of mpich-mx that works with python 2.6?

I checked the 1.0.8 and 1.0 branches and mpdboot is still using popen2  
and md5. Has anyone else encountered this and/or is anyone working on  
a patch?


More information about the mpich-discuss mailing list