charmed-hpc / slurm-charms

Juju charms for automating the Day 0 to Day 2 operations of the Slurm workload manager ⚖️🐧
Apache License 2.0
1 stars 5 forks source link

enhancement(slurmctld): Make slurm respect memory constraints #46

Closed jamesbeedy closed 17 hours ago

jamesbeedy commented 1 day ago

These changes introduce default values for SelectTypeParameters and MemSpecLimit.

SelectTypeParameters=CR_CPU_Memory to enable memory allocation enforcement.

MemSpecLimit=1024 to ensure systems always have 1G available memory that jobs cannot consume.

Fixes: #36

NucciTheBoss commented 17 hours ago

There seems to be a rebase conflict preventing me rebasing and merging, so I'll squash and merge instead.