Skip to content

Commit

Permalink
Add support for APC 3.11.0
Browse files Browse the repository at this point in the history
Build spack pyxis plugin

Resolves #259
  • Loading branch information
cartalla committed Oct 2, 2024
1 parent 442f4f6 commit 00e2684
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 4 deletions.
16 changes: 12 additions & 4 deletions source/cdk/config_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,14 @@
'3.10.1',
'3.11.0',
]
PARALLEL_CLUSTER_ENROOT_VERSIONS = {
# This can be found on the head node by running 'yum info enroot'
'3.11.0': '3.4.1', # confirmed
}
PARALLEL_CLUSTER_PYXIS_VERSIONS = {
# This can be found on the head node at /opt/parallelcluster/sources
'3.11.0': '0.20.0', # confirmed
}
PARALLEL_CLUSTER_MUNGE_VERSIONS = {
# This can be found on the head node at /opt/parallelcluster/sources
# This can be found on the head node at /etc/chef/local-mode-cache/cache/
Expand All @@ -122,7 +130,7 @@
'3.9.3': '0.5.15', # confirmed
'3.10.0': '0.5.16', # confirmed
'3.10.1': '0.5.16', # confirmed
'3.11.0': '0.5.16', #
'3.11.0': '0.5.16', # confirmed
}
PARALLEL_CLUSTER_PYTHON_VERSIONS = {
# This can be found on the head node at /opt/parallelcluster/pyenv/versions
Expand All @@ -138,7 +146,7 @@
'3.9.3': '3.9.17', # confirmed
'3.10.0': '3.9.19', # confirmed
'3.10.1': '3.9.19', # confirmed
'3.11.0': '3.9.20', #
'3.11.0': '3.9.20', # confirmed
}
PARALLEL_CLUSTER_SLURM_VERSIONS = {
# This can be found on the head node at /etc/chef/local-mode-cache/cache/
Expand All @@ -154,7 +162,7 @@
'3.9.3': '23.11.7', # confirmed
'3.10.0': '23.11.7', # confirmed
'3.10.1': '23.11.7', # confirmed
'3.11.0': '23.11.7', #
'3.11.0': '23.11.10', # confirmed
}
PARALLEL_CLUSTER_PC_SLURM_VERSIONS = {
# This can be found on the head node at /etc/chef/local-mode-cache/cache/
Expand All @@ -170,7 +178,7 @@
'3.9.3': '23-11-7-1', # confirmed
'3.10.0': '23-11-7-1', # confirmed
'3.10.1': '23-11-7-1', # confirmed
'3.11.0': '23-11-10-1', #
'3.11.0': '23-11-10-1', # confirmed
}
SLURM_REST_API_VERSIONS = {
'23-02-2-1': '0.0.39',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
# APC 3.11.0 added the pyxis Slurm Spank plugin
# This needs to also be built on login nodes.
# Currently, I am not doing that so until then, disable the Spank plugin by
# renaming plugstack.conf

- name: Rename plugstack.conf to plugstack.conf.back
shell:
cmd: |
set -ex
plugstack_conf=/opt/slurm/etc/plugstack.conf
if [[ -e $plugstack_conf ]]; then
mv $plugstack_conf ${plugstack_conf}.back
fi
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
- { include_tasks: config-slurmrestd.yml, tags: slurmrestd }
- { include_tasks: config-licenses.yml, tags: licenses }
- { include_tasks: config-slurmdb-accounts.yml, tags: accounts }
- { include_tasks: config-pyxis.yml }

0 comments on commit 00e2684

Please sign in to comment.