LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Carsten Kutzner (ckutzne_at_[hidden])
Date: 2007-10-09 10:28:32


Altu 59 wrote:
> Hi,
>
> I want to write an MPI program that is comprised of 5 nodes.
> Can I test this with lam on one machine?
>
> How can I create 5 nodes on one machine? Is it even possible?
Hi Al,

just boot LAM without arguments ('lamboot') and let mpirun know the
number of processes you want, e.g.

mpirun -np 5 myprog.x

That should do exactly what you want.
  Carsten