Move the plm designation to the argv from the env to support those systems not setup to pass env via rsh.
This commit was SVN r21495.
Этот коммит содержится в:
родитель
7f24b41051
Коммит
7a802a9d3a
@ -661,6 +661,11 @@ static int setup_launch(int *argcptr, char ***argvptr,
|
|||||||
proc_vpid_index,
|
proc_vpid_index,
|
||||||
true, NULL);
|
true, NULL);
|
||||||
|
|
||||||
|
/* ensure that only the ssh plm is selected on the remote daemon */
|
||||||
|
opal_argv_append_nosize(&argv, "-mca");
|
||||||
|
opal_argv_append_nosize(&argv, "plm");
|
||||||
|
opal_argv_append_nosize(&argv, "rsh");
|
||||||
|
|
||||||
/* in the rsh environment, we can append multi-word arguments
|
/* in the rsh environment, we can append multi-word arguments
|
||||||
* by enclosing them in quotes. Check for any multi-word
|
* by enclosing them in quotes. Check for any multi-word
|
||||||
* mca params passed to mpirun and include them
|
* mca params passed to mpirun and include them
|
||||||
@ -720,11 +725,6 @@ static void ssh_child(int argc, char **argv,
|
|||||||
/* setup environment */
|
/* setup environment */
|
||||||
env = opal_argv_copy(orte_launch_environ);
|
env = opal_argv_copy(orte_launch_environ);
|
||||||
|
|
||||||
/* ensure that only the ssh plm is selected on the remote daemon */
|
|
||||||
var = mca_base_param_environ_variable("plm", NULL, NULL);
|
|
||||||
opal_setenv(var, "rsh", true, &env);
|
|
||||||
free(var);
|
|
||||||
|
|
||||||
/* We don't need to sense an oversubscribed condition and set the sched_yield
|
/* We don't need to sense an oversubscribed condition and set the sched_yield
|
||||||
* for the node as we are only launching the daemons at this time. The daemons
|
* for the node as we are only launching the daemons at this time. The daemons
|
||||||
* are now smart enough to set the oversubscribed condition themselves when
|
* are now smart enough to set the oversubscribed condition themselves when
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user