1
1

fix typo in opal_info_show_component_version and clean up more from ompi_info

This commit was SVN r28389.
Этот коммит содержится в:
Nathan Hjelm 2013-04-24 22:07:06 +00:00
родитель 4896b3bc4b
Коммит c50b99005d
3 изменённых файлов: 1 добавлений и 51 удалений

Просмотреть файл

@ -33,34 +33,6 @@
#include "orte/runtime/orte_info_support.h"
#endif
#include "ompi/mca/allocator/base/base.h"
#include "ompi/mca/coll/base/base.h"
#include "ompi/mca/io/io.h"
#include "ompi/mca/io/base/base.h"
#include "ompi/mca/mpool/base/base.h"
#include "ompi/mca/pml/pml.h"
#include "ompi/mca/pml/base/base.h"
#include "ompi/mca/bml/base/base.h"
#include "ompi/mca/rcache/rcache.h"
#include "ompi/mca/rcache/base/base.h"
#include "ompi/mca/btl/base/base.h"
#include "ompi/mca/mtl/mtl.h"
#include "ompi/mca/mtl/base/base.h"
#include "ompi/mca/topo/base/base.h"
#include "ompi/mca/osc/osc.h"
#include "ompi/mca/osc/base/base.h"
#include "ompi/mca/op/base/base.h"
#include "ompi/mca/vprotocol/base/base.h"
#include "ompi/mca/fbtl/fbtl.h"
#include "ompi/mca/fbtl/base/base.h"
#include "ompi/mca/fs/fs.h"
#include "ompi/mca/fs/base/base.h"
#include "ompi/mca/fcoll/fcoll.h"
#include "ompi/mca/fcoll/base/base.h"
#include "ompi/mca/sharedfp/sharedfp.h"
#include "ompi/mca/sharedfp/base/base.h"
#include "ompi/runtime/params.h"
#if OPAL_ENABLE_FT_CR == 1
#include "ompi/mca/crcp/crcp.h"
#include "ompi/mca/crcp/base/base.h"

Просмотреть файл

@ -72,7 +72,6 @@ int main(int argc, char *argv[])
bool want_all = false;
char **app_env = NULL, **global_env = NULL;
int i;
char *str;
opal_cmd_line_t *ompi_info_cmd_line;
opal_pointer_array_t mca_types;
opal_pointer_array_t component_map;
@ -130,27 +129,6 @@ int main(int argc, char *argv[])
/* init the component map */
OBJ_CONSTRUCT(&component_map, opal_pointer_array_t);
opal_pointer_array_init(&component_map, 256, INT_MAX, 128);
/* Register OPAL's params */
if (OPAL_SUCCESS != (ret = opal_info_register_framework_params(&component_map))) {
if (OPAL_ERR_BAD_PARAM == ret) {
/* output where the error occurred */
opal_info_err_params(&component_map);
}
exit(1);
}
#if OMPI_RTE_ORTE
/* Register ORTE's params */
if (OMPI_SUCCESS != (ret = orte_info_register_framework_params(&component_map))) {
if (OPAL_ERR_BAD_PARAM == ret) {
/* output what we got */
opal_info_do_params(true, opal_cmd_line_is_taken(ompi_info_cmd_line, "internal"),
&mca_types, NULL);
}
exit(1);
}
#endif
/* Register OMPI's params */
if (OMPI_SUCCESS != (ret = ompi_info_register_framework_params(&component_map))) {

Просмотреть файл

@ -772,7 +772,7 @@ void opal_info_show_component_version(opal_pointer_array_t *mca_types,
return;
}
} else {
want_all_components = true;
want_all_types = true;
}
/* Now that we have a valid type, find the right components */