1
1

Ensure the --tree-spawn option is inside any parens from the sh and ksh shell support

Этот коммит содержится в:
Ralph Castain 2015-05-06 15:18:15 -07:00
родитель 554c7c3551
Коммит 8e3f0b1d33

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

@ -662,6 +662,9 @@ static int setup_launch(int *argcptr, char ***argvptr,
/* protect the params */
mca_base_cmd_line_wrap_args(argv);
/* tell the daemon we are in a tree spawn */
opal_argv_append(&argc, &argv, "--tree-spawn");
value = opal_argv_join(argv, ' ');
if (sysconf(_SC_ARG_MAX) < (int)strlen(value)) {
orte_show_help("help-plm-rsh.txt", "cmd-line-too-long",
@ -837,9 +840,6 @@ static int remote_spawn(opal_buffer_t *launch)
goto cleanup;
}
/* tell the daemon we are in a tree spawn */
opal_argv_append(&argc, &argv, "--tree-spawn");
/* get the daemon job object */
if (NULL == (daemons = orte_get_job_data_object(ORTE_PROC_MY_NAME->jobid))) {
ORTE_ERROR_LOG(ORTE_ERR_NOT_FOUND);