From c788f0dd51e8e35ef8874e2e02eaac185414d88c Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Thu, 19 Oct 2006 21:19:08 +0000 Subject: [PATCH] Apparently, the MCA params are being loaded into the environment params of the individual app_contexts as well. Clear them of "bad" ones. This commit was SVN r12198. --- orte/mca/odls/process/odls_process_module.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/orte/mca/odls/process/odls_process_module.c b/orte/mca/odls/process/odls_process_module.c index 0073d60e30..5e928939c1 100755 --- a/orte/mca/odls/process/odls_process_module.c +++ b/orte/mca/odls/process/odls_process_module.c @@ -461,6 +461,12 @@ static int orte_odls_process_fork_local_proc( } else { environ_copy = opal_argv_copy(base_environ); } + /* purge any disallowed component directives */ + opal_unsetenv("rds", &environ_copy); + opal_unsetenv("ras", &environ_copy); + opal_unsetenv("rmaps", &environ_copy); + opal_unsetenv("pls", &environ_copy); + opal_unsetenv("rmgr", &environ_copy); /* special case handling for --prefix: this is somewhat icky, but at least some users do this. :-\ It is possible that