Skip to content

Commit 44d1ba5

Browse files
committed
orte:set orte_oob_base ev_base to non-NULL
need orte_oob_base ev_base to be set to some valid address to keep libevent happy. This partially reverts open-mpi#7010. Signed-off-by: Howard Pritchard <[email protected]>
1 parent 5e9d07d commit 44d1ba5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

orte/mca/oob/base/oob_base_frame.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
* Copyright (c) 2015-2016 Research Organization for Information Science
1717
* and Technology (RIST). All rights reserved.
1818
* Copyright (c) 2017-2019 Intel, Inc. All rights reserved.
19+
* Copyright (c) 2019 Triad National Security, LLC. All rights
20+
* reserved.
1921
* $COPYRIGHT$
2022
*
2123
* Additional copyrights may follow
@@ -110,6 +112,8 @@ static int orte_oob_base_open(mca_base_open_flag_t flags)
110112
opal_hash_table_init(&orte_oob_base.peers, 128);
111113
OBJ_CONSTRUCT(&orte_oob_base.actives, opal_list_t);
112114

115+
orte_oob_base.ev_base = orte_event_base;
116+
113117
#if OPAL_ENABLE_FT_CR == 1
114118
/* register the FT events callback */
115119
orte_state.add_job_state(ORTE_JOB_STATE_FT_CHECKPOINT, orte_oob_base_ft_event, ORTE_ERROR_PRI);

0 commit comments

Comments
 (0)