Skip to content
Closed
Show file tree
Hide file tree
Changes from 4 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
4 changes: 4 additions & 0 deletions image/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ then
done
echo "-- slurmctld is now active ..."

echo "---> Updating node definitions ..."
scontrol delete node=$HOSTNAME
scontrol create $(slurmd -C | head -n1) State=FUTURE

echo "---> Starting the Slurm Node Daemon (slurmd) ..."
exec /usr/sbin/slurmd -D "${@:2}"

Expand Down
3 changes: 2 additions & 1 deletion slurm-cluster-chart/files/slurm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ CommunicationParameters=NoAddrCache

# NODES
MaxNodeCount=10
NodeName=slurmd-[0-9] State=FUTURE CPUs=4
NodeName=slurmd-[0-9] State=FUTURE
TreeWidth=65533
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note this should be in main anyway, although with only 2x nodes it doesn't seem to make a difference: See https://slurm.schedmd.com/dynamic_nodes.html#config


# PARTITIONS
PartitionName=all Default=yes Nodes=ALL
Expand Down
2 changes: 1 addition & 1 deletion slurm-cluster-chart/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
slurmImage: ghcr.io/stackhpc/slurm-docker-cluster:7c0e2d9
slurmImage: ghcr.io/stackhpc/slurm-docker-cluster:0abc891

login:
# Deployment resource name
Expand Down