From 616883237655d2fe6364938e69384554fcbc045f Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Mon, 9 Aug 2004 15:40:40 +0000 Subject: [PATCH] Fix a few remaining OMPI_MPI_MCA* references This commit was SVN r1972. --- src/mca/base/mca_base_cmd_line.c | 2 +- src/tools/ompi_info/components.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mca/base/mca_base_cmd_line.c b/src/mca/base/mca_base_cmd_line.c index c45c7436bc..eafaddab0b 100644 --- a/src/mca/base/mca_base_cmd_line.c +++ b/src/mca/base/mca_base_cmd_line.c @@ -59,7 +59,7 @@ int mca_base_cmd_line_process_args(ompi_cmd_line_t *cmd) return OMPI_SUCCESS; /* Loop through all the -mca args that we've gotten and make env - vars of the form OMPI_MPI_MCA_*=value. This is a memory leak, but + vars of the form OMPI_MCA_*=value. This is a memory leak, but that's how putenv works. :-( */ for (i = 0; NULL != mca_param_argv[i]; ++i) { diff --git a/src/tools/ompi_info/components.cc b/src/tools/ompi_info/components.cc index 4fb37c4db7..cb5c6c07da 100644 --- a/src/tools/ompi_info/components.cc +++ b/src/tools/ompi_info/components.cc @@ -55,7 +55,7 @@ static bool opened_components = false; // Open all MCA components so that they can register their MCA // parameters. Take a shotgun approach here and indiscriminately open // all components -- don't be selective. To this end, we need to clear -// out the environment of all OMPI_MPI_mca_ variables to ensure +// out the environment of all OMPI_MCA_ variables to ensure // that the open algorithms don't try to only open one component. // void ompi_info::open_components() @@ -72,7 +72,7 @@ void ompi_info::open_components() // not by value. for (i = 0; i < mca_types.size(); ++i) { - env = "OMPI_MPI_MCA_" + mca_types[i]; + env = "OMPI_MCA_" + mca_types[i]; if (NULL != getenv(env.c_str())) { env += "="; target = strdup(env.c_str());