Skip to content
Open
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
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
HPCTS_VERSION="2025.02"
SLURM_VERSION="24.05.5-1"
SLURM_VERSION="24.05.5"
MARIADB_VERSION=10.11.11
MONGODB_VERSION=7.0
1 change: 1 addition & 0 deletions ondemand/cluster-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ v2:
script_wrapper: |
export PATH="/opt/TurboVNC/bin:$PATH"
export WEBSOCKIFY_CMD="/usr/local/bin/websockify"
export HOME="${HOME:-$(eval echo ~$(whoami))}"
%s
custom:
xdmod:
Expand Down
17 changes: 17 additions & 0 deletions slurm/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,23 @@ then
scontrol reconfigure
fi

# Add partition associations if they don't exist
part_accts=$(sacctmgr list -P associations cluster=hpc partition=compute format=User | wc -l)
if [[ $part_accts -eq 1 ]]; then
echo "Adding partition associations.."
sacctmgr -i add user sfoster account=sfoster cluster=hpc partition=compute
sacctmgr -i add user sfoster account=sfoster cluster=hpc partition=debug
sacctmgr -i add user astewart account=sfoster cluster=hpc partition=compute
sacctmgr -i add user astewart account=sfoster cluster=hpc partition=debug
sacctmgr -i add user hpcadmin account=staff cluster=hpc partition=compute
sacctmgr -i add user hpcadmin account=staff cluster=hpc partition=debug
# Ensure default accounts are set correctly after adding partition associations
sacctmgr -i modify user where name=sfoster set defaultaccount=sfoster
sacctmgr -i modify user where name=astewart set defaultaccount=sfoster
sacctmgr -i modify user where name=hpcadmin set defaultaccount=staff
scontrol reconfigure
fi

echo "---> Starting sshd on the frontend..."
/usr/sbin/sshd -D -e

Expand Down
1 change: 1 addition & 0 deletions slurm/slurm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ SlurmctldPidFile=/var/run/slurmd/slurmctld.pid
SlurmdPidFile=/var/run/slurmd/slurmd.pid
ProctrackType=proctrack/linuxproc
ReturnToService=0
PropagateResourceLimitsExcept=MEMLOCK

# These are example prolog and epilog scripts that show how it is possible
# to initiate performance data collection at the start and end of each
Expand Down