Skip to content

Commit 09a7b0f

Browse files
author
Ralph Castain
authored
Merge pull request #3219 from rhc54/topic/getout
Ensure we properly exit with error if we cannot map the job
2 parents 20bf0dd + f8e1e3b commit 09a7b0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

orte/mca/odls/base/odls_base_default_fns.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ int orte_odls_base_default_construct_child_list(opal_buffer_t *buffer,
422422
/* create the map - will already have been done for the novm case */
423423
if (ORTE_SUCCESS != (rc = orte_rmaps_base_map_job(jdata))) {
424424
ORTE_ERROR_LOG(rc);
425-
return rc;
425+
goto REPORT_ERROR;
426426
}
427427
/* find our local procs */
428428
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,
457457
/* compute and save bindings of local children */
458458
if (ORTE_SUCCESS != (rc = orte_rmaps_base_compute_bindings(jdata))) {
459459
ORTE_ERROR_LOG(rc);
460-
return rc;
460+
goto REPORT_ERROR;
461461
}
462462
}
463463

0 commit comments

Comments
 (0)