File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -78,13 +78,14 @@ int MPI_Start(MPI_Request *request)
78
78
case OMPI_REQUEST_PML :
79
79
case OMPI_REQUEST_COLL :
80
80
case OMPI_REQUEST_PART :
81
- if ( MPI_PARAM_CHECK && !(* request )-> req_persistent ) {
81
+ if ( MPI_PARAM_CHECK && !((* request )-> req_persistent &&
82
+ OMPI_REQUEST_INACTIVE == (* request )-> req_state )) {
82
83
return OMPI_ERRHANDLER_NOHANDLE_INVOKE (MPI_ERR_REQUEST , FUNC_NAME );
83
84
}
84
85
85
86
ret = (* request )-> req_start (1 , request );
86
87
87
- return ret ;
88
+ return OMPI_ERRHANDLER_NOHANDLE_INVOKE ( ret , FUNC_NAME ) ;
88
89
89
90
case OMPI_REQUEST_NOOP :
90
91
/**
Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ int MPI_Startall(int count, MPI_Request requests[])
69
69
! requests [i ]-> req_persistent ||
70
70
(OMPI_REQUEST_PML != requests [i ]-> req_type &&
71
71
OMPI_REQUEST_COLL != requests [i ]-> req_type &&
72
+ OMPI_REQUEST_PART != requests [i ]-> req_type &&
72
73
OMPI_REQUEST_NOOP != requests [i ]-> req_type )) {
73
74
rc = MPI_ERR_REQUEST ;
74
75
break ;
You can’t perform that action at this time.
0 commit comments