File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 13
13
* Copyright (c) 2011-2013 Los Alamos National Security, LLC. All rights
14
14
* reserved.
15
15
* Copyright (c) 2013-2016 Intel, Inc. All rights reserved.
16
- * Copyright (c) 2014 Research Organization for Information Science
16
+ * Copyright (c) 2014-2016 Research Organization for Information Science
17
17
* and Technology (RIST). All rights reserved.
18
18
* Copyright (c) 2015 Cisco Systems, Inc. All rights reserved.
19
19
* $COPYRIGHT$
39
39
#endif
40
40
41
41
#include "opal/mca/event/event.h"
42
- #include "opal/mca/pmix/pmix .h"
42
+ #include "opal/mca/pmix/base/base .h"
43
43
#include "opal/util/arch.h"
44
44
#include "opal/util/os_path.h"
45
45
#include "opal/util/output.h"
@@ -283,6 +283,10 @@ int orte_ess_base_app_finalize(void)
283
283
(void ) mca_base_framework_close (& orte_routed_base_framework );
284
284
285
285
(void ) mca_base_framework_close (& orte_rml_base_framework );
286
+ if (NULL != opal_pmix .finalize ) {
287
+ opal_pmix .finalize ();
288
+ (void ) mca_base_framework_close (& opal_pmix_base_framework );
289
+ }
286
290
(void ) mca_base_framework_close (& orte_oob_base_framework );
287
291
(void ) mca_base_framework_close (& orte_state_base_framework );
288
292
Original file line number Diff line number Diff line change 13
13
* Copyright (c) 2012-2013 Los Alamos National Security, LLC.
14
14
* All rights reserved.
15
15
* Copyright (c) 2013-2016 Intel, Inc. All rights reserved.
16
+ * Copyright (c) 2016 Research Organization for Information Science
17
+ * and Technology (RIST). All rights reserved.
16
18
* $COPYRIGHT$
17
19
*
18
20
* Additional copyrights may follow
@@ -540,12 +542,6 @@ static int rte_finalize(void)
540
542
return ret ;
541
543
}
542
544
543
- /* mark us as finalized */
544
- if (NULL != opal_pmix .finalize ) {
545
- opal_pmix .finalize ();
546
- (void ) mca_base_framework_close (& opal_pmix_base_framework );
547
- }
548
-
549
545
/* release the event base */
550
546
if (progress_thread_running ) {
551
547
opal_progress_thread_finalize (NULL );
You can’t perform that action at this time.
0 commit comments