charmed-hpc / slurm-charms

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

slurmctld charm should configure a sane value for the `TaskPlugin` slurm configuration parameter #16

Closed jamesbeedy closed 2 months ago

jamesbeedy commented 2 months ago

Bug Description

The TaskPlugin configuration is not handled by the charms and requires a custom user-supplied configuration to configure.

To Reproduce

na

Environment

na

Relevant log output

na

Additional context

The TaskPlugin is a configuration parameter we set as custom user supplied config for each deployment.

The slurm charms could configure TaskPlugin=task/cgroup,task/affinity if is_container() is False and TaskPlugin=task/affinity otherwise to provide a sane default value that corresponds with theProctrackType configuration.

NucciTheBoss commented 2 months ago

@jamesbeedy question - does task/cgroup require us to ensure the hybrid cgroups are disabled on the nodes?

jamesbeedy commented 2 months ago

@jamesbeedy question - does task/cgroup require us to ensure the hybrid cgroups are disabled on the nodes?

no