Fix a bug in the rankfile mapper when nooversubscribe is set
This commit was SVN r21208.
Этот коммит содержится в:
родитель
388292aed5
Коммит
fa839f4a30
@ -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,9 +420,14 @@ 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))) {
|
||||
ORTE_ERROR_LOG(rc);
|
||||
return rc;
|
||||
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++;
|
||||
}
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user