Cleanup : fix the cornercase with MPI_PROC_NULL persistent requests.
This commit was SVN r32140.
Этот коммит содержится в:
родитель
8d3bea2771
Коммит
bd72628a9d
@ -75,20 +75,6 @@ int MPI_Start(MPI_Request *request)
|
|||||||
OPAL_CR_EXIT_LIBRARY();
|
OPAL_CR_EXIT_LIBRARY();
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
#if 0
|
|
||||||
case OMPI_REQUEST_NOOP:
|
|
||||||
/**
|
|
||||||
* We deal with a MPI_PROC_NULL request. If the request is
|
|
||||||
* already active, fall back to the error case in the default.
|
|
||||||
* Otherwise, mark it active so we can correctly handle it in
|
|
||||||
* the wait*.
|
|
||||||
*/
|
|
||||||
if( OMPI_REQUEST_INACTIVE == (*request)->req_state ) {
|
|
||||||
(*request)->req_state = OMPI_REQUEST_ACTIVE;
|
|
||||||
return MPI_SUCCESS;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return OMPI_ERRHANDLER_INVOKE(MPI_COMM_WORLD, MPI_ERR_REQUEST, FUNC_NAME);
|
return OMPI_ERRHANDLER_INVOKE(MPI_COMM_WORLD, MPI_ERR_REQUEST, FUNC_NAME);
|
||||||
}
|
}
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user