Permalink
Browse files

BLUEGENE - only call the fini for the plugin if on a bluegene system

  • Loading branch information...
1 parent 8db1b04 commit 825c8eb7185c1ad56851be060764a9b1ecf33523 @dannyauble dannyauble committed Mar 28, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/slurmctld/controller.c
View
3 src/slurmctld/controller.c
@@ -678,6 +678,7 @@ int main(int argc, char *argv[])
break;
sleep(1);
}
+#ifdef HAVE_BG
/* Always call slurm_select_fini() on some systems like
BlueGene we need to make sure other processes are ended
or we could get a random core from within it's
@@ -686,6 +687,8 @@ int main(int argc, char *argv[])
slurm_select_fini();
#endif
+#endif
+
xfree(slurmctld_cluster_name);
if (cnt) {
info("Slurmctld shutdown completing with %d active agent "

0 comments on commit 825c8eb

Please sign in to comment.