Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/extra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- 'environments/.stackhpc/tofu/cluster_image.auto.tfvars.json'
- 'ansible/roles/doca/**'
- 'ansible/roles/cuda/**'
- 'ansible/roles/slurm_recompile/**' # runs on cuda group
- 'ansible/roles/lustre/**'
- '.github/workflows/extra.yml'
pull_request:
Expand Down
2 changes: 1 addition & 1 deletion ansible/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ roles/*
!roles/gateway/**
!roles/alertmanager/
!roles/alertmanager/**
!roles/slurm_recompile/**
!roles/slurm_recompile/
!roles/slurm_recompile/**
!roles/nhc/
!roles/nhc/**
2 changes: 2 additions & 0 deletions ansible/roles/slurm_recompile/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
# Whether to link slurm against the NVIDIA management library
slurm_recompile_with_nvml: false

slurm_recompile_build_packages:
- rpm-build
4 changes: 4 additions & 0 deletions ansible/roles/slurm_recompile/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
set_fact:
slurm_package: "{{ ansible_facts.packages['slurm-slurmd-ohpc'].0 }}"

- name: Install build packages
ansible.builtin.dnf:
name: "{{ slurm_recompile_build_packages }}"

- name: Recompile and install slurm packages
shell: |
#!/bin/bash
Expand Down