diff --git a/opal/runtime/opal_finalize.c b/opal/runtime/opal_finalize.c index a029d6b293..05c06e0f9c 100644 --- a/opal/runtime/opal_finalize.c +++ b/opal/runtime/opal_finalize.c @@ -15,6 +15,8 @@ * Copyright (c) 2013-2017 Intel, Inc. All rights reserved. * Copyright (c) 2016-2017 Research Organization for Information Science * and Technology (RIST). All rights reserved. + * Copyright (c) 2017 Amazon.com, Inc. or its affiliates. + * All Rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow @@ -44,6 +46,7 @@ #include "opal/mca/memchecker/base/base.h" #include "opal/mca/memcpy/base/base.h" #include "opal/mca/backtrace/base/base.h" +#include "opal/mca/reachable/base/base.h" #include "opal/mca/timer/base/base.h" #include "opal/mca/hwloc/base/base.h" #include "opal/mca/event/base/base.h" @@ -135,6 +138,8 @@ opal_finalize(void) (void) mca_base_framework_close(&opal_compress_base_framework); #endif + (void) mca_base_framework_close(&opal_reachable_base_framework); + (void) mca_base_framework_close(&opal_event_base_framework); /* close high resolution timers */ diff --git a/opal/runtime/opal_init.c b/opal/runtime/opal_init.c index 03ffa7118d..67a7ef3ad6 100644 --- a/opal/runtime/opal_init.c +++ b/opal/runtime/opal_init.c @@ -18,6 +18,8 @@ * Copyright (c) 2013-2017 Intel, Inc. All rights reserved. * Copyright (c) 2015-2017 Research Organization for Information Science * and Technology (RIST). All rights reserved. + * Copyright (c) 2017 Amazon.com, Inc. or its affiliates. + * All Rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow @@ -49,6 +51,7 @@ #include "opal/mca/patcher/base/base.h" #include "opal/mca/memcpy/base/base.h" #include "opal/mca/hwloc/base/base.h" +#include "opal/mca/reachable/base/base.h" #include "opal/mca/timer/base/base.h" #include "opal/mca/memchecker/base/base.h" #include "opal/mca/if/base/base.h" @@ -596,6 +599,16 @@ opal_init(int* pargc, char*** pargv) goto return_error; } + /* Load reachable framework */ + if (OPAL_SUCCESS != (ret = mca_base_framework_open(&opal_reachable_base_framework, 0))){ + error = "opal_reachable_base_framework"; + goto return_error; + } + if (OPAL_SUCCESS != (ret = opal_reachable_base_select())) { + error = "opal_reachable_base_select"; + goto return_error; + } + #if OPAL_ENABLE_FT_CR == 1 /* * Initialize the compression framework