File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 132
132
register : ohpc_gres_conf
133
133
# NB uses restart rather than reload as this is needed in some cases
134
134
135
- - name : Create cgroup.conf
135
+ - name : Template cgroup.conf
136
136
# appears to be required even with NO cgroup plugins: https://slurm.schedmd.com/cgroups.html#cgroup_design
137
- copy :
138
- remote_src : yes
139
- src : /etc/slurm/cgroup.conf.example
137
+ template :
138
+ src : cgroup.conf.j2
140
139
dest : /etc/slurm/cgroup.conf
141
140
mode : " 0644" # perms/ownership based off src from ohpc package
142
141
owner : root
Original file line number Diff line number Diff line change
1
+ ###
2
+ #
3
+ # Slurm cgroup support configuration file
4
+ #
5
+ # See man slurm.conf and man cgroup.conf for further
6
+ # information on cgroup configuration parameters
7
+ #--
8
+ ConstrainCores=yes
9
+ ConstrainDevices=yes
10
+ ConstrainRAMSpace=yes
11
+ ConstrainSwapSpace=yes
You can’t perform that action at this time.
0 commit comments