<span>H</span>i,<br> Turns out that the settings in the /etc/hosts file on the AMD machine was incorrect. So, mpdcheck -v -f mpd.hosts gives this : <br><br>AMD machine : ( outwit ) <br><span style="color: rgb(0, 0, 153);">kc@outwit:~$ mpdcheck -v -f mpd.hosts</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">obtaining hostname via gethostname and getfqdn</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">gethostname gives outwit</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">getfqdn gives <a href="http://outwit.nitk.ac.in">outwit.nitk.ac.in</a></span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">checking out unqualified hostname; make sure is not "localhost", etc.</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">checking out qualified hostname; make sure is not "localhost", etc.</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">obtain IP addrs via qualified and unqualified hostnames; make sure other than <a href="http://127.0.0.1">127.0.0.1</a></span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">gethostbyname_ex: ('<a href="http://outwit.nitk.ac.in">outwit.nitk.ac.in</a>', ['outwit'], ['<a href="http://172.16.54.54">172.16.54.54</a>'])</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">gethostbyname_ex: ('<a href="http://outwit.nitk.ac.in">outwit.nitk.ac.in</a>', ['outwit'], ['<a href="http://172.16.54.54">172.16.54.54</a>'])</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">checking that IP addrs resolve to same host</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">now do some gethostbyaddr and gethostbyname_ex for machines in hosts file</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">checking gethostbyXXX for unqualified zeus</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">gethostbyname_ex: ('zeus', [], ['<a href="http://172.16.54.71">172.16.54.71</a>'])</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">checking gethostbyXXX for qualified zeus</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">gethostbyname_ex: ('zeus', [], ['<a href="http://172.16.54.71">172.16.54.71</a>'])</span><br style="color: rgb(0, 0, 153);">
<br style="color: rgb(0, 0, 102);"><br>INTEL machine ( zeus ) <br><span style="color: rgb(0, 0, 153);">kris.c1986@zeus ~]$ mpdcheck -v -f mpd.hosts</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">obtaining hostname via gethostname and getfqdn</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">gethostname gives zeus</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">getfqdn gives <a href="http://zeus.nitk.ac.in">zeus.nitk.ac.in</a></span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">checking out unqualified hostname; make sure is not "localhost", etc.</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">checking out qualified hostname; make sure is not "localhost", etc.</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">obtain IP addrs via qualified and unqualified hostnames; make sure other than <a href="http://127.0.0.1">127.0.0.1</a></span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">gethostbyname_ex: ('<a href="http://zeus.nitk.ac.in">zeus.nitk.ac.in</a>', ['zeus'], ['<a href="http://172.16.54.71">172.16.54.71</a>'])</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">gethostbyname_ex: ('<a href="http://zeus.nitk.ac.in">zeus.nitk.ac.in</a>', ['zeus'], ['<a href="http://172.16.54.71">172.16.54.71</a>'])</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">checking that IP addrs resolve to same host</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">now do some gethostbyaddr and gethostbyname_ex for machines in hosts file</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">checking gethostbyXXX for unqualified outwit</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">gethostbyname_ex: ('outwit', [], ['<a href="http://172.16.54.54">172.16.54.54</a>'])</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">checking gethostbyXXX for qualified outwit</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">gethostbyname_ex: ('outwit', [], ['<a href="http://172.16.54.54">172.16.54.54</a>'])</span><br style="color: rgb(0, 0, 153);">
<br> Seems to be ok. But I still get this error when I try mpdcheck -c on the AMD comp : <br><span style="color: rgb(0, 0, 153);">kc@outwit:~$ mpdcheck -c zeus 33737</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">Traceback (most recent call last):</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);"> File "/home/kc/mpich-install/bin/mpdcheck", line 103, in <module></span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);"> sock.connect((argv[argidx+1],int(argv[argidx+2]))) # note double parens</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);"> File "<string>", line 1, in connect</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">socket.error: (113, 'No route to host')</span><br style="color: rgb(0, 0, 153);"><br><br> The two machines are able to see each other on the network. Cant exaplain why it complains that there is "No route to host" <br>
<br>Krishna Chaitanya K <br><br> <br><div class="gmail_quote">On Thu, Feb 14, 2008 at 2:50 PM, Rajeev Thakur <<a href="mailto:thakur@mcs.anl.gov">thakur@mcs.anl.gov</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;">
<div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">The second test times out perhaps indicates that there
might be a firewall on the AMD machine. See the section A.3 of the installation
guide.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Rajeev</font></span></div><br>
<blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div dir="ltr" align="left" lang="en-us">
<hr>
<font face="Tahoma" size="2"><b>From:</b> Krishna Chaitanya
[mailto:<a href="mailto:kris.c1986@gmail.com" target="_blank">kris.c1986@gmail.com</a>] <br><b>Sent:</b> Thursday, February 14, 2008
11:41 AM<br><b>To:</b> Rajeev Thakur<br><b>Cc:</b>
<a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">mpich-discuss@mcs.anl.gov</a><br><b>Subject:</b> Re: [MPICH] Problem setting up
MPICH between a 32 bit INTEL and a 32 bit AMD machine<br></font><br></div><div><div></div><div class="Wj3C7c">
<div></div>So, what is the error trying to convey? Googling for it, gave <a href="http://tell11.utsi.edu/mpich2-1.0.6p1/bin/mpdcheck" target="_blank">this.</a> <br>I have
flushed the IPtables on both the machines and the firewalls are de-activated.
Could you please elaborate on what kind of settings I need to look into?
<br><br>Thanks,<br>Krishna Chaitanya K <br><br>
<div class="gmail_quote">On Thu, Feb 14, 2008 at 10:58 PM, Rajeev Thakur <<a href="mailto:thakur@mcs.anl.gov" target="_blank">thakur@mcs.anl.gov</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;">
<div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">It
should be possible. mpdcheck is a tool to diagnose whether the network
configuration settings on the machines are ok or not, and whether a process
on one machine can talk to a process on the other. It looks like the
settings need to be fixed in some way.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Rajeev</font></span></div><br>
<blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div dir="ltr" align="left" lang="en-us">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a href="mailto:owner-mpich-discuss@mcs.anl.gov" target="_blank">owner-mpich-discuss@mcs.anl.gov</a> [mailto:<a href="mailto:owner-mpich-discuss@mcs.anl.gov" target="_blank">owner-mpich-discuss@mcs.anl.gov</a>] <b>On Behalf Of
</b>Krishna Chaitanya<br><b>Sent:</b> Thursday, February 14, 2008 10:26
AM<br><b>To:</b> <a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">mpich-discuss@mcs.anl.gov</a><br><b>Subject:</b> [MPICH]
Problem setting up MPICH between a 32 bit INTEL and a 32 bit AMD
machine<br></font><br></div>
<div>
<div></div>
<div>
<div></div>Hi,<br> In one of the
previous posts, you had replied back saying MPICH cannot be put to use
between a 32 bit INTEL machine and a 64 bit AMD machine. Is it possible to
do so between an INTEL and an AMD machine, both of them being 32 bit
processors? <br> Anyway, on
trying mpdcheck -f mpd.hosts on the 32 bit AMD, I am getting the following
error : <br> <span style="color: rgb(0, 0, 153);">ipaddr via uqn
(<a href="http://208.67.216.130" target="_blank">208.67.216.130</a>) does
not match via fqn (<a href="http://208.69.32.130" target="_blank">208.69.32.130</a>)<br><span style="color: rgb(0, 0, 0);"> And
if I try the mpdcheck -s on the AMD node and mpdcheck -c on the INTEL
node, the client times out. The test message gets delivered with the
client and server swapped.<br><br>Thanks,<br>Krishna Chaitanya K
</span><br>
<br><br><br></span><br clear="all"><br>-- <br>In the middle of difficulty,
lies opportunity </div></div></blockquote></div></blockquote></div><br><br clear="all"><br>-- <br>In the middle of difficulty, lies opportunity
</div></div></blockquote></div>
</blockquote></div><br><br clear="all"><br>-- <br>In the middle of difficulty, lies opportunity