1
1

Fix a couple of plm modules that were calling a stale function

This commit was SVN r23200.
Этот коммит содержится в:
Ralph Castain 2010-05-23 02:55:47 +00:00
родитель 7c43d6c0f5
Коммит e8f98661bb
2 изменённых файлов: 6 добавлений и 4 удалений

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

@ -487,13 +487,15 @@ static void alps_wait_cb(pid_t pid, int status, void* cbdata){
/* report that the daemon has failed so we break out of the daemon
* callback receive and exit
*/
orte_plm_base_launch_failed(ORTE_PROC_MY_NAME->jobid, pid, status, ORTE_JOB_STATE_FAILED_TO_START);
orte_errmgr.update_state(ORTE_PROC_MY_NAME->jobid, ORTE_JOB_STATE_FAILED_TO_START,
NULL, ORTE_PROC_STATE_UNDEF, status);
} else {
/* an orted must have died unexpectedly after launch - report
* that the daemon has failed so we exit
*/
orte_plm_base_launch_failed(ORTE_PROC_MY_NAME->jobid, pid, status, ORTE_JOB_STATE_ABORTED);
orte_errmgr.update_state(ORTE_PROC_MY_NAME->jobid, ORTE_JOB_STATE_ABORTED,
NULL, ORTE_PROC_STATE_UNDEF, status);
}
}

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

@ -810,8 +810,8 @@ static void failed_start(int fd, short dummy, void *arg)
return;
}
orte_plm_base_launch_failed(ORTE_PROC_MY_NAME->jobid, -1,
ORTE_ERROR_DEFAULT_EXIT_CODE, ORTE_JOB_STATE_FAILED_TO_START);
orte_errmgr.update_state(ORTE_PROC_MY_NAME->jobid, ORTE_JOB_STATE_FAILED_TO_START,
NULL, ORTE_PROC_STATE_UNDEF, ORTE_ERROR_DEFAULT_EXIT_CODE);
}
static int obit_submit(int tid)