1
1
openmpi/ompi/runtime
Jeff Squyres 82d590629d After extensive conversations about this...
- My original patch stands: MPI_FINALIZE directly invokes the
  attribute callbacks on MPI_COMM_SELF
- We added some user-level checks to ensure that they don't call
  MPI_FINALIZE twice (this isn't really required, but it will prevent
  whacky segv's -- they'll at least get a nice error message)
- Removed the attribute callbacks on MPI_COMM_SELF from
  ompi_mpi_comm_finalize (i.e., we just moved them from
  ompi_mpi_comm_finalize to ompi_mpi_finalize -- we just moved this
  process up earlier in the MPI_FINALIZE sequence of events)
- Because there were so many conversations about this, here's the
  rationale:
  - MPI-2:4.8 says that we have to MPI_COMM_FREE MPI_COMM_SELF so that
    the attribute callbacks are invoked.
  - After considerable discussion, we came to the conclusion that
    FREE'ing COMM_SELF is not the issue -- calling the callbacks is
    the issue.
  - So it is sufficent for MPI_FINALIZE to directly invoke these
    attribute callbacks
  - The attribute callbacks are *not* invoked on other communicators
    because said communicators are not MPI_COMM_FREE'ed

This commit was SVN r9628.
2006-04-13 17:00:36 +00:00
..
help-mpi-runtime.txt After extensive conversations about this... 2006-04-13 17:00:36 +00:00
Makefile.am Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
mpiruntime.h Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
ompi_mpi_abort.c Fix minor compiler warning 2006-04-01 12:41:48 +00:00
ompi_mpi_finalize.c After extensive conversations about this... 2006-04-13 17:00:36 +00:00
ompi_mpi_init.c Next step in the project split, mainly source code re-arranging 2006-02-12 01:33:29 +00:00
ompi_mpi_io.c Next step in the project split, mainly source code re-arranging 2006-02-12 01:33:29 +00:00
ompi_mpi_params.c The real name is ompi_mpi_abort_print_stack. 2006-03-31 04:21:09 +00:00
params.h * add missing extern in header file 2006-03-31 02:45:06 +00:00