hi,<br>thanks for your solutions.<br>i tried all solutions given by you ..still same error. can ypu please suggest any other solution?<br>regards,<br>akshar<br><br><div class="gmail_quote">On Sat, Mar 13, 2010 at 9:41 AM,  <span dir="ltr">&lt;<a href="mailto:richard.walsh@comcast.net">richard.walsh@comcast.net</a>&gt;</span> 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 style="font-family: Arial; font-size: 12pt; color: rgb(0, 0, 0);"><br>Akshar bhosale wrote: <div>
<br>&gt;When i do:</div><div>&gt;<br>&gt;/usr/local/mpich-1.2.6/bin/mpicc -o test test.c ,i get test ;but when i do<br>&gt;/usr/local/mpich-1.2.6/bin/mpirun -np 4 test,i get</div><div>&gt;<br>&gt;p0_31341:  p4_error: Path to program is invalid while starting<br>
&gt;/home/npsf/last with rsh on dragon: -1<br>&gt;p4_error: latest msg from perror: No such file or directory error.</div><div>&gt;<br>&gt;please suggest the solution.</div><div><br></div><div>Looks like the directory that your MPI executable &#39;test&#39; is in is:</div>
<div><br></div><div>/home/npsf/last</div><div><br></div><div>Correct?  This directory needs to be visible on each node used</div><div>by MPI to run your program.  You might also need to put a ./ in</div><div>front of the name of the executable, as in ./test . You also need</div>
<div>be able the &#39;rsh&#39; to each of those nodes.  Because you have not</div><div>specified a &#39;machines&#39; file, MPI is using the default file in the install</div><div>tree which normally lists the nodes in simple sequence. Still, I</div>
<div>think the problem option 1 or 2 above.</div><div><br></div><div>rbw </div><div>_______________________________________________<br>Beowulf mailing list, <a href="mailto:Beowulf@beowulf.org" target="_blank">Beowulf@beowulf.org</a> sponsored by Penguin Computing<br>
To change your subscription (digest mode or unsubscribe) visit <a href="http://www.beowulf.org/mailman/listinfo/beowulf" target="_blank">http://www.beowulf.org/mailman/listinfo/beowulf</a><br></div></div></div><br>_______________________________________________<br>

Beowulf mailing list, <a href="mailto:Beowulf@beowulf.org">Beowulf@beowulf.org</a> sponsored by Penguin Computing<br>
To change your subscription (digest mode or unsubscribe) visit <a href="http://www.beowulf.org/mailman/listinfo/beowulf" target="_blank">http://www.beowulf.org/mailman/listinfo/beowulf</a><br>
<br></blockquote></div><br>