i have already tried mpdcheck .<br>
<br>
[hewonty@hewonty ~]$ mpdcheck -s<br>
server listening at INADDR_ANY on: hewonty 32775<br>
server has conn on <socket._socketobject object at 0xb7f7838c> from ('<a href="http://192.168.2.3">192.168.2.3</a>', 56366)<br>
server successfully recvd msg from client: hello_from_client_to_server<br>
[hewonty@vm1 ~]$ mpdcheck -c hewonty 32775<br>
client successfully recvd ack from server: ack_from_server_to_client<br>
<br>
[hewonty@vm1 ~]$ mpdcheck -s<br>
server listening at INADDR_ANY on: vm1 32771<br>
server has conn on <socket._socketobject object at 0xb7f5920c> from ('<a href="http://192.168.2.2">192.168.2.2</a>', 33169)<br>
server successfully recvd msg from client: hello_from_client_to_server<br>
[hewonty@hewonty ~]$ mpdcheck -c vm1 32771<br>
client successfully recvd ack from server: ack_from_server_to_client<br>
<br>
The next thing , i tried to run mpd by hand , but got error like the last post.<br>
<br>
<span class="e" id="q_10a7a432e54da80e_3">[hewonty@vm1 ~]$ mpd
&<br>[1] 2056<br>[hewonty@vm1 ~]$ mpdtrace -l<br>vm1_32772 (<a href="http://192.168.2.3/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.2.3</a>)<br><br><br>[hewonty@hewonty ~]$ mpd
-h vm1 -p 32772<br>hewonty_32846: mpd_uncaught_except_tb handling:<br>
exceptions.TypeError: sequence item 0: expected string, int
found<br> /usr/local/mpich2/bin/mpdlib.py 627
connect_lhs<br> response =
md5new(''.join([self.secretword,msg['randnum']])).digest()<br>
/usr/local/mpich2/bin/mpdlib.py 564
enter_ring<br>
numTries=ntries)<br> /usr/local/mpich2/bin/mpd
231 run<br>
rhsHandler=self.handle_rhs_input)<br>
/usr/local/mpich2/bin/mpd 1344
?<br> mpd.run()</span><br>
<br>
If i run mpd in hewonty first i got :<br>
[hewonty@hewonty ~]$ mpd &<br>
[1] 4051<br>
[hewonty@hewonty ~]$ mpdtrace -l<br>
hewonty_32781 (<a href="http://192.168.2.2">192.168.2.2</a>)<br>
<br>
<span class="e" id="q_10a7a432e54da80e_3">[hewonty@vm1 ~]$mpd -h hewonty -p 32781</span><br>
vm1_32776 (connect_lhs 621): invalid challenge from hewonty 32781: {}<br>
vm1_32776 (enter_ring 566): lhs connect failed<br>
vm1_32776 (run 233): failed to enter ring<br>
<br>
and in hewonty i get the error<br>
<br>
hewonty.homelinux.org_32781: mpd_uncaught_except_tb handling:<br>
exceptions.TypeError: sequence item 0: expected string, int found<br>
/usr/local/mpich2/bin/mpdlib.py 733 handle_ring_listener_connection<br>
newsock.correctChallengeResponse = \<br>
/usr/local/mpich2/bin/mpdlib.py 488 handle_active_streams<br>
handler(stream,*args)<br>
/usr/local/mpich2/bin/mpd 266 runmainloop<br>
rv = self.streamHandler.handle_active_streams(timeout=8.0)<br>
/usr/local/mpich2/bin/mpd 240 run<br>
self.runmainloop()<br>
/usr/local/mpich2/bin/mpd 1344 ?<br>
mpd.run()<br>
<br>
[1]+ Exit 1 mpd<br>
<br>
<br>
Regards,<br>
Tiep.<br>
<br><div><span class="gmail_quote">On 4/8/06, <b class="gmail_sendername">Rajeev Thakur</b> <<a href="mailto:thakur@mcs.anl.gov">thakur@mcs.anl.gov</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="direction: ltr;">
<div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size="2">Try running the mpdcheck troubleshooting utility as
described in the installer's guide.</font></span></div>
<div> </div>
<div><span></span><font face="Arial"><font color="#0000ff"><font size="2">R<span>ajeev</span></font></font></font><br></div>
<blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div align="left" dir="ltr" lang="en-us">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a href="mailto:owner-mpich-discuss@mcs.anl.gov" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">owner-mpich-discuss@mcs.anl.gov</a>
[mailto:<a href="mailto:owner-mpich-discuss@mcs.anl.gov" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">owner-mpich-discuss@mcs.anl.gov</a>] <b>On Behalf Of </b>Misora
Itsumo<br><b>Sent:</b> Friday, April 07, 2006 5:59 PM<br><b>To:</b>
<a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mpich-discuss@mcs.anl.gov</a></font></div><div style="direction: ltr;"><span class="q"><font face="Tahoma" size="2">
<br><b>Subject:</b> [MPICH] mpdboot error : fail to
ping<br></font></span></div><font face="Tahoma" size="2"></font><div style="direction: ltr;"><br></div>
</blockquote></div><div style="direction: ltr;"><span class="e" id="q_10a7a432e54da80e_3"><div></div>Hi <br>i'm new to MPICH2 and i just installed mpich2 , but i can't
make it run on a set of machines.<br><br>i run mpich2 on 2 nodes ,
hostnames are hewonty and vm1.<br>Here are some info <br><br>[hewonty@hewonty
~]$ cat mpd.hosts<br>hewonty<br>vm1<br><br>[hewonty@hewonty ~]$ cat
/etc/hosts<br><a href="http://127.0.0.1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">127.0.0.1</a>
localhost.localdomain localhost<br><a href="http://192.168.2.2" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.2.2</a> <a href="http://hewonty.homelinux.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
hewonty.homelinux.org</a> <a href="http://hewonty.vmnet1.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">hewonty.vmnet1.org</a>
hewonty<br><a href="http://192.168.2.3" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.2.3</a> <a href="http://vm1.hewonty.homelinux.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
vm1.hewonty.homelinux.org</a>
vm1<br><a href="http://192.168.2.2" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.2.2</a>
svn_server<br><br>[hewonty@hewonty ~]$ mpdboot -n 2 -f
mpd.hosts<br>mpdboot_hewonty (handle_mpd_output 359): failed to ping mpd on
hewonty; recvd output={}<br><br>i can ssh to hewonty or vm1.<br><br>I tried to
run mannually by mpd and here are what i got<br><br>[hewonty@vm1 ~]$ mpd
&<br>[1] 2056<br>[hewonty@vm1 ~]$ mpdtrace -l<br>vm1_32772 (<a href="http://192.168.2.3" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.2.3</a>)<br><br><br>[hewonty@hewonty ~]$ mpd
-h vm1 -p 32772<br>hewonty_32846: mpd_uncaught_except_tb handling:<br>
exceptions.TypeError: sequence item 0: expected string, int
found<br> /usr/local/mpich2/bin/mpdlib.py 627
connect_lhs<br> response =
md5new(''.join([self.secretword,msg['randnum']])).digest()<br>
/usr/local/mpich2/bin/mpdlib.py 564
enter_ring<br>
numTries=ntries)<br> /usr/local/mpich2/bin/mpd
231 run<br>
rhsHandler=self.handle_rhs_input)<br>
/usr/local/mpich2/bin/mpd 1344
?<br> mpd.run()<br><br>Thanks in
advance.<br>Tiep<br></span></div><div style="direction: ltr;">
</div></blockquote></div><br>