1
1

Minor fix -- double check that status isn't MPI_STATUS_IGNORE before

assigning to it

This commit was SVN r2351.
Этот коммит содержится в:
Jeff Squyres 2004-08-28 08:46:36 +00:00
родитель 9a96a9cb80
Коммит c704267665

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

@ -71,11 +71,12 @@ int MPI_Sendrecv(void *sendbuf, int sendcount, MPI_Datatype recvtype,
rc = mca_pml.pml_wait(1, &req, NULL, status);
} else {
if (MPI_STATUS_IGNORE != status) {
status->MPI_ERROR = MPI_SUCCESS;
status->MPI_SOURCE = MPI_PROC_NULL;
status->MPI_TAG = MPI_ANY_TAG;
status->_count = 0;
}
rc = MPI_SUCCESS;
}
OMPI_ERRHANDLER_RETURN(rc, comm, rc, FUNC_NAME);