mirror of
https://github.com/ClusterCockpit/cc-docker.git
synced 2025-07-23 21:31:42 +02:00
Slurm version update and rest service add
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM clustercockpit/slurm.base:22.05.6
|
||||
FROM clustercockpit/slurm.base:24.05.3
|
||||
LABEL org.opencontainers.image.authors="jan.eitzinger@fau.de"
|
||||
|
||||
# clean up
|
||||
|
@@ -3,6 +3,7 @@ set -e
|
||||
|
||||
# Determine the system architecture dynamically
|
||||
ARCH=$(uname -m)
|
||||
SLURM_VERSION="24.05.3"
|
||||
|
||||
_delete_secrets() {
|
||||
if [ -f /.secret/munge.key ]; then
|
||||
@@ -90,11 +91,12 @@ _copy_secrets() {
|
||||
# run slurmctld
|
||||
_slurmctld() {
|
||||
cd /root/rpmbuild/RPMS/$ARCH
|
||||
yum -y --nogpgcheck localinstall slurm-22.05.6-1.el8.$ARCH.rpm \
|
||||
slurm-perlapi-22.05.6-1.el8.$ARCH.rpm \
|
||||
slurm-slurmd-22.05.6-1.el8.$ARCH.rpm \
|
||||
slurm-torque-22.05.6-1.el8.$ARCH.rpm \
|
||||
slurm-slurmctld-22.05.6-1.el8.$ARCH.rpm
|
||||
|
||||
yum -y --nogpgcheck localinstall slurm-$SLURM_VERSION*.$ARCH.rpm \
|
||||
slurm-perlapi-$SLURM_VERSION*.$ARCH.rpm \
|
||||
slurm-slurmd-$SLURM_VERSION*.$ARCH.rpm \
|
||||
slurm-torque-$SLURM_VERSION*.$ARCH.rpm \
|
||||
slurm-slurmctld-$SLURM_VERSION*.$ARCH.rpm
|
||||
echo "checking for slurmdbd.conf"
|
||||
while [ ! -f /.secret/slurmdbd.conf ]; do
|
||||
echo -n "."
|
||||
|
@@ -56,7 +56,7 @@ SchedulerType=sched/backfill
|
||||
#SchedulerAuth=
|
||||
#SchedulerPort=
|
||||
#SchedulerRootFilter=
|
||||
SelectType=select/cons_res
|
||||
# SelectType=select/con_res
|
||||
SelectTypeParameters=CR_CPU_Memory
|
||||
# FastSchedule=1
|
||||
#PriorityType=priority/multifactor
|
||||
|
Reference in New Issue
Block a user