From 58dce545133faa4d356dc70674aa907159d21b0f Mon Sep 17 00:00:00 2001 From: Brian Barrett Date: Tue, 26 Sep 2006 15:56:51 +0000 Subject: [PATCH] don't use macro or it will try to use the (now destroyed) MPI_COMM_WORLD, which isn't going to work well Refs trac:419 This commit was SVN r11822. The following Trac tickets were found above: Ticket 419 --> https://svn.open-mpi.org/trac/ompi/ticket/419 --- ompi/mpi/c/init_thread.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ompi/mpi/c/init_thread.c b/ompi/mpi/c/init_thread.c index 3ee059516d..5f93b394c2 100644 --- a/ompi/mpi/c/init_thread.c +++ b/ompi/mpi/c/init_thread.c @@ -53,7 +53,8 @@ int MPI_Init_thread(int *argc, char ***argv, int required, if (ompi_mpi_finalized) { /* JMS show_help */ - return OMPI_ERRHANDLER_INVOKE(null, MPI_ERR_OTHER, FUNC_NAME); + return ompi_errhandler_invoke(NULL, NULL, OMPI_ERRHANDLER_TYPE_COMM, + MPI_ERR_OTHER, FUNC_NAME); } else if (ompi_mpi_initialized) { /* JMS show_help */ return OMPI_ERRHANDLER_INVOKE(MPI_COMM_WORLD, MPI_ERR_OTHER, FUNC_NAME);