diff --git a/src/tools/ompi_info/components.cc b/src/tools/ompi_info/components.cc index 010c9d19d9..83b53c3223 100644 --- a/src/tools/ompi_info/components.cc +++ b/src/tools/ompi_info/components.cc @@ -114,6 +114,13 @@ void ompi_info::open_components() } } + // Open the DPS + + if (ORTE_SUCCESS != orte_dps_open()) { + printf( "Unable to initialize the DPS\n" ); + return; + } + // Open up the MCA mca_base_open(); diff --git a/src/tools/ompi_info/ompi_info.cc b/src/tools/ompi_info/ompi_info.cc index 04fe60a196..1d5344927f 100644 --- a/src/tools/ompi_info/ompi_info.cc +++ b/src/tools/ompi_info/ompi_info.cc @@ -77,14 +77,6 @@ int main(int argc, char *argv[]) exit(ret); } - /* - * Initialize the data packing service. - */ - if (ORTE_SUCCESS != (ret = orte_dps_open())) { - printf( "Unable to initialize the DPS component\n" ); - return ret; - } - ompi_cmd_line_make_opt(cmd_line, 'v', "version", 2, "Show version of Open MPI or a component"); ompi_cmd_line_make_opt(cmd_line, '\0', "param", 2,