Newsgroups: comp.parallel.mpi
From: rosinski@isis.cgd.ucar.edu (Jim Rosinski)
Subject: Starting mpi slaves by hand
Organization: Climate and Global Dynamics Division/NCAR, Boulder, CO
Date: 27 Dec 1996 05:35:03 GMT
Message-ID: <59vn67$otk@ncar.ucar.edu>


I am running a heterogeneous mpich 1.0.13 application on various
architectures (e.g. Cray, Solaris), and need to start slave processes by hand
(as opposed to via a procgroup file) for 2 reasons: First, I want to be able
to redirect stdin and stdout to/from each slave; Second, the slaves need to
be invoked from different directories.

The -p4norem option might get around this, except that it won't work in a
batch environment because the slaves require a 5-digit number (presumably
some kind of port number) that gets printed when the master starts up.  I
can't figure how to make this number available from within an automated
(i.e. batch) script. 

Don't know if I'm on the right track or not because the p4 manual
says: "The [-p4norem] option only makes sense when processes are being
started remotely".  I'm not sure why it says this.  Any ideas on how to
properly address this slave startup problem would be most appreciated.

Jim Rosinski
rosinski@ncar.ucar.edu

