LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Brian W. Barrett (brbarret_at_[hidden])
Date: 2001-12-29 15:07:45


On Thu, 27 Dec 2001, Duane R. Hixon wrote:

> How do I execute a program that resides on my master node without
> having to put a copy of the executable on each slave node? From the
> mpirun documentation, it looks like I should do -s 0, but it doesn't
> work. I'm running lam-6.5.6 on Intel Linux, Red Hat 7.2.

If you are not using one of the COMM_SPAWN functions, the -s option should
work just fine. However, you need to specify the which node to get the
binary from in LAM's nodeid format (n[0-9]*). So, to run the binary foo
on every available node, you would specify:

  mpirun N -s n0 ./foo

If this doesn't help, please send the exact command you are trying to
execute and the resulting output.

Hope that helps,

Brian

-- 
  Brian Barrett
  LAM/MPI developer and all around nice guy
  Have a LAM/MPI day: http://www.lam-mpi.org/
_______________________________________________
This list is archived at http://www.lam-mpi.org/MailArchives/lam/