1
1

Add one more check for failed mapping that rarely occurs, but results in a hang when it does

cmr=v1.8.2:reviewer=rhc

This commit was SVN r31598.
Этот коммит содержится в:
Ralph Castain 2014-05-02 10:35:14 +00:00
родитель 268c454bb2
Коммит 6545e6e9a8

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

@ -301,7 +301,7 @@ void orte_rmaps_base_map_job(int fd, short args, void *cbdata)
/* if we get here without doing the map, or with zero procs in /* if we get here without doing the map, or with zero procs in
* the map, then that's an error * the map, then that's an error
*/ */
if (!did_map || 0 == jdata->num_procs) { if (!did_map || 0 == jdata->num_procs || 0 == jdata->map->num_nodes) {
orte_show_help("help-orte-rmaps-base.txt", "failed-map", true); orte_show_help("help-orte-rmaps-base.txt", "failed-map", true);
ORTE_ACTIVATE_JOB_STATE(jdata, ORTE_JOB_STATE_MAP_FAILED); ORTE_ACTIVATE_JOB_STATE(jdata, ORTE_JOB_STATE_MAP_FAILED);
OBJ_RELEASE(caddy); OBJ_RELEASE(caddy);