Skip to content

Commit ad108ba

Browse files
author
Ralph Castain
committed
Fix the DVM
Signed-off-by: Ralph Castain <[email protected]>
1 parent 9a8811a commit ad108ba

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

orte/mca/odls/base/odls_base_default_fns.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -485,8 +485,7 @@ int orte_odls_base_default_construct_child_list(opal_buffer_t *buffer,
485485
}
486486
}
487487

488-
if (!ORTE_PROC_IS_HNP &&
489-
!orte_get_attribute(&jdata->attributes, ORTE_JOB_FULLY_DESCRIBED, NULL, OPAL_BOOL)) {
488+
if (!orte_get_attribute(&jdata->attributes, ORTE_JOB_FULLY_DESCRIBED, NULL, OPAL_BOOL)) {
490489
/* compute and save bindings of local children */
491490
if (ORTE_SUCCESS != (rc = orte_rmaps_base_compute_bindings(jdata))) {
492491
ORTE_ERROR_LOG(rc);

orte/mca/rmaps/round_robin/rmaps_rr_mappers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ int orte_rmaps_rr_bynode(orte_job_t *jdata,
359359
return ORTE_ERR_OUT_OF_RESOURCE;
360360
}
361361
nprocs_mapped++;
362-
orte_set_attribute(&proc->attributes, ORTE_PROC_HWLOC_LOCALE, ORTE_ATTR_LOCAL, obj, OPAL_PTR);
362+
orte_set_attribute(&proc->attributes, ORTE_PROC_HWLOC_LOCALE, ORTE_ATTR_LOCAL, obj, OPAL_PTR);
363363
}
364364
/* not all nodes are equal, so only set oversubscribed for
365365
* this node if it is in that state

orte/mca/state/dvm/state_dvm.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ static orte_job_state_t launch_states[] = {
8080
ORTE_JOB_STATE_DAEMONS_LAUNCHED,
8181
ORTE_JOB_STATE_DAEMONS_REPORTED,
8282
ORTE_JOB_STATE_VM_READY,
83+
ORTE_JOB_STATE_MAP,
84+
ORTE_JOB_STATE_MAP_COMPLETE,
8385
ORTE_JOB_STATE_SYSTEM_PREP,
8486
ORTE_JOB_STATE_LAUNCH_APPS,
8587
ORTE_JOB_STATE_LOCAL_LAUNCH_COMPLETE,
@@ -98,6 +100,8 @@ static orte_state_cbfunc_t launch_callbacks[] = {
98100
orte_plm_base_daemons_launched,
99101
orte_plm_base_daemons_reported,
100102
vm_ready,
103+
orte_rmaps_base_map_job,
104+
orte_plm_base_mapping_complete,
101105
orte_plm_base_complete_setup,
102106
orte_plm_base_launch_apps,
103107
orte_state_base_local_launch_complete,
@@ -211,7 +215,7 @@ static void files_ready(int status, void *cbdata)
211215
ORTE_FORCED_TERMINATE(status);
212216
return;
213217
} else {
214-
ORTE_ACTIVATE_JOB_STATE(jdata, ORTE_JOB_STATE_SYSTEM_PREP);
218+
ORTE_ACTIVATE_JOB_STATE(jdata, ORTE_JOB_STATE_MAP);
215219
}
216220
}
217221

orte/orted/orted_submit.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,6 @@ int orte_submit_init(int argc, char *argv[],
370370
} else {
371371
orte_process_info.proc_type = ORTE_PROC_TOOL;
372372
}
373-
374373
if (ORTE_PROC_IS_TOOL) {
375374
if (0 == strncasecmp(orte_cmd_options.hnp, "file", strlen("file"))) {
376375
char input[1024], *filename;

0 commit comments

Comments
 (0)