From 9279e4f882ea591f495946be9bfdaffddf649f9b Mon Sep 17 00:00:00 2001 From: Tim Woodall Date: Wed, 14 Sep 2005 21:28:17 +0000 Subject: [PATCH] use sync send to ensure message is received before exiting This commit was SVN r7374. --- ompi/communicator/comm_dyn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ompi/communicator/comm_dyn.c b/ompi/communicator/comm_dyn.c index 9f735057d7..96598327d8 100644 --- a/ompi/communicator/comm_dyn.c +++ b/ompi/communicator/comm_dyn.c @@ -581,7 +581,7 @@ ompi_comm_disconnect_obj *ompi_comm_disconnect_init ( ompi_communicator_t *comm) ret = MCA_PML_CALL(isend (&(obj->buf), 0, MPI_INT, i, OMPI_COMM_BARRIER_TAG, - MCA_PML_BASE_SEND_STANDARD, + MCA_PML_BASE_SEND_SYNCHRONOUS, comm, &(obj->reqs[2*i+1]))); if ( OMPI_SUCCESS != ret ) {