Skip to content

Commit 64ddd42

Browse files
authored
Make not rebuilding slurm packages during cuda image builds possible (#746)
1 parent b07dbd0 commit 64ddd42

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

ansible/fatimage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@
262262
name: grafana-dashboards
263263

264264
- name: Add support for NVIDIA GPU auto detection to Slurm
265-
hosts: cuda
265+
hosts: slurm_recompile
266266
become: yes
267267
tasks:
268268
- name: Recompile slurm

environments/common/inventory/groups

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ freeipa_client
118118
[cuda]
119119
# Hosts to install NVIDIA CUDA on - see ansible/roles/cuda/README.md
120120

121+
[slurm_recompile]
122+
# Hosts to recompile Slurm for - allows supporting Slurm autodetection method 'nvml'
123+
121124
[vgpu]
122125
# Hosts where vGPU/MIG should be configured - see docs/mig.md
123126

environments/common/layouts/everything

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ cluster
6565
[cuda]
6666
# Hosts to install NVIDIA CUDA on - see ansible/roles/cuda/README.md
6767

68+
[slurm_recompile:children]
69+
# Hosts to recompile Slurm for - allows supporting Slurm autodetection method 'nvml'
70+
cuda
71+
6872
[eessi:children]
6973
# Hosts on which EESSI stack should be configured
7074
openhpc

0 commit comments

Comments
 (0)