diff --git a/oshmem/mca/spml/ikrit/spml_ikrit.c b/oshmem/mca/spml/ikrit/spml_ikrit.c index 1303d894ee..aa77eb7b44 100644 --- a/oshmem/mca/spml/ikrit/spml_ikrit.c +++ b/oshmem/mca/spml/ikrit/spml_ikrit.c @@ -1177,6 +1177,9 @@ int mca_spml_ikrit_fence(void) oshmem_request_wait_any_completion(); } + while (0 < mca_spml_ikrit.n_active_gets) { + oshmem_request_wait_any_completion(); + } SPML_VERBOSE(20, "fence completed"); return OSHMEM_SUCCESS;