@@ -74,9 +74,6 @@ ompi_predefined_errhandler_t *ompi_mpi_errors_abort_addr =
74
74
ompi_predefined_errhandler_t ompi_mpi_errors_return = {{{0 }}};
75
75
ompi_predefined_errhandler_t * ompi_mpi_errors_return_addr =
76
76
& ompi_mpi_errors_return ;
77
- ompi_predefined_errhandler_t ompi_mpi_errors_throw_exceptions = {{{0 }}};
78
- ompi_predefined_errhandler_t * ompi_mpi_errors_throw_exceptions_addr =
79
- & ompi_mpi_errors_throw_exceptions ;
80
77
81
78
static opal_mutex_t errhandler_init_lock = OPAL_MUTEX_STATIC_INIT ;
82
79
ompi_errhandler_t * ompi_initial_error_handler_eh = NULL ;
@@ -192,26 +189,6 @@ int ompi_errhandler_init(void)
192
189
"MPI_ERRORS_ABORT" ,
193
190
sizeof (ompi_mpi_errors_abort .eh .eh_name ));
194
191
195
- /* If we're going to use C++, functions will be fixed up during
196
- MPI::Init. Note that it is proper to use ERRHANDLER_LANG_C here;
197
- the dispatch function is in C (although in libmpi_cxx); the
198
- conversion from C handles to C++ handles happens in that dispatch
199
- function -- not the errhandler_invoke.c stuff here in libmpi. */
200
- OBJ_CONSTRUCT ( & ompi_mpi_errors_throw_exceptions .eh , ompi_errhandler_t );
201
- ompi_mpi_errors_throw_exceptions .eh .eh_mpi_object_type =
202
- OMPI_ERRHANDLER_TYPE_PREDEFINED ;
203
- ompi_mpi_errors_throw_exceptions .eh .eh_lang = OMPI_ERRHANDLER_LANG_C ;
204
- ompi_mpi_errors_throw_exceptions .eh .eh_comm_fn =
205
- ompi_mpi_errors_are_fatal_comm_handler ;
206
- ompi_mpi_errors_throw_exceptions .eh .eh_file_fn =
207
- ompi_mpi_errors_are_fatal_file_handler ;
208
- ompi_mpi_errors_throw_exceptions .eh .eh_win_fn =
209
- ompi_mpi_errors_are_fatal_win_handler ;
210
- ompi_mpi_errors_throw_exceptions .eh .eh_fort_fn = NULL ;
211
- opal_string_copy (ompi_mpi_errors_throw_exceptions .eh .eh_name ,
212
- "MPI_ERRORS_THROW_EXCEPTIONS" ,
213
- sizeof (ompi_mpi_errors_throw_exceptions .eh .eh_name ));
214
-
215
192
/* Lets initialize the initial error handler if not already done */
216
193
char * env = getenv ("OMPI_MCA_mpi_initial_errhandler" );
217
194
if ( NULL != env ) {
@@ -228,7 +205,6 @@ int ompi_errhandler_finalize(void)
228
205
{
229
206
OBJ_DESTRUCT (& ompi_mpi_errhandler_null .eh );
230
207
OBJ_DESTRUCT (& ompi_mpi_errors_return .eh );
231
- OBJ_DESTRUCT (& ompi_mpi_errors_throw_exceptions .eh );
232
208
OBJ_DESTRUCT (& ompi_mpi_errors_are_fatal .eh );
233
209
234
210
/* JMS Add stuff here checking for unreleased errorhandlers,
0 commit comments