1
1

Fix a few remaining OMPI_MPI_MCA* references

This commit was SVN r1972.
Этот коммит содержится в:
Jeff Squyres 2004-08-09 15:40:40 +00:00
родитель fa29bb9741
Коммит 6168832376
2 изменённых файлов: 3 добавлений и 3 удалений

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

@ -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) {

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

@ -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_<type> variables to ensure
// out the environment of all OMPI_MCA_<type> 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());