1
1

Fix a bug in the rankfile mapper when nooversubscribe is set

This commit was SVN r21208.
Этот коммит содержится в:
Ralph Castain 2009-05-11 23:44:59 +00:00
родитель 388292aed5
Коммит fa839f4a30
2 изменённых файлов: 11 добавлений и 4 удалений

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

@ -52,7 +52,9 @@ Please verify that you have specified the allocated resources properly in
the provided rankfile.
[bad-host]
Rankfile claimed host %s that was not allocated or oversubscribed it's slots:
Rankfile claimed host %s that was not allocated or oversubscribed it's slots.
Please review your rank-slot assignments and your host allocation to ensure
a proper match.
[orte-rmaps-rf:alloc-error]
There are not enough slots available in the system to satisfy the %d slots

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

@ -420,10 +420,15 @@ static int orte_rmaps_rf_map(orte_job_t *jdata)
return ORTE_ERR_SILENT;
}
if (ORTE_SUCCESS != (rc = orte_rmaps_base_claim_slot(jdata, node, rank, rfmap->slot_list,
app->idx, &node_list, jdata->map->oversubscribe, false))) {
app->idx, &node_list, jdata->map->oversubscribe, true))) {
if (ORTE_ERR_NODE_FULLY_USED != rc) {
/* if this is a true error and not the node just being
* full, then report the error and abort
*/
ORTE_ERROR_LOG(rc);
return rc;
}
}
jdata->num_procs++;
}
/* update the starting point */