Newsgroups: comp.parallel.mpi
From: Edward Bullister <eb>
Subject: MPI Processes
Organization: Fluent Incorporated; Lebanon, NH USA
Date: Wed, 31 Jan 1996 17:59:11 GMT
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <DM24Mo.AnL@fluent.com>

I can invoke my MPI program using mpirun.  Mpirun creates a fixed set of
processes running in parallel:

			MPIRUN
			----------
			|  |  | 
			n0 n1 n2 ...


However, my code is vey tightly coupled to a (serial) control and visualization
program.  The visualization program in fact starts up first, then spawns off my
code as a subprocess and the two communicate via sockets:

			VISUALIZATION
			     ||
			  MyCode
			  -------

This prevents me from using mpirun directly.  Is it possible to somehow hack
mpirun to create (spawn) additional processes after the first process is
running?  

			VISUALIZATION
			     ||
			  MyCode[=n0]
			  -------
			  |  |  |  
			  n1 n2 n3  ...

If this is possible it would make life very, very easy.  The complex control
and
visualization could remain unchanged; the visualization package would see only
a single process [n0], and I could internally deal with parallel issues within
the
scope of my code.  Any thoughts?
-- 
Edward Bullister
http://www.nek.com


