Skip to content

Commit 9643281

Browse files
authored
Merge pull request #11263 from MamziB/mamzi/pmix-finalize-v5
v5.0.x: pml/ucx: move pmix finalize to the end of ompi_rte_finalize()
2 parents 625d9fe + d80c428 commit 9643281

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ompi/runtime/ompi_rte.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -967,8 +967,6 @@ static bool check_file(const char *root, const char *path)
967967

968968
int ompi_rte_finalize(void)
969969
{
970-
/* shutdown pmix */
971-
PMIx_Finalize(NULL, 0);
972970

973971
/* cleanup the session directory we created */
974972
if (NULL != opal_process_info.job_session_dir) {
@@ -1028,6 +1026,9 @@ int ompi_rte_finalize(void)
10281026

10291027
opal_finalize ();
10301028

1029+
/* shutdown pmix */
1030+
PMIx_Finalize(NULL, 0);
1031+
10311032
return OMPI_SUCCESS;
10321033
}
10331034

0 commit comments

Comments
 (0)