Shaun Jackson noted that MPI_STATUS_IGNORE is actually (effectively)
NULL, so testing for NULL as a bad status parameter here is a bad idea. This commit was SVN r20891.
Этот коммит содержится в:
родитель
47dc1bd493
Коммит
bf8defc475
@ -49,7 +49,7 @@ int MPI_Request_get_status(MPI_Request request, int *flag,
|
||||
|
||||
if( MPI_PARAM_CHECK ) {
|
||||
OMPI_ERR_INIT_FINALIZE(FUNC_NAME);
|
||||
if( (NULL == flag) || (NULL == status) ) {
|
||||
if( (NULL == flag) ) {
|
||||
return OMPI_ERRHANDLER_INVOKE(MPI_COMM_WORLD, MPI_ERR_ARG, FUNC_NAME);
|
||||
} else if (NULL == request) {
|
||||
return OMPI_ERRHANDLER_INVOKE(MPI_COMM_WORLD, MPI_ERR_REQUEST,
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user