Sadly no.  There is a feature request for one though: https://bugs.schedmd.com/show_bug.cgi?id=3435

What we've done in the meantime is put together a gitlab runner which basically starts up a mini instance of the scheduler and runs slurmctld on the slurm.conf we want to put in place.  We then have it reject any changes that cause failure.  It's not perfect but it works.  A real syntax checker would be better.

-Paul Edmon-

On 10/12/2021 4:08 PM, bbenede...@goodyear.com wrote:
Is there any sort of syntax checker that we could run our slurm.conf file
through before committing it?  (And sometimes crashing slurmctld in the
process...)

Thanks!


Reply via email to