Hi,<br>&nbsp;&nbsp;&nbsp;&nbsp; Have you checked doing the same thing by setting &quot;inode01&quot; as the client and the other machine as the server?<br>&nbsp;&nbsp;&nbsp;&nbsp; The output does indicate that the mpd&#39;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 &lt;<a href="mailto:ibatis2@163.com">ibatis2@163.com</a>&gt; 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 &nbsp;can&#39;t be set up. I will check the iptables as Krishna Chaitanya mentioned.<br><br>&nbsp;mpdcheck -s<br>server listening at INADDR_ANY on: inode01 33441
<br>server has conn on &lt;socket._socketobject object at 0xf7f769c0&gt; from (&#39;<a href="http://10.0.0.12" target="_blank">10.0.0.12</a>&#39;, 32975)<br>server successfully recvd msg from client: hello_from_client_to_server
<br><br>&nbsp;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>&quot;Rajeev Thakur&quot; &lt;
<a href="mailto:thakur@mcs.anl.gov">thakur@mcs.anl.gov</a>&gt; wrote:<br><br>&gt; The networking environment on the machines may not be set up correctly. To<br>&gt; debug the problem, you can use the mpdcheck utility as described in the
<br>&gt; installation guide.<br>&gt;<br>&gt; Rajeev<br>&gt;<br>&gt;<br>&gt; &gt; -----Original Message-----<br>&gt; &gt; From: <a href="mailto:owner-mpich-discuss@mcs.anl.gov">owner-mpich-discuss@mcs.anl.gov</a><br>&gt; &gt; [mailto:
<a href="mailto:owner-mpich-discuss@mcs.anl.gov">owner-mpich-discuss@mcs.anl.gov</a>] On Behalf Of jetspeed<br>&gt; &gt; Sent: Wednesday, December 26, 2007 7:49 AM<br>&gt; &gt; To: mpi<br>&gt; &gt; Subject: [MPICH] can&#39;t set up mpd ring between two nodes
<br>&gt; &gt;<br>&gt; &gt; Hi all:<br>&gt; &gt;<br>&gt; &gt; &nbsp; &nbsp; I installed mvapich2 , which is with the OFED 1.2.5.<br>&gt; &gt;<br>&gt; &gt; &nbsp; &nbsp; 1. when I use mpdboot on a machine, I got :<br>&gt; &gt; &nbsp; &nbsp; &nbsp; mpdboot_inode02 (handle_mpd_output 359): failed to
<br>&gt; &gt; ping mpd on inode02; recvd output={}<br>&gt; &gt; &nbsp; &nbsp; 2. &nbsp;when I try to use mpd to set up mpd ring, as the<br>&gt; &gt; user guide of mpich2:<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mpd &amp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; on node02
<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mpd -h node02 -p port &nbsp; &nbsp; &nbsp; on node01<br>&gt; &gt; &nbsp; &nbsp; I got:<br>&gt; &gt; on node01: &nbsp;(the latter mpd)<br>&gt; &gt; inode01_33435 (connect_lhs 621): invalid challenge from<br>&gt; &gt; inode02 32969: {}
<br>&gt; &gt; inode01_33435 (enter_ring 566): lhs connect failed<br>&gt; &gt; inode01_33435 (run 233): failed to enter ring<br>&gt; &gt;<br>&gt; &gt; on node02: &nbsp;(the first mpd )<br>&gt; &gt;<br>&gt; &gt; inode02_32969: mpd_uncaught_except_tb handling:
<br>&gt; &gt; &nbsp; exceptions.TypeError: sequence item 0: expected string, int found<br>&gt; &gt; &nbsp; &nbsp; /usr/mpi/gcc/mvapich2-0.9.8-15/bin/mpdlib.py &nbsp;733<br>&gt; &gt; handle_ring_listener_connection<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; newsock.correctChallengeResponse
 = \<br>&gt; &gt; &nbsp; &nbsp; /usr/mpi/gcc/mvapich2-0.9.8-15/bin/mpdlib.py &nbsp;488<br>&gt; &gt; handle_active_streams &nbsp; &nbsp; &nbsp; &nbsp;handler(stream,*args)<br>&gt; &gt; &nbsp; &nbsp; /usr/mpi/gcc/mvapich2-0.9.8-15/bin/mpd &nbsp;266 &nbsp;runmainloop<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; rv = 
self.streamHandler.handle_active_streams(timeout=8.0)<br>&gt; &gt; &nbsp; &nbsp; /usr/mpi/gcc/mvapich2-0.9.8-15/bin/mpd &nbsp;240 &nbsp;run<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; self.runmainloop()<br>&gt; &gt; &nbsp; &nbsp; /usr/mpi/gcc/mvapich2-0.9.8-15/bin/mpd &nbsp;1344 &nbsp;?
<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; mpd.run()<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; Has anyone encountered this problem?<br>&gt; &gt; Thanks in advance.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt;<br><br></div></div></blockquote>
</div><br><br clear="all"><br>-- <br>In the middle of difficulty, lies opportunity