<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">ahh i figured it out. It was my bad, security group policy i used with my cloud instances wasn't open all ports. After I unblocked all port it work , It works even "<span class="Apple-style-span" style="font-family: Verdana; font-size: 11px; line-height: 13px; white-space: pre; ">DeprecationWarning: The popen2 module is deprecated" warning is still being shows.</span><div><font class="Apple-style-span" face="Verdana" size="3"><span class="Apple-style-span" style="font-size: 11px; line-height: 13px; white-space: pre;"><br></span></font></div><div><span class="Apple-style-span" style="font-family: Verdana; font-size: 11px; line-height: 13px; white-space: pre; ">anyway ,thank you for your help.</span></div><div><span class="Apple-style-span" style="font-family: Verdana; font-size: 11px; line-height: 13px; white-space: pre; ">gra </span><br><br>--- On <b>Sun,
 7/19/09, Pavan Balaji <i>&lt;balaji@mcs.anl.gov&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Pavan Balaji &lt;balaji@mcs.anl.gov&gt;<br>Subject: Re: [mpich-discuss] problem with "mpdboot:56: DeprecationWarning: The popen2 module is deprecated"<br>To: mpich-discuss@mcs.anl.gov<br>Date: Sunday, July 19, 2009, 6:36 PM<br><br><div class="plainMail"><br>Can you try mpiexec.hydra instead (assuming you are using mpich2-1.1)?<br><br> $ mpiexec.hydra -f hostfile -n 4 ./foo<br><br> -- Pavan<br><br>On 07/19/2009 07:56 PM, Gra zeus wrote:<br>&gt; hello,<br>&gt; let me update.I tried to complie MPICH2 with --with-python=&lt;python2.4&gt; and install it<br>&gt; <br>&gt; the error message about&nbsp; DeprecationWarning: The popen2 module is deprecated" is disappear but still, can communicate between two node. I have t owait until communication timeout<br>&gt; <br>&gt; <br>&gt;
 <br>&gt; --- On *Sun, 7/19/09, Gra zeus /&lt;<a ymailto="mailto:gra_zeus@yahoo.com" href="/mc/compose?to=gra_zeus@yahoo.com">gra_zeus@yahoo.com</a>&gt;/* wrote:<br>&gt; <br>&gt; <br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;From: Gra zeus &lt;<a ymailto="mailto:gra_zeus@yahoo.com" href="/mc/compose?to=gra_zeus@yahoo.com">gra_zeus@yahoo.com</a>&gt;<br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;Subject: [mpich-discuss] problem with "mpdboot:56:<br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;DeprecationWarning: The popen2 module is deprecated"<br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;To: <a ymailto="mailto:mpich-discuss@mcs.anl.gov" href="/mc/compose?to=mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;Date: Sunday, July 19, 2009, 4:54 PM<br>&gt; <br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;hello, <br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;I try to run mpich2 on amazon cloud today.<br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;I start 2 identical instances.<br>&gt; <br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;my OS
 (it's Ubuntu 9.04 Desktop)= Linux mymachine 2.6.16-xenU #1 SMP<br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;Mon May 28 03:41:49 SAST 2007 i686 GNU/Linux<br>&gt; <br>&gt;&nbsp; &nbsp; &nbsp; I did as installation guide until mpdboot and mpdcheck.<br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;i can ssh from both machines to each others without enter password.<br>&gt; <br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;mpdcheck on first machine<br>&gt; <br>&gt;&nbsp; &nbsp; &nbsp; &gt;&gt;$mpdcheck -s<br>&gt;&nbsp; &nbsp; &nbsp; &gt;&gt;/root/mpich2-install/bin/mpdcheck:68: DeprecationWarning: The<br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;popen2 module is &gt;&gt;deprecated.&nbsp; Use the subprocess module.<br>&gt;&nbsp; &nbsp; &nbsp; &gt;&gt;&nbsp; from&nbsp; popen2&nbsp;&nbsp;&nbsp;import Popen3<br>&gt;&nbsp; &nbsp; &nbsp; &gt;&gt;server listening at INADDR_ANY on: firstmachine 49403<br>&gt; <br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;on second machine<br>&gt;&nbsp; &nbsp; &nbsp; &gt;&gt; mpdcheck -c&nbsp;
 domU-12-31-38-00-B1-06 49403<br>&gt;&nbsp; &nbsp; &nbsp; &gt;&gt;/root/mpich2-install/bin/mpdcheck:68: DeprecationWarning: The<br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;popen2 module is &gt;&gt;deprecated.&nbsp; Use the subprocess module.<br>&gt;&nbsp; &nbsp; &nbsp; &gt;&gt;&nbsp; from&nbsp; popen2&nbsp;&nbsp;&nbsp;import Popen3<br>&gt; <br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;Then i wait until it timeout.<br>&gt; <br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;So i give a try on mpdboot::::::::<br>&gt; <br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;when i mpdboot -n 1 i got this<br>&gt;&nbsp; &nbsp; &nbsp; &gt;&gt;/root/mpich2-install/bin/mpdboot:56: DeprecationWarning: The<br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;popen2 module is &gt;&gt;deprecated.&nbsp; Use the subprocess module.<br>&gt;&nbsp; &nbsp; &nbsp; &gt;&gt; from popen2&nbsp;&nbsp;&nbsp;import Popen4, Popen3, popen2<br>&gt; <br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;but it boot success.<br>&gt; <br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;when i mpdboot -n 2 -f
 mpd.hosts<br>&gt; <br>&gt;&nbsp; &nbsp; &nbsp; &gt;&gt; mpdboot -n 2 -f mpd.hosts<br>&gt;&nbsp; &nbsp; &nbsp; &gt;&gt;/root/mpich2-install/bin/mpdboot:56: DeprecationWarning: The<br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;popen2 module is &gt;&gt;deprecated.&nbsp; Use the subprocess module.<br>&gt;&nbsp; &nbsp; &nbsp; &gt;&gt; from popen2&nbsp;&nbsp;&nbsp;import Popen4, Popen3, popen2<br>&gt;&nbsp; &nbsp; &nbsp; &gt;&gt;<br>&gt; <br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;it freez at this stage. <br>&gt; <br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;I rsearch in google and saw some ppl got similar problem. however,<br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;their problem related to python but my screen said nothing about<br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;python. In case, my python version is&nbsp; &nbsp; &nbsp; &gt;&gt;Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)<br>&gt;&nbsp; &nbsp; &nbsp; &gt;&gt;[GCC 4.3.3] on linux2<br>&gt; <br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;thx,<br>&gt;&nbsp;
 &nbsp;&nbsp;&nbsp;Gra<br>&gt; <br>&gt; <br>&gt; <br>&gt; <br><br>-- Pavan Balaji<br><a href="http://www.mcs.anl.gov/~balaji" target="_blank">http://www.mcs.anl.gov/~balaji</a><br></div></blockquote></div></td></tr></table><br>