1
1

move the INIT to after the error handler, so it matches MPI_INIT. Thanks to Jeff for catching this

This commit was SVN r24200.
Этот коммит содержится в:
Josh Hursey 2011-01-03 18:16:53 +00:00
родитель 4a2e29eb32
Коммит 2bdff63e6f

Просмотреть файл

@ -86,8 +86,6 @@ int MPI_Init_thread(int *argc, char ***argv, int required,
err = ompi_mpi_init(0, NULL, required, provided);
}
OPAL_CR_INIT_LIBRARY();
/* Since we don't have a communicator to invoke an errorhandler on
here, don't use the fancy-schmancy ERRHANDLER macros; they're
really designed for real communicator objects. Just use the
@ -98,5 +96,8 @@ int MPI_Init_thread(int *argc, char ***argv, int required,
err < 0 ? ompi_errcode_get_mpi_code(err) :
err, FUNC_NAME);
}
OPAL_CR_INIT_LIBRARY();
return MPI_SUCCESS;
}