Skip to content

Commit 7051e38

Browse files
committed
pml/ob1: add missing ompi_request_wait_completion for buffered sends
This commit adds a call to ompi_request_wait_completion for buffered sends. Without this line it is possible to get into a state where the data is never sent. Fixes open-mpi#1185 (cherry picked from commit open-mpi/ompi@f68c315) Signed-off-by: Nathan Hjelm <[email protected]>
1 parent e8ae71b commit 7051e38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mca/pml/ob1/pml_ob1_isend.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ int mca_pml_ob1_send(void *buf,
201201
return rc;
202202
}
203203

204-
/* free the request and return. don't care if it completes now */
204+
ompi_request_wait_completion (brequest);
205205
ompi_request_free (&brequest);
206206
return OMPI_SUCCESS;
207207
}

0 commit comments

Comments
 (0)