<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Jaspreet Hothi,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>The order of your arguments is not
correct. It should be like this:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>mpiexec -hosts 2 electra.2.com
asterope.2.com cpi.exe<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>-David Ashton<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
owner-mpich-discuss@mcs.anl.gov [mailto:owner-mpich-discuss@mcs.anl.gov] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Jaspreet Hothi<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, June 09, 2006 8:18
AM<br>
<b><span style='font-weight:bold'>To:</span></b> mpich-discuss@mcs.anl.gov<br>
<b><span style='font-weight:bold'>Subject:</span></b> [MPICH] MPICH2 errorno
11004</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Can somebody help me with the following error message <br>
<br>
I am using following command to run the example problem cpi.exe in MPICH2<br>
<br>
<b><span style='font-weight:bold'>C:\Documents and
Settings\Jaspreet>"C:\Program Files\MPICH2\bin\mpiexec.exe" -hosts
2 "C:\Program Files\MPICH2\examples\cpi.exe" <a
href="http://electra.2.com/" target="_blank">electra.2.com</a> <a
href="http://asterope.2.com/" target="_blank">asterope.2.com</a><br>
</span></b><br>
<font color=red><span style='color:red'>The error I am receiving is as follows:
</span></font><br>
<b><span style='font-weight:bold'>Unable to connect to 'C:\Program Files\MPICH2\examples\cpi.exe:8676',<br>
sock error: generic socket failure, error stack:<br>
MPIDU_Sock_post_connect(1200): unable to connect to C:\Program
Files\MPICH2\examples\cpi.exe on port 8676, exhausted all endpoints (errno -1)</span></b>
<b><span style='font-weight:bold'><br>
MPIDU_Sock_post_connect(1216): gethostbyname failed, The requested name is
valid and was found in the database, but it does not have the correct
associated data being resolved for. (errno 11004)<br>
MPIDU_Sock_post_connect(1216): gethostbyname failed, No such host is known.
(err <br>
no 11001)<br>
<br>
</span></b>The <b><span style='font-weight:bold'>C:\Program
Files\MPICH2\examples\ </span></b>folder is shared on both the machines. <br>
<br>
Thanks<o:p></o:p></span></font></p>
</div>
</body>
</html>