<div>Dear Balaji</div><div><br></div><div><br></div>Thanks for suggesting me, I have done the following step<div># cd /etc</div><div>#nano exports</div><div>/usr <a href="http://10.1.1.1/25.0.0.0">10.1.1.1/25.0.0.0</a> (rw,no_root_squash)</div>
<div>#ssh node01</div><div># mount -t nfs ranjit:/usr /usr</div><div>#exit</div><div># cd /home/mpich2-1.3.1</div><div># mpiexec -hosts ranjit,node01 -n 40 ./examples/cpi</div><div><br></div><div>Its work</div><div><br></div>
<div>Now, the program run in both computer- ranjit and node01</div><div><br></div><div>Thanks a lot for suggesting me </div><div><br></div><div><br><br><div class="gmail_quote">On Sun, Nov 28, 2010 at 4:59 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>
You seem to have installed MPICH2 in /usr/local/bin, not your home directory. Here's the error you reported that shows that:<br>
<div class="im"><br>
> [root@ranjit mpich2-1.3.1]# mpiexec -hosts ranjit,node01 -n 5<br>
> ./examples/cpi<br>
> bash: /usr/local/bin/hydra_pmi_proxy: No such file or directory<br>
<br>
</div>Is this directory shared through NFS? If not, you need to install MPICH2 in your home directory. The MPICH2 README has information on how to do this (step 4 specifically). Did you follow those instructions?<br>
<div class="im"><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>
</div><div><div></div><div class="h5">----- Original Message -----<br>
> thanks for reply,<br>
><br>
> But my home directory is shared. i kept the directory mpich2-1.3.1<br>
> inside the home directory.<br>
><br>
> from node# df<br>
> show the shared directory<br>
> ranjit:home home<br>
><br>
> utill now i have same problem<br>
><br>
><br>
> On Sun, Nov 28, 2010 at 12:53 PM, Pavan Balaji < <a href="mailto:balaji@mcs.anl.gov">balaji@mcs.anl.gov</a> ><br>
> wrote:<br>
><br>
><br>
><br>
><br>
> On 11/27/2010 11:06 PM, Ranjit Thapa wrote:<br>
><br>
><br>
> [root@ranjit mpich2-1.3.1]# mpiexec -hosts ranjit,node01 -n 5<br>
> ./examples/cpi<br>
> bash: /usr/local/bin/hydra_pmi_proxy: No such file or directory<br>
><br>
> MPICH2 needs to be present on all the nodes in the same location.<br>
> Looks like MPICH2 is not present on node01. If you have an NFS server,<br>
> it might be easier to install MPICH2 on the NFS shared directory, so<br>
> all nodes can see it.<br>
><br>
><br>
><br>
><br>
> [root@ranjit mpich2-1.3.1]# mpiexec -hosts ranjit, node01 -n 5<br>
> ./examples/cpi<br>
> [proxy:0:0@ranjit] HYDU_create_process (./utils/launch/launch.c:69):<br>
> execvp error on file node01 (No such file or directory)<br>
><br>
> No space between "ranjit," and "node01". Otherwise, mpiexec will think<br>
> that "node01" is the next argument.<br>
><br>
><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>
> Ranjit Thapa<br>
> Senior Research Fellow<br>
> Thin Film and Nanoscience Lab.<br>
> Jadavpur University<br>
> KOL-700032<br>
> Mobile No: +91 9593936060, +91 9804101030<br>
> <a href="http://sites.google.com/site/ranjitphy/home" target="_blank">http://sites.google.com/site/ranjitphy/home</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div>Ranjit Thapa<br>Senior Research Fellow<br>Thin Film and Nanoscience Lab.<br>Jadavpur University<br>KOL-700032</div>
<div>Mobile No: +91 9593936060, +91 9804101030</div>
<div><a href="http://sites.google.com/site/ranjitphy/home" target="_blank">http://sites.google.com/site/ranjitphy/home</a></div><br>
</div>