Hi Tim,
Thanks for help! Sorry my reply is a little late since I was tring
something... It works once I use "-s n0".
No matter what directory is, and whether it is in $PATH, "mpirun" always
needs -s. How come? Does it find binary since "." is in $PATH? So I don't
need set $PATH as the faq says? How to use mpirun without -s?
The second situation is most confusing, it does work if I copy the binary to
the same directory on all nodes, withouth "-s" or changing $PATH. Does this
mean that "mpirun" invokes the binary from every nodes themselves, not
copies from master to salves?
Now it seems the problem is focused on "-s", doesn't it?
On 1/21/07, Tim Prins <tprins_at_[hidden]> wrote:
>
> Hi Lujie,
>
> On Sunday 21 January 2007 04:36 pm, Lujie Zhan wrote:
> > Hi all,
> >
> > I'm using LAM-6.5.9 in the lab, and "lamboot -v" correctly from master
> > machine onto other two machines.
> >
> > The weird thing is, only if I created same folder and copied the binary
> > file to this folder, which is in the same path on other slave machines
> as
> > on the master machine, like "/home/class4171/mpi_test/", I could execute
>
> > "mpirun -np NUM test". Otherwise, either I didn't copy the file or I use
> > different path or folder name, it complained that "...no such file or
> > directory".
> LAM is telling you it cannot find your program executeable. In order for
> LAM
> to find your program 2 things must be true:
> 1. It exists on all nodes
> 2. it is either in your $PATH or an absolute pathname is passed. See
> http://www.lam-mpi.org/faq/category5.php3#question11 for an explanation of
> how LAM finds executeables on the nodes.
>
> Hope this helps,
>
> Tim Prins
>
> >
> > And there is no problem that I run "ssh" or "scp" from master to any
> slave
> > machines, and no need for password. So I really don't know what is the
> > problem.
> >
> > Thanks,
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
--
Lujie
|