[slurm-users] Slurm.conf and workers

2024-04-15 Thread Xaver Stiensmeier via slurm-users
Dear slurm-user list, as far as I understood it, the slurm.conf needs to be present on the master and on the workers at slurm.conf (if no other path is set via SLURM_CONF). However, I noticed that when adding a partition only in the master's slurm.conf, all workers were able to "correctly" show t

Re: [slurm-users] slurm.conf

2024-01-18 Thread Cutts, Tim
Can you not also do this with a single configuration file but configuring multiple clusters which the user can choose with the -M option? I suppose it depends on the use case; if you want to be able to choose a dev cluster over the production one, to test new config options, then the environmen

Re: [slurm-users] slurm.conf

2024-01-18 Thread Hermann Schwärzler
Hi Christine, yes, you can either set the environment variable SLURM_CONF to the full path of the configuration-file you want to use and then run any program. Or you can do it like this SLURM_CONF=/your/path/to/slurm.conf sinfo|sbatch|srun|... But I am not quite sure if this is really the be

Re: [slurm-users] slurm.conf

2024-01-18 Thread Bjørn-Helge Mevik
LEROY Christine 208562 writes: > Is there an env variable in SLURM to tell where the slurm.conf is? > We would like to have on the same client node, 2 type of possible submissions > to address 2 different cluster. According to man sbatch: SLURM_CONFThe location of the Slurm

[slurm-users] slurm.conf

2024-01-18 Thread LEROY Christine 208562
Hello all, Is there an env variable in SLURM to tell where the slurm.conf is? We would like to have on the same client node, 2 type of possible submissions to address 2 different cluster. Thanks in advance, Christine

Re: [slurm-users] slurm.conf syntax checker?

2021-10-26 Thread Marcus Wagner
Hi Diego, sorry for the delay. On 10/18/21 14:20, Diego Zuccato wrote: Il 15/10/2021 06:02, Marcus Wagner ha scritto: mostly, our problem was, that we forgot to add/remove a node to/from the partitions/topology file, which caused slurmctld to deny startup. So I wrote a simple checker for th

Re: [slurm-users] slurm.conf syntax checker?

2021-10-18 Thread Diego Zuccato
Il 15/10/2021 06:02, Marcus Wagner ha scritto: mostly, our problem was, that we forgot to add/remove a node to/from the partitions/topology file, which caused slurmctld to deny startup. So I wrote a simple checker for that. Here is the output of a sample run: Even "just" catching syntax errors

Re: [slurm-users] slurm.conf syntax checker?

2021-10-14 Thread Marcus Wagner
mostly, our problem was, that we forgot to add/remove a node to/from the partitions/topology file, which caused slurmctld to deny startup. So I wrote a simple checker for that. Here is the output of a sample run: reading '../conf/rcc/slurm.conf' ... reading '../conf/rcc/nodes.conf' ... reading

Re: [slurm-users] slurm.conf syntax checker?

2021-10-13 Thread Paul Edmon
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

[slurm-users] slurm.conf syntax checker?

2021-10-12 Thread bbenedetto
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! -- - Bill +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ Bill Benedetto The Goodyear Tire &

[slurm-users] slurm.conf Sanity Checker

2018-07-26 Thread Will French
I seem to recall conversations on this list in the past (although my Googling hasn’t turned anything up) about sites that have developed tools to sanity check slurm.conf. Can anyone speak to this? Or even better, would anyone be willing to share their tool(s)? :) We occasionally do silly things