This will validate much of your configuration file before you install it:

#!/bin/bash
export SLURM_CONF=/path/to/new/slurm.conf
scontrol show config


Quoting Paul Edmon <[email protected]>:


We make quite a few changes to our configuration so it would be nice to sanity check them before we push them into our production environment. Could there be an option in scontrol to do:

scontrol check slurm.conf

It would to a syntax sanity check on the conf, plus it would be nice to see if it can resolve all the hosts as well and fail if it can't.

Thanks.

-Paul Edmon-



Reply via email to