From cce97899a4ab36599095d918a2130d2c3975c91c Mon Sep 17 00:00:00 2001 From: Danny Auble <da@schedmd.com> Date: Mon, 12 Sep 2011 12:26:23 -0700 Subject: [PATCH] BGP - If a block is defined in the bluegene.conf file to be a HTC small type set it that way right off the start. --- src/plugins/select/bluegene/bg_dynamic_block.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/plugins/select/bluegene/bg_dynamic_block.c b/src/plugins/select/bluegene/bg_dynamic_block.c index 46a24c709eb..9daf48003e6 100644 --- a/src/plugins/select/bluegene/bg_dynamic_block.c +++ b/src/plugins/select/bluegene/bg_dynamic_block.c @@ -523,7 +523,10 @@ extern bg_record_t *create_small_record(bg_record_t *bg_record, process_nodes(found_record, false); - found_record->conn_type[0] = SELECT_SMALL; + if (bg_record->conn_type[0] >= SELECT_SMALL) + found_record->conn_type[0] = bg_record->conn_type[0]; + else + found_record->conn_type[0] = SELECT_SMALL; xassert(bg_conf->cpu_ratio); found_record->cpu_cnt = bg_conf->cpu_ratio * size; -- GitLab