1
1

Add the dfs to ompi_info

This commit was SVN r27613.
This commit is contained in:
Ralph Castain 2012-11-15 15:54:07 +00:00
parent 3cecc1569b
commit 5241925b62

View File

@ -28,6 +28,7 @@
#include "opal/runtime/opal_info_support.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/ess/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 */
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, "ess");
opal_pointer_array_add(mca_types, "filem");
@ -143,6 +145,20 @@ int orte_info_register_components(opal_pointer_array_t *mca_types,
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()) &&
ORTE_ERR_BAD_PARAM != rc) {
str = "errmgr_base_open";