Add the dfs to ompi_info
This commit was SVN r27613.
Этот коммит содержится в:
родитель
3cecc1569b
Коммит
5241925b62
@ -28,6 +28,7 @@
|
|||||||
#include "opal/runtime/opal_info_support.h"
|
#include "opal/runtime/opal_info_support.h"
|
||||||
|
|
||||||
#include "orte/mca/db/base/base.h"
|
#include "orte/mca/db/base/base.h"
|
||||||
|
#include "orte/mca/dfs/base/base.h"
|
||||||
#include "orte/mca/errmgr/base/base.h"
|
#include "orte/mca/errmgr/base/base.h"
|
||||||
#include "orte/mca/ess/base/base.h"
|
#include "orte/mca/ess/base/base.h"
|
||||||
#include "orte/mca/grpcomm/base/base.h"
|
#include "orte/mca/grpcomm/base/base.h"
|
||||||
@ -59,6 +60,7 @@ void orte_info_register_types(opal_pointer_array_t *mca_types)
|
|||||||
{
|
{
|
||||||
/* frameworks */
|
/* frameworks */
|
||||||
opal_pointer_array_add(mca_types, "db");
|
opal_pointer_array_add(mca_types, "db");
|
||||||
|
opal_pointer_array_add(mca_types, "dfs");
|
||||||
opal_pointer_array_add(mca_types, "errmgr");
|
opal_pointer_array_add(mca_types, "errmgr");
|
||||||
opal_pointer_array_add(mca_types, "ess");
|
opal_pointer_array_add(mca_types, "ess");
|
||||||
opal_pointer_array_add(mca_types, "filem");
|
opal_pointer_array_add(mca_types, "filem");
|
||||||
@ -143,6 +145,20 @@ int orte_info_register_components(opal_pointer_array_t *mca_types,
|
|||||||
goto breakout;
|
goto breakout;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ORTE_SUCCESS != (rc = orte_dfs_base_open()) &&
|
||||||
|
ORTE_ERR_BAD_PARAM != rc) {
|
||||||
|
str = "dfs_base_open";
|
||||||
|
goto error;
|
||||||
|
}
|
||||||
|
map = OBJ_NEW(opal_info_component_map_t);
|
||||||
|
map->type = strdup("dfs");
|
||||||
|
map->components = &orte_dfs_base.components_available;
|
||||||
|
opal_pointer_array_add(component_map, map);
|
||||||
|
if (ORTE_ERR_BAD_PARAM == rc) {
|
||||||
|
str = "dfs";
|
||||||
|
goto breakout;
|
||||||
|
}
|
||||||
|
|
||||||
if (ORTE_SUCCESS != (rc = orte_errmgr_base_open()) &&
|
if (ORTE_SUCCESS != (rc = orte_errmgr_base_open()) &&
|
||||||
ORTE_ERR_BAD_PARAM != rc) {
|
ORTE_ERR_BAD_PARAM != rc) {
|
||||||
str = "errmgr_base_open";
|
str = "errmgr_base_open";
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user