Skip to content

Commit 2c896c5

Browse files
author
Ralph Castain
committed
Default allocated nodes to the UP state
1 parent 053d9b2 commit 2c896c5

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
@@ -543,6 +543,7 @@ orte_ras_alps_read_appinfo_file(opal_list_t *nodes, char *filename,
543543
node->slots_inuse = 0;
544544
node->slots_max = 0;
545545
node->slots = 1;
546+
node->state = ORTE_NODE_STATE_UP;
546547
/* need to order these node ids so the regex generator
547548
* can properly function
548549
*/
@@ -579,6 +580,7 @@ orte_ras_alps_read_appinfo_file(opal_list_t *nodes, char *filename,
579580
node->slots_inuse = 0;
580581
node->slots_max = 0;
581582
node->slots = apNodes[ix].numPEs;
583+
node->state = ORTE_NODE_STATE_UP;
582584
/* need to order these node ids so the regex generator
583585
* can properly function
584586
*/

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)