<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16674" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=367285914-25072008>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=367285914-25072008> You should be able to use all the nodes (with
MPICH2 installed) for running your job (i.e., You should be able to use the main
node to run your MPI processes).</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=367285914-25072008> If you are using a shared drive to run your
program you should map the drive on all the nodes using the "-map" option of
mpiexec (see the windows developer's guide, available at <A
href="http://www.mcs.anl.gov/research/projects/mpich2/documentation/index.php?s=docs">http://www.mcs.anl.gov/research/projects/mpich2/documentation/index.php?s=docs</A>,
for details)</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=367285914-25072008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=367285914-25072008>Regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=367285914-25072008>Jayesh</SPAN></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> owner-mpich-discuss@mcs.anl.gov
[mailto:owner-mpich-discuss@mcs.anl.gov] <B>On Behalf Of </B>Waruna
Ranasinghe<BR><B>Sent:</B> Friday, July 25, 2008 3:06 AM<BR><B>To:</B>
mpich-discuss@mcs.anl.gov<BR><B>Subject:</B> [mpich-discuss] Cannot use the main
node to run a process of the programme<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr>Hi all,<BR><BR>I'm using MPICH2 in Windows.<BR>I can run my
programme without errors if I don't use the machine in which I execute the
command (Main node).<BR><BR>mpiexec -channel ssm -n 3 -exitcodes -machinefile
"c:\Program Files\MPICH2\bin\hosts.txt" -wdir //<A
href="http://10.8.102.27/ClusterShared">10.8.102.27/ClusterShared</A>
GBMTest<BR><BR>If I use the main node also to execute one of the 3 processes,
then it gives the error below. But it prints the output I wanted too. then it
gives the error.<BR>I wanted to know whether this is an issue with my
programme(GBMTest) or I cant use the main node to run the process.<BR>In the
machinefile I have included three machines. <BR><A
href="http://10.8.102.28">10.8.102.28</A><BR><A
href="http://10.8.102.30">10.8.102.30</A><BR><A
href="http://10.8.102.27">10.8.102.27</A> (main node)<BR><BR>This works fine if
I remove the main node and add another node instead.<BR><BR>this is the
error.<BR>////////////////////////////////////////////////////////////////////////////////////<BR>Fatal
error in MPI_Finalize: Other MPI error, error
stack:<BR>MPI_Finalize(255)............: MPI_Finalize
failed<BR>MPI_Finalize(154)............:<BR>MPID_Finalize(94)............:<BR>MPI_Barrier(406).............:
MPI_Barrier(comm=0x44000002)
failed<BR>MPIR_Barrier(77).............:<BR>MPIC_Sendrecv(120)...........:<BR>MPID_Isend(103)..............:
failure occurred while attempting to send an eage<BR>r
message<BR>MPIDI_CH3_iSend(168).........:<BR>MPIDI_CH3I_Sock_connect(1191):
[ch3:sock] rank 1 unable to connect to rank 2 usi<BR>ng business card
<port=1179 description=cse-365237834578 ifname=<A
href="http://10.8.102.27">10.8.102.27</A> shm_<BR>host=cse-365237834578
shm_queue=376D692D-A683-4917-BF58-13BD35D071E8 shm_pid=284<BR>0
><BR>MPIDU_Sock_post_connect(1228): unable to connect to cse-365237834578 on
port 117<BR>9, exhausted all endpoints (errno
-1)<BR>MPIDU_Sock_post_connect(1244): gethostbyname failed, The requested name
is valid<BR> and was found in the database, but it does not have the
correct associated data<BR> being resolved for. (errno 11004)<BR>job
aborted:<BR>rank: node: exit code[: error message]<BR>0: <A
href="http://10.8.102.28">10.8.102.28</A>: 1<BR>1: <A
href="http://10.8.102.30">10.8.102.30</A>: 1: Fatal error in MPI_Finalize: Other
MPI error, error stack:<BR>MPI_Finalize(255)............: MPI_Finalize
failed<BR>MPI_Finalize(154)............:<BR>MPID_Finalize(94)............:<BR>MPI_Barrier(406).............:
MPI_Barrier(comm=0x44000002)
failed<BR>MPIR_Barrier(77).............:<BR>MPIC_Sendrecv(120)...........:<BR>MPID_Isend(103)..............:
failure occurred while attempting to send an eage<BR>r
message<BR>MPIDI_CH3_iSend(168).........:<BR>MPIDI_CH3I_Sock_connect(1191):
[ch3:sock] rank 1 unable to connect to rank 2 usi<BR>ng business card
<port=1179 description=cse-365237834578 ifname=<A
href="http://10.8.102.27">10.8.102.27</A> shm_<BR>host=cse-365237834578
shm_queue=376D692D-A683-4917-BF58-13BD35D071E8 shm_pid=284<BR>0
><BR>MPIDU_Sock_post_connect(1228): unable to connect to cse-365237834578 on
port 117<BR>9, exhausted all endpoints (errno
-1)<BR>MPIDU_Sock_post_connect(1244): gethostbyname failed, The requested name
is valid<BR> and was found in the database, but it does not have the
correct associated data<BR> being resolved for. (errno 11004)<BR>2: <A
href="http://10.8.102.27">10.8.102.27</A>: 1<BR></DIV></BODY></HTML>