Skip to content

Commit a12aa2f

Browse files
author
Mamzi Bayatpour [email protected] ()
committed
pml/ucx: move pmix finalize to the end of ompi_rte_finalize()
Signed-off-by: Mamzi Bayatpour <[email protected]>
1 parent 5bbc591 commit a12aa2f

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
@@ -972,8 +972,6 @@ static bool check_file(const char *root, const char *path)
972972

973973
int ompi_rte_finalize(void)
974974
{
975-
/* shutdown pmix */
976-
PMIx_Finalize(NULL, 0);
977975

978976
/* cleanup the session directory we created */
979977
if (NULL != opal_process_info.job_session_dir) {
@@ -1033,6 +1031,9 @@ int ompi_rte_finalize(void)
10331031

10341032
opal_finalize ();
10351033

1034+
/* shutdown pmix */
1035+
PMIx_Finalize(NULL, 0);
1036+
10361037
return OMPI_SUCCESS;
10371038
}
10381039

0 commit comments

Comments
 (0)