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: 2004-05-26 09:12:37


On Tue, 25 May 2004, Yu-Cheng Chou wrote:

> How to use a nodefile to specify the nodes that will be used?
> Can I run an MPI C code by typing "mpirun -np 2 nodefile xxx.c" in the
> command line?

The above syntax won't really work. With LAM/MPI, you can not specify
which host to run on by name. You can, however, use an appschema to run
on specific nodes by specifying node numbers within the LAM universe (n0,
n1, ...). I would recommend reading the lamboot(5) and mpirun(5) man
pages, as well as the tutorials on the LAM/MPI web page for more
information.

Brian

-- 
  Brian Barrett
  LAM/MPI developer and all around nice guy
  Have a LAM/MPI day: http://www.lam-mpi.org/