Fix a few remaining OMPI_MPI_MCA* references
This commit was SVN r1972.
Этот коммит содержится в:
родитель
fa29bb9741
Коммит
6168832376
@ -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());
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user