Oops -- sometimes we actually pass NULL for the error_code. Make sure
to handle that nicely without segv'ing. This commit was SVN r19603.
Этот коммит содержится в:
родитель
0cd65bfaa8
Коммит
d6696c46a6
@ -214,5 +214,9 @@ static void backend_fatal(char *type, struct ompi_communicator_t *comm,
|
||||
comm = &ompi_mpi_comm_self;
|
||||
}
|
||||
|
||||
ompi_mpi_abort(comm, *error_code, false);
|
||||
if (NULL != error_code) {
|
||||
ompi_mpi_abort(comm, *error_code, false);
|
||||
} else {
|
||||
ompi_mpi_abort(comm, 1, false);
|
||||
}
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user