Newsgroups: comp.parallel.mpi
From: Peter Lindstrom <lindstro@cc.gatech.edu>
Subject: Killing MPI processes
Organization: College of Computing, Georgia Tech
Date: 2 Mar 1996 04:50:56 GMT
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <4h8k3g$qdi@mordred.gatech.edu>

I've got a scenario where I don't know at startup how many processes I need.
Hence, I have to run a large number of processes, and later exclude some
of these in the computation. Is there an elegant way of killing off these
processes? If not, how do I put them to sleep indefinitely without having
them eat up a lot of cycles (I'm running part of my program on an smp)?

In order for MPI_Bcast() to work, I assume that I have to create a new
process group (communicator) for the processes that are part of the computation
(i.e. with the sleeping processes excluded). Is this the case, or is there a
way to get around this?

Note that these questions pertain to the IRIX mpich implementation of MPI1.
Is there a FAQ (no tutorials please) that covers these topics? TIA.

-- 
_____________________________________________________________________________
PETER LINDSTROM                   Graphics Visualization and Usability Center
Ph.D. Student                                            College of Computing
lindstro@cc.gatech.edu                        Georgia Institute of Technology
http://www.cc.gatech.edu/gvu/people/Phd/Peter.Lindstrom     Atlanta, GA 30332


