Commits

Nathan Hjelm committed 401fad7

fix typo in opal_info_show_component_version and clean up more from ompi_info

Comments (0)

Files changed (3)

ompi/tools/ompi_info/components.c

 #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"

ompi/tools/ompi_info/ompi_info.c

     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;
     /* 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))) {

opal/runtime/opal_info_support.c

             return;
         }
     } else {
-        want_all_components = true;
+        want_all_types = true;
     }
     
     /* Now that we have a valid type, find the right components */
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.