Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Commit fe228e6

Browse files
Ralph Castainjjhursey
authored andcommitted
Default allocated nodes to the UP state
(cherry picked from commit 2c896c5)
1 parent 6d0f0d2 commit fe228e6

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

orte/mca/ras/alps/ras_alps_module.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,7 @@ orte_ras_alps_read_appinfo_file(opal_list_t *nodes, char *filename,
549549
node->slots_inuse = 0;
550550
node->slots_max = 0;
551551
node->slots = 1;
552+
node->state = ORTE_NODE_STATE_UP;
552553
/* need to order these node ids so the regex generator
553554
* can properly function
554555
*/
@@ -585,6 +586,7 @@ orte_ras_alps_read_appinfo_file(opal_list_t *nodes, char *filename,
585586
node->slots_inuse = 0;
586587
node->slots_max = 0;
587588
node->slots = apNodes[ix].numPEs;
589+
node->state = ORTE_NODE_STATE_UP;
588590
/* need to order these node ids so the regex generator
589591
* can properly function
590592
*/

orte/mca/ras/lsf/ras_lsf_module.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ static int allocate(orte_job_t *jdata, opal_list_t *nodes)
107107
node->slots_inuse = 0;
108108
node->slots_max = 0;
109109
node->slots = 1;
110+
node->state = ORTE_NODE_STATE_UP;
110111
opal_list_append(nodes, &node->super);
111112
}
112113

orte/mca/ras/tm/ras_tm_module.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ static int discover(opal_list_t* nodelist, char *pbs_jobid)
212212
node->slots_inuse = 0;
213213
node->slots_max = 0;
214214
node->slots = ppn;
215+
node->state = ORTE_NODE_STATE_UP;
215216
opal_list_append(nodelist, &node->super);
216217
} else {
217218

0 commit comments

Comments
 (0)