From 04e0d25646f0eb4114409773bfd09060d36bac43 Mon Sep 17 00:00:00 2001 From: Danny Auble <da@schedmd.com> Date: Mon, 12 Sep 2011 12:24:26 -0700 Subject: [PATCH] BLUEGENE - fixed typos that created bugs. --- src/plugins/select/bluegene/bg_read_config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/select/bluegene/bg_read_config.c b/src/plugins/select/bluegene/bg_read_config.c index 044fe41ef3d..309210b61c4 100644 --- a/src/plugins/select/bluegene/bg_read_config.c +++ b/src/plugins/select/bluegene/bg_read_config.c @@ -223,7 +223,7 @@ extern int parse_blockreq(void **dest, slurm_parser_enum_t type, #endif if (n->small16 || n->small32 || n->small64 || n->small128 || n->small256) { - if (n->conn_type[0] >= SELECT_SMALL) { + if (n->conn_type[0] < SELECT_SMALL) { error("Block def on midplane(s) %s is " "asking for small blocks but given " "TYPE=%s, setting it to Small", @@ -246,7 +246,7 @@ extern int parse_blockreq(void **dest, slurm_parser_enum_t type, for (i=1; i<SYSTEM_DIMENSIONS; i++) { if (n->conn_type[i] == (uint16_t)NO_VAL) - n->conn_type[1] = first_conn_type; + n->conn_type[i] = first_conn_type; else if (n->conn_type[i] >= SELECT_SMALL) { error("Block def on midplane(s) %s dim %d " "is given TYPE=%s but isn't asking " -- GitLab