From 45ac53ebb07f735da31b31bceb6483dab229daef Mon Sep 17 00:00:00 2001 From: Danny Auble <da@llnl.gov> Date: Tue, 14 Jun 2005 20:36:30 +0000 Subject: [PATCH] fix thread starting --- src/plugins/select/bluegene/bgl_part_info.c | 2 +- src/plugins/select/bluegene/bluegene.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/select/bluegene/bgl_part_info.c b/src/plugins/select/bluegene/bgl_part_info.c index 4bb9068bdd9..5f1cb3dd34d 100644 --- a/src/plugins/select/bluegene/bgl_part_info.c +++ b/src/plugins/select/bluegene/bgl_part_info.c @@ -181,7 +181,7 @@ extern int update_partition_list() char reason[128]; int skipped_dealloc = 0; - if(partitions_are_created) + if(!partitions_are_created) return 0; if ((rc = rm_get_partitions_info(part_state, &part_list)) diff --git a/src/plugins/select/bluegene/bluegene.c b/src/plugins/select/bluegene/bluegene.c index 75b4ddfa9a1..ac512c3f828 100644 --- a/src/plugins/select/bluegene/bluegene.c +++ b/src/plugins/select/bluegene/bluegene.c @@ -1365,6 +1365,7 @@ extern int read_bgl_conf(void) fatal("Error, could not create the static partitions"); return SLURM_ERROR; } + debug("Partitions have finished being created."); partitions_are_created = 1; return error_code; -- GitLab