LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2003-10-20 15:25:06


On Thu, 16 Oct 2003, Jian He wrote:

> As in man page of appschema, my code makes a file to map spawned
> processes to physical nodes. However, I found two processes on each
> node.
>
> The appschema is like:
>
> c4-5 ./minimaster 0 4
>
> I want to run ONE minimaster on each of node 4 and 5. But, ps tells me
> two minimasters running on each.

Correct. This is because you are using the "c" notation, which means
"cpu". You must have lambooted with "cpu=2" (or more) in your boot schema
file. If you use the "n" notation (meaning "node"), it'll launch one per
node.

See the mpirun(1) and bhost(5) man pages, as well as the LAM 7.0.x User's
Guide for more details about "c" and "C" vs. "n" and "N".

-- 
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/