1
1

Merge pull request #3219 from rhc54/topic/getout

Ensure we properly exit with error if we cannot map the job
Этот коммит содержится в:
Ralph Castain 2017-03-21 16:29:56 -07:00 коммит произвёл GitHub
родитель 20bf0dd7c6 f8e1e3bed3
Коммит 09a7b0ffad

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

@ -422,7 +422,7 @@ int orte_odls_base_default_construct_child_list(opal_buffer_t *buffer,
/* create the map - will already have been done for the novm case */ /* create the map - will already have been done for the novm case */
if (ORTE_SUCCESS != (rc = orte_rmaps_base_map_job(jdata))) { if (ORTE_SUCCESS != (rc = orte_rmaps_base_map_job(jdata))) {
ORTE_ERROR_LOG(rc); ORTE_ERROR_LOG(rc);
return rc; goto REPORT_ERROR;
} }
/* find our local procs */ /* find our local procs */
for (n=0; n < jdata->map->nodes->size; n++) { for (n=0; n < jdata->map->nodes->size; n++) {
@ -457,7 +457,7 @@ int orte_odls_base_default_construct_child_list(opal_buffer_t *buffer,
/* 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);
return rc; goto REPORT_ERROR;
} }
} }