[mpich-discuss] job in node

Ranjit Thapa ranjit.phy at gmail.com
Sun Nov 28 07:22:56 CST 2010


Dear Balaji


Thanks for suggesting me, I have done the following step
# cd /etc
#nano exports
/usr 10.1.1.1/25.0.0.0 (rw,no_root_squash)
#ssh node01
# mount -t nfs ranjit:/usr /usr
#exit
# cd /home/mpich2-1.3.1
# mpiexec -hosts ranjit,node01 -n 40 ./examples/cpi

Its work

Now, the program run in both computer- ranjit and node01

Thanks a lot for suggesting me



On Sun, Nov 28, 2010 at 4:59 PM, Pavan Balaji <balaji at mcs.anl.gov> wrote:

>
> You seem to have installed MPICH2 in /usr/local/bin, not your home
> directory. Here's the error you reported that shows that:
>
> > [root at ranjit mpich2-1.3.1]# mpiexec -hosts ranjit,node01 -n 5
> > ./examples/cpi
> > bash: /usr/local/bin/hydra_pmi_proxy: No such file or directory
>
> 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?
>
>  -- Pavan
>
> --
> Pavan Balaji
> http://www.mcs.anl.gov/~balaji
>
> ----- Original Message -----
> > thanks for reply,
> >
> > But my home directory is shared. i kept the directory mpich2-1.3.1
> > inside the home directory.
> >
> > from node# df
> > show the shared directory
> > ranjit:home home
> >
> > utill now i have same problem
> >
> >
> > On Sun, Nov 28, 2010 at 12:53 PM, Pavan Balaji < balaji at mcs.anl.gov >
> > wrote:
> >
> >
> >
> >
> > On 11/27/2010 11:06 PM, Ranjit Thapa wrote:
> >
> >
> > [root at ranjit mpich2-1.3.1]# mpiexec -hosts ranjit,node01 -n 5
> > ./examples/cpi
> > bash: /usr/local/bin/hydra_pmi_proxy: No such file or directory
> >
> > MPICH2 needs to be present on all the nodes in the same location.
> > Looks like MPICH2 is not present on node01. If you have an NFS server,
> > it might be easier to install MPICH2 on the NFS shared directory, so
> > all nodes can see it.
> >
> >
> >
> >
> > [root at ranjit mpich2-1.3.1]# mpiexec -hosts ranjit, node01 -n 5
> > ./examples/cpi
> > [proxy:0:0 at ranjit] HYDU_create_process (./utils/launch/launch.c:69):
> > execvp error on file node01 (No such file or directory)
> >
> > No space between "ranjit," and "node01". Otherwise, mpiexec will think
> > that "node01" is the next argument.
> >
> >
> >
> >
> > -- Pavan
> >
> > --
> > Pavan Balaji
> > http://www.mcs.anl.gov/~balaji
> >
> >
> >
> > --
> >
> > Ranjit Thapa
> > Senior Research Fellow
> > Thin Film and Nanoscience Lab.
> > Jadavpur University
> > KOL-700032
> > Mobile No: +91 9593936060, +91 9804101030
> > http://sites.google.com/site/ranjitphy/home
>



-- 
Ranjit Thapa
Senior Research Fellow
Thin Film and Nanoscience Lab.
Jadavpur University
KOL-700032
Mobile No: +91 9593936060, +91 9804101030
http://sites.google.com/site/ranjitphy/home
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20101128/fc159729/attachment-0001.htm>


More information about the mpich-discuss mailing list