Newsgroups: comp.parallel.mpi
From: joep@fwi.uva.nl (Joep Vesseur)
Subject: Re: MPI_Finalize necessary ?
Organization: FWI, University of Amsterdam
Date: 7 Sep 1995 13:30:39 +0200
Message-ID: <42ml4v$1i6@mail.fwi.uva.nl>

Hubertus Franke <frankeh> writes:

>for(;;) 
>   MPI_Init
>   do lots of MPI stuff
>   MPI_Finalize
>   do lots of MPI unrelated stuff.
>   

>For implementors it's typically a way to disconnect cleanly from
>the underlying communication device.

This is prohibited by the MPI specification (at least, the May 5th
version that I have) pp.196:

  7.5 [...]

      MPI_FINALIZE()

      [...]

      This routines cleans up all MPI state. Once this routine is called,
      no MPI routine (even MPI_INIT) may be called.
      [...]

Joep


