Newsgroups: comp.parallel.mpi
From: peter@usfca.edu (Peter Pacheco)
Subject: Re: [Q]: How to terminate MPI for all processors?
Organization: University of San Francisco
Date: 29 Sep 1995 15:31:52 GMT
Message-ID: <44h3h8$85m@noc.usfca.edu>

MPI_Abort(MPI_Comm comm, int errorcode) should do the job.

Best wishes,
Peter Pacheco

Chang-Hyeon Song (song@express.cs.purdue.edu) wrote:
: HI.
: I am coding for hostless model.  I have to do some testing for a certain
: condition for rank 0, then if the condition is not met, I want to terminate
: MPI gracefully.  If I want to broadcast a certain message to call MPI_Finalize,
: but other host doesn't wait for it.
: How do I terminate MPI for all processors gracefully?
: Thanks in advance.
: ---

: Chang Song

