Skip to content

Commit 4468691

Browse files
committed
Sync up with PRRTE and cleanup stale code
Signed-off-by: Ralph Castain <rhc@pmix.org>
1 parent c1374af commit 4468691

File tree

3 files changed

+2
-17
lines changed

3 files changed

+2
-17
lines changed

config/ompi_setup_prrte.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ AC_DEFUN([OMPI_SETUP_PRRTE],[
114114
opal_prrte_args="$opal_prrte_args --with-platform=$with_prrte_platform"
115115
fi
116116
# add the extra libs
117-
opal_prrte_args="$opal_prrte_args --with-prrte-extra-lib=\"$opal_prrte_extra_libs\" --with-prrte-extra-ltlib=\"$opal_prrte_extra_ltlibs\""
117+
opal_prrte_args="$opal_prrte_args --with-prte-extra-lib=\"$opal_prrte_extra_libs\" --with-prte-extra-ltlib=\"$opal_prrte_extra_ltlibs\""
118118

119119
AC_MSG_CHECKING([final prrte configure args])
120120
AC_MSG_RESULT([$opal_prrte_args])

ompi/runtime/ompi_mpi_finalize.c

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,6 @@ int ompi_mpi_finalize(void)
250250
https://svn.open-mpi.org/trac/ompi/ticket/4669#comment:4 for
251251
more details). */
252252
if (!ompi_async_mpi_finalize && !ompi_singleton) {
253-
#ifdef PMIx_Fence_nb
254253
active = true;
255254
OPAL_POST_OBJECT(&active);
256255
/* Note that use of the non-blocking PMIx fence will
@@ -267,20 +266,6 @@ int ompi_mpi_finalize(void)
267266
active = false;
268267
}
269268
OMPI_LAZY_WAIT_FOR_COMPLETION(active);
270-
#else
271-
/* However, we cannot guarantee that the provided PMIx has
272-
* fence_nb. If it doesn't, then do the best we can: an MPI
273-
* barrier on COMM_WORLD (which isn't the best because of the
274-
* reasons cited above), followed by a blocking PMIx fence
275-
* (which does not call opal_progress()). */
276-
ompi_communicator_t *comm = &ompi_mpi_comm_world.comm;
277-
comm->c_coll->coll_barrier(comm, comm->c_coll->coll_barrier_module);
278-
279-
if (PMIX_SUCCESS != (rc = PMIx_Fence(NULL, 0, NULL, 0))) {
280-
ret = opal_pmix_convert_status(rc);
281-
OMPI_ERROR_LOG(ret);
282-
}
283-
#endif
284269
}
285270

286271
/*

prrte

Submodule prrte updated 946 files

0 commit comments

Comments
 (0)