Hi,<br> Have you checked doing the same thing by setting "inode01" as the client and the other machine as the server?<br> The output does indicate that the mpd's are up on both the machines and they can communicate with each other. It would be of help if you could post the output that you are getting when you try running a sample program.
<br><br>Krishna Chaitanya K<br><br><div class="gmail_quote">On Dec 27, 2007 5:30 PM, jetspeed <<a href="mailto:ibatis2@163.com">ibatis2@163.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks for your reply<br><br>the mpdcheck seems right. but the mpd ring can't be set up. I will check the iptables as Krishna Chaitanya mentioned.<br><br> mpdcheck -s<br>server listening at INADDR_ANY on: inode01 33441
<br>server has conn on <socket._socketobject object at 0xf7f769c0> from ('<a href="http://10.0.0.12" target="_blank">10.0.0.12</a>', 32975)<br>server successfully recvd msg from client: hello_from_client_to_server
<br><br> mpdcheck -c inode01 33441<br>client successfully recvd ack from server: ack_from_server_to_client<br><div><div></div><div class="Wj3C7c"><br><br>On Wed, 26 Dec 2007 23:08:04 -0600<br>"Rajeev Thakur" <
<a href="mailto:thakur@mcs.anl.gov">thakur@mcs.anl.gov</a>> wrote:<br><br>> The networking environment on the machines may not be set up correctly. To<br>> debug the problem, you can use the mpdcheck utility as described in the
<br>> installation guide.<br>><br>> Rajeev<br>><br>><br>> > -----Original Message-----<br>> > From: <a href="mailto:owner-mpich-discuss@mcs.anl.gov">owner-mpich-discuss@mcs.anl.gov</a><br>> > [mailto:
<a href="mailto:owner-mpich-discuss@mcs.anl.gov">owner-mpich-discuss@mcs.anl.gov</a>] On Behalf Of jetspeed<br>> > Sent: Wednesday, December 26, 2007 7:49 AM<br>> > To: mpi<br>> > Subject: [MPICH] can't set up mpd ring between two nodes
<br>> ><br>> > Hi all:<br>> ><br>> > I installed mvapich2 , which is with the OFED 1.2.5.<br>> ><br>> > 1. when I use mpdboot on a machine, I got :<br>> > mpdboot_inode02 (handle_mpd_output 359): failed to
<br>> > ping mpd on inode02; recvd output={}<br>> > 2. when I try to use mpd to set up mpd ring, as the<br>> > user guide of mpich2:<br>> > mpd & on node02
<br>> > mpd -h node02 -p port on node01<br>> > I got:<br>> > on node01: (the latter mpd)<br>> > inode01_33435 (connect_lhs 621): invalid challenge from<br>> > inode02 32969: {}
<br>> > inode01_33435 (enter_ring 566): lhs connect failed<br>> > inode01_33435 (run 233): failed to enter ring<br>> ><br>> > on node02: (the first mpd )<br>> ><br>> > inode02_32969: mpd_uncaught_except_tb handling:
<br>> > exceptions.TypeError: sequence item 0: expected string, int found<br>> > /usr/mpi/gcc/mvapich2-0.9.8-15/bin/mpdlib.py 733<br>> > handle_ring_listener_connection<br>> > newsock.correctChallengeResponse
= \<br>> > /usr/mpi/gcc/mvapich2-0.9.8-15/bin/mpdlib.py 488<br>> > handle_active_streams handler(stream,*args)<br>> > /usr/mpi/gcc/mvapich2-0.9.8-15/bin/mpd 266 runmainloop<br>> > rv =
self.streamHandler.handle_active_streams(timeout=8.0)<br>> > /usr/mpi/gcc/mvapich2-0.9.8-15/bin/mpd 240 run<br>> > self.runmainloop()<br>> > /usr/mpi/gcc/mvapich2-0.9.8-15/bin/mpd 1344 ?
<br>> > mpd.run()<br>> ><br>> ><br>> ><br>> > Has anyone encountered this problem?<br>> > Thanks in advance.<br>> ><br>> ><br>> ><br>><br><br></div></div></blockquote>
</div><br><br clear="all"><br>-- <br>In the middle of difficulty, lies opportunity