From 2e7d3473f7c58aa6ab1d906a270c3f1515d8f4d5 Mon Sep 17 00:00:00 2001 From: Danny Auble <da@schedmd.com> Date: Wed, 25 Apr 2012 14:51:26 -0700 Subject: [PATCH] BGQ - if the user can't communicate with the database don't make it a fatal when no from the controller. --- src/plugins/select/bluegene/bl_bgq/bridge_linker.cc | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/plugins/select/bluegene/bl_bgq/bridge_linker.cc b/src/plugins/select/bluegene/bl_bgq/bridge_linker.cc index 0a861704a5c..2def2945985 100644 --- a/src/plugins/select/bluegene/bl_bgq/bridge_linker.cc +++ b/src/plugins/select/bluegene/bl_bgq/bridge_linker.cc @@ -75,9 +75,14 @@ static void _setup_ba_mp(int level, uint16_t *coords, Midplane::ConstPtr mp_ptr; int i; - if (!bgqsys) - fatal("_setup_ba_mp: No ComputeHardware ptr"); - + if (!bgqsys) { + if (bg_recover != NOT_FROM_CONTROLLER) + fatal("_setup_ba_mp: No ComputeHardware ptr"); + else { + error("_setup_ba_mp: can't talk to the database"); + return; + } + } if (level > SYSTEM_DIMENSIONS) return; -- GitLab