1
1

Minor update - provide one more helpful hint regarding stdin target out-of-range, ensure we exit cleanly since daemons won't have been launched.

This commit was SVN r19847.
Этот коммит содержится в:
Ralph Castain 2008-10-29 16:00:48 +00:00
родитель 95bf870055
Коммит 30b3bc6761
2 изменённых файлов: 7 добавлений и 5 удалений

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

@ -76,12 +76,14 @@ We are truly sorry for the inconvenience.
# #
[stdin-target-out-of-range] [stdin-target-out-of-range]
The requested stdin target is out of range for this job - it points The requested stdin target is out of range for this job - it points
to a process rank that is greater than the number of process in the to a process rank that is greater than the number of processes in the
job. job.
Specified target: %s Specified target: %s
Number of procs: %s Number of procs: %s
This could be caused by specifying a negative number for the stdin This could be caused by specifying a negative number for the stdin
target, or by mistyping the desired rank. Please correct the cmd line target, or by mistyping the desired rank. Remember that MPI ranks begin
and try again. with 0, not 1.
Please correct the cmd line and try again.

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

@ -127,8 +127,8 @@ int orte_plm_base_setup_job(orte_job_t *jdata)
orte_show_help("help-plm-base.txt", "stdin-target-out-of-range", true, orte_show_help("help-plm-base.txt", "stdin-target-out-of-range", true,
ORTE_VPID_PRINT(jdata->stdin_target), ORTE_VPID_PRINT(jdata->stdin_target),
ORTE_VPID_PRINT(jdata->num_procs)); ORTE_VPID_PRINT(jdata->num_procs));
ORTE_UPDATE_EXIT_STATUS(ORTE_ERROR_DEFAULT_EXIT_CODE); orte_finalize();
orte_trigger_event(&orte_exit); exit(ORTE_ERROR_DEFAULT_EXIT_CODE);
} }
/*** RHC: USER REQUEST TO TIE-OFF STDXXX TO /DEV/NULL /*** RHC: USER REQUEST TO TIE-OFF STDXXX TO /DEV/NULL