Skip to content

Commit 84565a2

Browse files
author
Ralph Castain
committed
Ensure we properly exit with error if we cannot map the job
Signed-off-by: Ralph Castain <[email protected]> (cherry picked from commit f8e1e3b)
1 parent 0b9c842 commit 84565a2

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)