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)
7878 case OMPI_REQUEST_PML :
7979 case OMPI_REQUEST_COLL :
8080 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 )) {
8283 return OMPI_ERRHANDLER_NOHANDLE_INVOKE (MPI_ERR_REQUEST , FUNC_NAME );
8384 }
8485
8586 ret = (* request )-> req_start (1 , request );
8687
87- return ret ;
88+ return OMPI_ERRHANDLER_NOHANDLE_INVOKE ( ret , FUNC_NAME ) ;
8889
8990 case OMPI_REQUEST_NOOP :
9091 /**
Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ int MPI_Startall(int count, MPI_Request requests[])
6969 ! requests [i ]-> req_persistent ||
7070 (OMPI_REQUEST_PML != requests [i ]-> req_type &&
7171 OMPI_REQUEST_COLL != requests [i ]-> req_type &&
72+ OMPI_REQUEST_PART != requests [i ]-> req_type &&
7273 OMPI_REQUEST_NOOP != requests [i ]-> req_type )) {
7374 rc = MPI_ERR_REQUEST ;
7475 break ;
You can’t perform that action at this time.
0 commit comments