Merge pull request #716 from rhc54/topic/alloc
Default allocated nodes to the UP state
Этот коммит содержится в:
Коммит
bd91225cb5
@ -543,6 +543,7 @@ orte_ras_alps_read_appinfo_file(opal_list_t *nodes, char *filename,
|
|||||||
node->slots_inuse = 0;
|
node->slots_inuse = 0;
|
||||||
node->slots_max = 0;
|
node->slots_max = 0;
|
||||||
node->slots = 1;
|
node->slots = 1;
|
||||||
|
node->state = ORTE_NODE_STATE_UP;
|
||||||
/* need to order these node ids so the regex generator
|
/* need to order these node ids so the regex generator
|
||||||
* can properly function
|
* can properly function
|
||||||
*/
|
*/
|
||||||
@ -579,6 +580,7 @@ orte_ras_alps_read_appinfo_file(opal_list_t *nodes, char *filename,
|
|||||||
node->slots_inuse = 0;
|
node->slots_inuse = 0;
|
||||||
node->slots_max = 0;
|
node->slots_max = 0;
|
||||||
node->slots = apNodes[ix].numPEs;
|
node->slots = apNodes[ix].numPEs;
|
||||||
|
node->state = ORTE_NODE_STATE_UP;
|
||||||
/* need to order these node ids so the regex generator
|
/* need to order these node ids so the regex generator
|
||||||
* can properly function
|
* can properly function
|
||||||
*/
|
*/
|
||||||
|
@ -107,6 +107,7 @@ static int allocate(orte_job_t *jdata, opal_list_t *nodes)
|
|||||||
node->slots_inuse = 0;
|
node->slots_inuse = 0;
|
||||||
node->slots_max = 0;
|
node->slots_max = 0;
|
||||||
node->slots = 1;
|
node->slots = 1;
|
||||||
|
node->state = ORTE_NODE_STATE_UP;
|
||||||
opal_list_append(nodes, &node->super);
|
opal_list_append(nodes, &node->super);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -212,6 +212,7 @@ static int discover(opal_list_t* nodelist, char *pbs_jobid)
|
|||||||
node->slots_inuse = 0;
|
node->slots_inuse = 0;
|
||||||
node->slots_max = 0;
|
node->slots_max = 0;
|
||||||
node->slots = ppn;
|
node->slots = ppn;
|
||||||
|
node->state = ORTE_NODE_STATE_UP;
|
||||||
opal_list_append(nodelist, &node->super);
|
opal_list_append(nodelist, &node->super);
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user