Use the base function to claim a slot when fault groups are not defined
This commit was SVN r21681.
Этот коммит содержится в:
родитель
7161b37c76
Коммит
247ba7e90d
@ -273,11 +273,16 @@ static int orte_rmaps_resilient_map(orte_job_t *jdata)
|
|||||||
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),
|
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),
|
||||||
nd->name));
|
nd->name));
|
||||||
/* put proc on the found node */
|
/* put proc on the found node */
|
||||||
OBJ_RETAIN(nd); /* required to maintain bookkeeping */
|
if (ORTE_SUCCESS != (rc = orte_rmaps_base_claim_slot(jdata, nd, proc->name.vpid, NULL, proc->app_idx,
|
||||||
proc->node = nd;
|
NULL, jdata->map->oversubscribe, false))) {
|
||||||
opal_pointer_array_add(nd->procs, (void*)proc);
|
/** if the code is ORTE_ERR_NODE_FULLY_USED, then we know this
|
||||||
OBJ_RETAIN(proc); /* required to maintain bookkeeping */
|
* really isn't an error
|
||||||
nd->num_procs++;
|
*/
|
||||||
|
if (ORTE_ERR_NODE_FULLY_USED != rc) {
|
||||||
|
ORTE_ERROR_LOG(rc);
|
||||||
|
goto error;
|
||||||
|
}
|
||||||
|
}
|
||||||
/* flag the proc state as non-launched so we'll know to launch it */
|
/* flag the proc state as non-launched so we'll know to launch it */
|
||||||
proc->state = ORTE_PROC_STATE_INIT;
|
proc->state = ORTE_PROC_STATE_INIT;
|
||||||
/* update the node and local ranks so static ports can
|
/* update the node and local ranks so static ports can
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user