Skip to content

Commit

Permalink
Tried to fix temps and tried update to 23.11 but has errors so commen…
Browse files Browse the repository at this point in the history
…ted that part out
  • Loading branch information
XaverStiensmeier committed Dec 13, 2023
1 parent 234dab3 commit 05e5846
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions resources/playbook/roles/bibigrid/files/slurm/cgroup.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# maybe this causes errors when using 23.11 https://slurm.schedmd.com/faq.html#cgroupv2
CgroupMountpoint="/sys/fs/cgroup"
CgroupAutomount=yes
ConstrainCores=no
Expand Down
9 changes: 9 additions & 0 deletions resources/playbook/roles/bibigrid/tasks/042-slurm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@
- slurm-full
- munge

#- name: Download Slurm (TEMPORARY)

Check failure on line 18 in resources/playbook/roles/bibigrid/tasks/042-slurm.yml

View workflow job for this annotation

GitHub Actions / linting-job

yaml[comments]

Missing starting space in comment
# get_url:
# url: "https://docs.cebitec.uni-bielefeld.de/s/FjCP3xQPPnBwSy9/download?path=%2F&files=slurm-full_23.11.0-0_amd64.deb" # Replace with your package link
# dest: "/tmp/package.deb" # Destination where the package will be saved
#- name: Install Slurm package

Check failure on line 22 in resources/playbook/roles/bibigrid/tasks/042-slurm.yml

View workflow job for this annotation

GitHub Actions / linting-job

yaml[comments]

Missing starting space in comment
# apt:
# deb: "/tmp/package.deb"
# state: present # Install the package if not already installed

- name: Create new secret (Munge)
copy:
content: '{{ slurm_conf.munge_key }}'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NodeName={{ name }} AutoBasePath=true BasePath={{ '/vol/scratch/storage' if flavor.ephemeral else '/var/local/storage' }}
{% for worker_group in groups | select('match', '^bibigrid_worker_*') %}
{% set first_worker = groups[worker_group] | first %}
NodeName={{ hostvars[first_worker].name }} AutoBasePath=true BasePath={{ '/vol/scratch/storage' if hostvars[first_worker].flavor.ephemeral else '/var/local/storage' }}
{% set first_worker = groups[worker_group] | first %}
NodeName={{ hostvars[first_worker].name }} AutoBasePath=true BasePath={{ '/vol/scratch/storage' if hostvars[first_worker].flavor.ephemeral else '/var/local/storage' }}
{% endfor %}
Original file line number Diff line number Diff line change
Expand Up @@ -111,5 +111,6 @@ PrivateData=cloud
ResumeFailProgram=/opt/slurm/fail.sh

# job container
# TO BE TESTED
JobContainerType=job_container/tmpfs
PrologFlags=Contain

0 comments on commit 05e5846

Please sign in to comment.