This will be included with SLURM v2.4.0. We will probably not release any more version 2.3.x. Thanks!
Quoting Andy Wettstein <[email protected]>: > > Hi, > > This patch moves the check for scontrol after sourcing > /etc/sysconfig/slurm. This allows the $BINDIR to be set in the config > file. > > diff --git a/etc/init.d.slurm b/etc/init.d.slurm > index 6f5b025..c3ace60 100644 > --- a/etc/init.d.slurm > +++ b/etc/init.d.slurm > @@ -55,11 +55,6 @@ else > RETVAL=0 > fi > > -if [ ! -x $BINDIR/scontrol ]; then > - echo "Could not find $BINDIR/scontrol. Bad path?" > - exit 1 > -fi > - > # We can not use a starter program without losing environment > # variables that are critical on Blue Gene systems > if [ -d /bgl/BlueLight/ppcfloor ]; then > @@ -80,6 +75,11 @@ else > SLURMD_OPTIONS="" > fi > > +if [ ! -x $BINDIR/scontrol ]; then > + echo "Could not find $BINDIR/scontrol. Bad path?" > + exit 1 > +fi > + > if [ ! -f $CONFDIR/slurm.conf ]; then > echo "Could not find $CONFDIR/slurm.conf. Bad path?" > exit 1 > > -- > andy wettstein > hpc system administrator > research computing center > university of chicago > 773.702.1104
