From 948a01230c56ad68def8320ecf870df31a484028 Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Sun, 1 May 2005 16:33:17 +0000 Subject: [PATCH] Initialize the DPS framework before start playing with the arguments. It's just a quick temporary fix so everybody can still play with ompi_info. This commit was SVN r5566. --- src/tools/ompi_info/ompi_info.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/tools/ompi_info/ompi_info.cc b/src/tools/ompi_info/ompi_info.cc index 1d5344927f..04fe60a196 100644 --- a/src/tools/ompi_info/ompi_info.cc +++ b/src/tools/ompi_info/ompi_info.cc @@ -77,6 +77,14 @@ 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,