File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 250
250
name : cloudalchemy.grafana
251
251
tasks_from : install.yml
252
252
253
+ - name : Add support for NVIDIA GPU auto detection to Slurm
254
+ hosts : cuda
255
+ become : yes
256
+ tasks :
257
+ - name : Get facts about Cuda installation
258
+ import_role : cuda
259
+ tasks_from : facts.yml
260
+
261
+ - name : Recompile and install slurm packages
262
+ shell : |
263
+ dnf download --source slurm-slurmd-ohpc
264
+ rpm -i slurm-ohpc-23.11.10-320.ohpc.3.1.src.rpm
265
+ dnf install -y @'Development Tools'
266
+ cd /root/rpmbuild/SPECS
267
+ dnf builddep -y slurm.spec
268
+ rpmbuild -bb -D "_with_nvml --with-nvml=/usr/local/cuda-{{ cuda_facts_version_short }}/targets/x86_64-linux/"
269
+ dnf reinstall /root/rpmbuild/RPMS/x86_64/*.rpm
270
+
253
271
- name : Run post.yml hook
254
272
vars :
255
273
appliances_environment_root : " {{ lookup('env', 'APPLIANCES_ENVIRONMENT_ROOT') }}"
You can’t perform that action at this time.
0 commit comments