LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Tim Prins (tprins_at_[hidden])
Date: 2007-01-21 17:12:19


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,