LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Jian He (jihe_at_[hidden])
Date: 2003-10-16 00:18:34


Hi,

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.

This is to follow what says in man page:
#
       # Example application schema
       # Note that it may be necessary to specify the entire pathname for
       # "master" and "slave" if you get "File not found" errors from
       # mpirun(1).
       #
       # This schema starts a "master" process on CPU 0 with the argument
       # "42.0", and then 10 "slave" processes (that are all sent from the
       # local node) scheduled across all available CPUs.
       #
       c0 master 42.0
       C -np 10 -s h slave

Do you know why? Thanks!

Jian