From e2134134eaf1391f9cbbaf15adffac1932657610 Mon Sep 17 00:00:00 2001 From: Danny Auble <da@llnl.gov> Date: Tue, 6 Oct 2009 18:59:53 +0000 Subject: [PATCH] updated blocks in error state to print reason --- src/plugins/select/bluegene/plugin/bg_record_functions.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/select/bluegene/plugin/bg_record_functions.c b/src/plugins/select/bluegene/plugin/bg_record_functions.c index 6f56b1f1645..e740b9e677a 100644 --- a/src/plugins/select/bluegene/plugin/bg_record_functions.c +++ b/src/plugins/select/bluegene/plugin/bg_record_functions.c @@ -1423,7 +1423,8 @@ extern int put_block_in_error_state(bg_record_t *bg_record, return SLURM_ERROR; } - info("Setting Block %s to ERROR state.", bg_record->bg_block_id); + info("Setting Block %s to ERROR state. (reason: '%s')", + bg_record->bg_block_id, reason); /* we add the block to these lists so we don't try to schedule on them. */ if(!block_ptr_exist_in_list(bg_lists->job_running, bg_record)) { -- GitLab