Add support for the notifier framework into ompi_info
This commit was SVN r20664.
Этот коммит содержится в:
родитель
c2ff8dc5ce
Коммит
fd979b2278
@ -9,7 +9,7 @@
|
|||||||
// University of Stuttgart. All rights reserved.
|
// University of Stuttgart. All rights reserved.
|
||||||
// Copyright (c) 2004-2005 The Regents of the University of California.
|
// Copyright (c) 2004-2005 The Regents of the University of California.
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// Copyright (c) 2006-2008 Cisco Systems, Inc. All rights reserved.
|
// Copyright (c) 2006-2009 Cisco Systems, Inc. All rights reserved.
|
||||||
// $COPYRIGHT$
|
// $COPYRIGHT$
|
||||||
//
|
//
|
||||||
// Additional copyrights may follow
|
// Additional copyrights may follow
|
||||||
@ -92,6 +92,8 @@
|
|||||||
#include "orte/mca/grpcomm/base/base.h"
|
#include "orte/mca/grpcomm/base/base.h"
|
||||||
#include "orte/mca/ess/ess.h"
|
#include "orte/mca/ess/ess.h"
|
||||||
#include "orte/mca/ess/base/base.h"
|
#include "orte/mca/ess/base/base.h"
|
||||||
|
#include "orte/mca/notifier/notifier.h"
|
||||||
|
#include "orte/mca/notifier/base/base.h"
|
||||||
#include "orte/util/show_help.h"
|
#include "orte/util/show_help.h"
|
||||||
#if !ORTE_DISABLE_FULL_SUPPORT
|
#if !ORTE_DISABLE_FULL_SUPPORT
|
||||||
#include "orte/mca/iof/iof.h"
|
#include "orte/mca/iof/iof.h"
|
||||||
@ -292,6 +294,11 @@ void ompi_info::open_components()
|
|||||||
}
|
}
|
||||||
component_map["ess"] = &orte_ess_base_components_available;
|
component_map["ess"] = &orte_ess_base_components_available;
|
||||||
|
|
||||||
|
if (ORTE_SUCCESS != orte_notifier_base_open()) {
|
||||||
|
goto error;
|
||||||
|
}
|
||||||
|
component_map["notifier"] = &mca_notifier_base_components_available;
|
||||||
|
|
||||||
#if !ORTE_DISABLE_FULL_SUPPORT
|
#if !ORTE_DISABLE_FULL_SUPPORT
|
||||||
if (ORTE_SUCCESS != mca_oob_base_open()) {
|
if (ORTE_SUCCESS != mca_oob_base_open()) {
|
||||||
goto error;
|
goto error;
|
||||||
@ -479,6 +486,7 @@ void ompi_info::close_components()
|
|||||||
(void) mca_allocator_base_close();
|
(void) mca_allocator_base_close();
|
||||||
(void) ompi_osc_base_close();
|
(void) ompi_osc_base_close();
|
||||||
(void) orte_grpcomm_base_close();
|
(void) orte_grpcomm_base_close();
|
||||||
|
(void) orte_notifier_base_close();
|
||||||
(void) orte_ess_base_close();
|
(void) orte_ess_base_close();
|
||||||
(void) orte_show_help_finalize();
|
(void) orte_show_help_finalize();
|
||||||
#if !ORTE_DISABLE_FULL_SUPPORT
|
#if !ORTE_DISABLE_FULL_SUPPORT
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
// University of Stuttgart. All rights reserved.
|
// University of Stuttgart. All rights reserved.
|
||||||
// Copyright (c) 2004-2005 The Regents of the University of California.
|
// Copyright (c) 2004-2005 The Regents of the University of California.
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// Copryight (c) 2007-2008 Cisco Systems, Inc. All rights reserved.
|
// Copryight (c) 2007-2009 Cisco Systems, Inc. All rights reserved.
|
||||||
// $COPYRIGHT$
|
// $COPYRIGHT$
|
||||||
//
|
//
|
||||||
// Additional copyrights may follow
|
// Additional copyrights may follow
|
||||||
@ -234,6 +234,7 @@ int main(int argc, char *argv[])
|
|||||||
ompi_info::mca_types.push_back("errmgr");
|
ompi_info::mca_types.push_back("errmgr");
|
||||||
ompi_info::mca_types.push_back("ess");
|
ompi_info::mca_types.push_back("ess");
|
||||||
ompi_info::mca_types.push_back("grpcomm");
|
ompi_info::mca_types.push_back("grpcomm");
|
||||||
|
ompi_info::mca_types.push_back("notifier");
|
||||||
|
|
||||||
// Execute the desired action(s)
|
// Execute the desired action(s)
|
||||||
|
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user