these functions always have to return MPI_SUCCESS and not the error code passed to them.
This commit was SVN r5382.
Этот коммит содержится в:
родитель
1010fd3690
Коммит
b1df79aedb
@ -47,6 +47,9 @@ int MPI_Comm_call_errhandler(MPI_Comm comm, int errorcode)
|
||||
|
||||
/* Invoke the errhandler */
|
||||
|
||||
return OMPI_ERRHANDLER_INVOKE(comm, errorcode, FUNC_NAME);
|
||||
OMPI_ERRHANDLER_INVOKE(comm, errorcode, FUNC_NAME);
|
||||
|
||||
/* See MPI-2 8.5 why this function has to return MPI_SUCCESS */
|
||||
return MPI_SUCCESS;
|
||||
}
|
||||
|
||||
|
@ -46,6 +46,9 @@ int MPI_File_call_errhandler(MPI_File fh, int errorcode)
|
||||
}
|
||||
|
||||
/* Invoke the errhandler */
|
||||
OMPI_ERRHANDLER_INVOKE(fh, errorcode, FUNC_NAME);
|
||||
|
||||
/* See MPI-2 8.5 why this function has to return MPI_SUCCESS */
|
||||
return MPI_SUCCESS;
|
||||
|
||||
return OMPI_ERRHANDLER_INVOKE(fh, errorcode, FUNC_NAME);
|
||||
}
|
||||
|
@ -48,5 +48,8 @@ int MPI_Win_call_errhandler(MPI_Win win, int errorcode)
|
||||
|
||||
/* Invoke the errhandler */
|
||||
|
||||
return OMPI_ERRHANDLER_INVOKE(win, errorcode, FUNC_NAME);
|
||||
OMPI_ERRHANDLER_INVOKE(win, errorcode, FUNC_NAME);
|
||||
/* See MPI-2 8.5 why this function has to return MPI_SUCCESS */
|
||||
return MPI_SUCCESS;
|
||||
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user