[slurm-users] Use cases for "include" in slurm.conf?
Bas van der Vlies
bas.vandervlies at surf.nl
Wed Sep 21 13:50:07 UTC 2022
On 21/09/2022 10:56, Bjørn-Helge Mevik wrote:
> Ole Holm Nielsen <Ole.H.Nielsen at fysik.dtu.dk> writes:
>
>> Can anyone shed light on the use cases for "include" in slurm.conf?
>
> Until we switched to configless mode, we used to have all partition and
> node definitions in a separate file, with an include in slurm.conf. The
> idea was to keep the things that most frequently was changed in a
> separate file. Also, it made it easier to keep the config of several
> clusters in sync (running diff on their slurm.conf files wouldn't be
> cluttered with node definition differences).
>
In 22.05 you can use the include statement again not tested:
from the doc: https://slurm.schedmd.com/configless_slurm.html
```
If any of the supported config files "Include" additional config files,
the Included configs will ONLY be shipped if their "Include" filename
reference has no path separators and the file is located adjacent to
slurm.conf. Any additional config files will need to be shared a
different way or added to the parent config.
```
We also used include statements before we switched to configless. Same
arguments as Bjorn.
--
--
Bas van der Vlies
| High Performance Computing & Visualization | SURF| Science Park 140 |
1098 XG Amsterdam
| T +31 (0) 20 800 1300 | bas.vandervlies at surf.nl | www.surf.nl |
More information about the slurm-users
mailing list