Fix the DVM
Signed-off-by: Ralph Castain <rhc@open-mpi.org>
Этот коммит содержится в:
родитель
9a8811a246
Коммит
ad108ba44d
@ -485,8 +485,7 @@ int orte_odls_base_default_construct_child_list(opal_buffer_t *buffer,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!ORTE_PROC_IS_HNP &&
|
if (!orte_get_attribute(&jdata->attributes, ORTE_JOB_FULLY_DESCRIBED, NULL, OPAL_BOOL)) {
|
||||||
!orte_get_attribute(&jdata->attributes, ORTE_JOB_FULLY_DESCRIBED, NULL, OPAL_BOOL)) {
|
|
||||||
/* compute and save bindings of local children */
|
/* compute and save bindings of local children */
|
||||||
if (ORTE_SUCCESS != (rc = orte_rmaps_base_compute_bindings(jdata))) {
|
if (ORTE_SUCCESS != (rc = orte_rmaps_base_compute_bindings(jdata))) {
|
||||||
ORTE_ERROR_LOG(rc);
|
ORTE_ERROR_LOG(rc);
|
||||||
|
@ -80,6 +80,8 @@ static orte_job_state_t launch_states[] = {
|
|||||||
ORTE_JOB_STATE_DAEMONS_LAUNCHED,
|
ORTE_JOB_STATE_DAEMONS_LAUNCHED,
|
||||||
ORTE_JOB_STATE_DAEMONS_REPORTED,
|
ORTE_JOB_STATE_DAEMONS_REPORTED,
|
||||||
ORTE_JOB_STATE_VM_READY,
|
ORTE_JOB_STATE_VM_READY,
|
||||||
|
ORTE_JOB_STATE_MAP,
|
||||||
|
ORTE_JOB_STATE_MAP_COMPLETE,
|
||||||
ORTE_JOB_STATE_SYSTEM_PREP,
|
ORTE_JOB_STATE_SYSTEM_PREP,
|
||||||
ORTE_JOB_STATE_LAUNCH_APPS,
|
ORTE_JOB_STATE_LAUNCH_APPS,
|
||||||
ORTE_JOB_STATE_LOCAL_LAUNCH_COMPLETE,
|
ORTE_JOB_STATE_LOCAL_LAUNCH_COMPLETE,
|
||||||
@ -98,6 +100,8 @@ static orte_state_cbfunc_t launch_callbacks[] = {
|
|||||||
orte_plm_base_daemons_launched,
|
orte_plm_base_daemons_launched,
|
||||||
orte_plm_base_daemons_reported,
|
orte_plm_base_daemons_reported,
|
||||||
vm_ready,
|
vm_ready,
|
||||||
|
orte_rmaps_base_map_job,
|
||||||
|
orte_plm_base_mapping_complete,
|
||||||
orte_plm_base_complete_setup,
|
orte_plm_base_complete_setup,
|
||||||
orte_plm_base_launch_apps,
|
orte_plm_base_launch_apps,
|
||||||
orte_state_base_local_launch_complete,
|
orte_state_base_local_launch_complete,
|
||||||
@ -211,7 +215,7 @@ static void files_ready(int status, void *cbdata)
|
|||||||
ORTE_FORCED_TERMINATE(status);
|
ORTE_FORCED_TERMINATE(status);
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
ORTE_ACTIVATE_JOB_STATE(jdata, ORTE_JOB_STATE_SYSTEM_PREP);
|
ORTE_ACTIVATE_JOB_STATE(jdata, ORTE_JOB_STATE_MAP);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -370,7 +370,6 @@ int orte_submit_init(int argc, char *argv[],
|
|||||||
} else {
|
} else {
|
||||||
orte_process_info.proc_type = ORTE_PROC_TOOL;
|
orte_process_info.proc_type = ORTE_PROC_TOOL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ORTE_PROC_IS_TOOL) {
|
if (ORTE_PROC_IS_TOOL) {
|
||||||
if (0 == strncasecmp(orte_cmd_options.hnp, "file", strlen("file"))) {
|
if (0 == strncasecmp(orte_cmd_options.hnp, "file", strlen("file"))) {
|
||||||
char input[1024], *filename;
|
char input[1024], *filename;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user