Hi Pavan,<div><br></div><div>Attached are the error and output files with verbose option set.</div><div>My command line was</div><div><i>mpiexec -verbose -f ~/hostfile -n 2 ./examples/cpi > out 2> err</i></div><div><br>
</div><div>Hostfile contains:</div><div><div><i>optmpi09</i></div><div><i>optmpi10</i></div><div><br></div><div>Thank you.</div><div><div class="gmail_quote">On Sun, Oct 10, 2010 at 4:54 PM, Pavan Balaji <span dir="ltr"><<a href="mailto:balaji@mcs.anl.gov">balaji@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
This does look like a networking setup issue, though I'm puzzled that it works with MPD, but not Hydra, as mentioned in your previous mail.<br>
<br>
Can you run cpi with mpiexec -verbose and send us the output?<br>
<br>
% mpiexec -f hostfile -n 2 ./examples/cpi<br>
<br>
-- Pavan<div class="im"><br>
<br>
On 10/10/2010 02:27 PM, kishor kharbas wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Yes I am able to ping and ssh between the nodes.<br>
<br>
On Sun, Oct 10, 2010 at 3:22 PM, Pavan Balaji <<a href="mailto:balaji@mcs.anl.gov" target="_blank">balaji@mcs.anl.gov</a><br></div><div><div></div><div class="h5">
<mailto:<a href="mailto:balaji@mcs.anl.gov" target="_blank">balaji@mcs.anl.gov</a>>> wrote:<br>
<br>
<br>
[please keep mpich-discuss cc'ed].<br>
<br>
<br>
On 10/10/2010 02:16 PM, kishor kharbas wrote:<br>
<br>
I ran a sample program which uses MPI_Init, MPI_Comm_size,<br>
MPI_Comm_rank, MPI_Finalize and it gets launched on multiple<br>
hosts and<br>
executes to completion.<br>
As soon as I add any communication routine, it throws the same<br>
error.<br>
<br>
Do I need to specify any flag during building, or is there a way<br>
to know<br>
what n/w settings does mpich2 use ??<br>
<br>
<br>
Did you try my suggestion in the previous email? Pasting it here<br>
again for your reference:<br>
<br>
========================================================================<br>
<br>
Can you make sure you can connect from one compute node to another. For<br>
example, suppose you have two nodes in your machinefile, can you ssh or<br>
ping from one node to another?<br>
========================================================================<br>
<br>
-- Pavan<br>
<br>
--<br>
Pavan Balaji<br>
<a href="http://www.mcs.anl.gov/~balaji" target="_blank">http://www.mcs.anl.gov/~balaji</a><br>
<br>
<br>
<br>
<br>
--<br>
/Kishor Kharbas/<br>
/MS Student<br>
Department of Computer Science<br>
NC State University//<br></div></div>
Raleigh, NC 27606/<br>
</blockquote><div><div></div><div class="h5">
<br>
-- <br>
Pavan Balaji<br>
<a href="http://www.mcs.anl.gov/~balaji" target="_blank">http://www.mcs.anl.gov/~balaji</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><i>Kishor Kharbas</i><br><i style="font-family:times new roman,serif">MS Student<br>Department of Computer Science<br>NC State University</i><i style="font-family:times new roman,serif"><br>
Raleigh, NC 27606</i><br>
</div></div>