1
1

My understanding is that an MPI_WAIT() on an inactive request should

return the empty status (MPI 3.0 page 52 line 46).

This commit was SVN r27880.
Этот коммит содержится в:
George Bosilca 2013-01-21 11:35:42 +00:00
родитель a591fbf06f
Коммит 6bdd2e063a

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

@ -61,6 +61,9 @@ int ompi_request_default_wait(
}
if( req->req_persistent ) {
if( req->req_state == OMPI_REQUEST_INACTIVE ) {
if (MPI_STATUS_IGNORE != status) {
*status = ompi_status_empty;
}
return OMPI_SUCCESS;
}
req->req_state = OMPI_REQUEST_INACTIVE;