Set the return code from the processes upstream.
This commit was SVN r24483.
Этот коммит содержится в:
родитель
c6a5f9706a
Коммит
9bbe00bdc3
@ -489,8 +489,6 @@ static int rte_init(void)
|
||||
OBJ_RETAIN(node); /* keep accounting straight */
|
||||
proc->node = node;
|
||||
proc->nodename = node->name;
|
||||
/* Assume we won't fail unless notified by a child */
|
||||
proc->exit_code = 0;
|
||||
opal_pointer_array_add(jdata->procs, proc);
|
||||
|
||||
/* record that the daemon (i.e., us) is on this node
|
||||
|
@ -731,8 +731,6 @@ int orte_rmaps_base_define_daemons(orte_job_t *jdata)
|
||||
proc->name.vpid = daemons->num_procs; /* take the next available vpid */
|
||||
proc->node = node;
|
||||
proc->nodename = node->name;
|
||||
/* Assume we won't fail unless notified by a child */
|
||||
proc->exit_code = 0;
|
||||
OPAL_OUTPUT_VERBOSE((5, orte_rmaps_base.rmaps_output,
|
||||
"%s rmaps:base:define_daemons add new daemon %s",
|
||||
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),
|
||||
|
@ -887,6 +887,7 @@ static void orte_proc_construct(orte_proc_t* proc)
|
||||
proc->node = NULL;
|
||||
proc->prior_node = NULL;
|
||||
proc->nodename = NULL;
|
||||
proc->exit_code = 0; /* Assume we won't fail unless otherwise notified */
|
||||
proc->rml_uri = NULL;
|
||||
proc->restarts = 0;
|
||||
proc->reported = false;
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user