Exit code (aka call-backs in finalize)

Leslie Hart (hart@nipmuc.fsl.noaa.gov)
Fri, 13 Sep 1996 13:24:13 -0600 (MDT)

I generally like using the call-back functions attached to MPI_COMM_WORLD
to cause exit code to be invoked in MPI_Finalize. There are a few
flaws I think we can clean up with a few sentences.

1) Does this apply only to MPI_COMM_WORLD? I think that is the intent.

2) Is MPI_COMM_SELF better? Maybe, maybe not.

3) When do the call-backs get executed?
I think we need to make this painfully clear. We need to say
that the call-backs are called in reverse order (which is already
said). We also need to say that it is AS THOUGH they were
called immediately before MPI_Finalize. We also need to say
that MPI_COMM_WORLD is not yet freed (maybe we need to rephrase
the part that indicates that the call-backs are invoked by
something a free of MPI_COMM_WORLD).

Regards,
Leslie Hart