[mpich-discuss] problem with "mpdboot:56: DeprecationWarning: The popen2 module is deprecated"

Pavan Balaji balaji at mcs.anl.gov
Sun Jul 19 20:36:07 CDT 2009


Can you try mpiexec.hydra instead (assuming you are using mpich2-1.1)?

  $ mpiexec.hydra -f hostfile -n 4 ./foo

  -- Pavan

On 07/19/2009 07:56 PM, Gra zeus wrote:
> hello,
> let me update.I tried to complie MPICH2 with --with-python=<python2.4> 
> and install it
> 
> the error message about  DeprecationWarning: The popen2 module is 
> deprecated" is disappear but still, can communicate between two node. I 
> have t owait until communication timeout
> 
> 
> 
> --- On *Sun, 7/19/09, Gra zeus /<gra_zeus at yahoo.com>/* wrote:
> 
> 
>     From: Gra zeus <gra_zeus at yahoo.com>
>     Subject: [mpich-discuss] problem with "mpdboot:56:
>     DeprecationWarning: The popen2 module is deprecated"
>     To: mpich-discuss at mcs.anl.gov
>     Date: Sunday, July 19, 2009, 4:54 PM
> 
>     hello, 
> 
>     I try to run mpich2 on amazon cloud today.
>     I start 2 identical instances.
> 
>     my OS (it's Ubuntu 9.04 Desktop)= Linux mymachine 2.6.16-xenU #1 SMP
>     Mon May 28 03:41:49 SAST 2007 i686 GNU/Linux
> 
>      I did as installation guide until mpdboot and mpdcheck.
>     i can ssh from both machines to each others without enter password.
> 
>     mpdcheck on first machine
> 
>      >>$mpdcheck -s
>      >>/root/mpich2-install/bin/mpdcheck:68: DeprecationWarning: The
>     popen2 module is >>deprecated.  Use the subprocess module.
>      >>  from  popen2   import Popen3
>      >>server listening at INADDR_ANY on: firstmachine 49403
> 
>     on second machine
>      >> mpdcheck -c  domU-12-31-38-00-B1-06 49403
>      >>/root/mpich2-install/bin/mpdcheck:68: DeprecationWarning: The
>     popen2 module is >>deprecated.  Use the subprocess module.
>      >>  from  popen2   import Popen3
> 
>     Then i wait until it timeout.
> 
>     So i give a try on mpdboot::::::::
> 
>     when i mpdboot -n 1 i got this
>      >>/root/mpich2-install/bin/mpdboot:56: DeprecationWarning: The
>     popen2 module is >>deprecated.  Use the subprocess module.
>      >> from popen2   import Popen4, Popen3, popen2
> 
>     but it boot success.
> 
>     when i mpdboot -n 2 -f mpd.hosts
> 
>      >> mpdboot -n 2 -f mpd.hosts
>      >>/root/mpich2-install/bin/mpdboot:56: DeprecationWarning: The
>     popen2 module is >>deprecated.  Use the subprocess module.
>      >> from popen2   import Popen4, Popen3, popen2
>      >>
> 
>     it freez at this stage. 
> 
> 
>     I rsearch in google and saw some ppl got similar problem. however,
>     their problem related to python but my screen said nothing about
>     python. In case, my python version is 
>      >>Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
>      >>[GCC 4.3.3] on linux2
> 
>     thx,
>     Gra
> 
> 
> 
> 

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji


More information about the mpich-discuss mailing list