-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use official SchedMD debian RPMs to install Slurm (#8)
* Use official SchedMD debian RPMs to install Slurm Update config files to accommodate newer version of Slurm. * Make the Dockefile architecture independent * Add step to build frontend on ARM * Add debug step to CI * Update to ubuntu 22.04 * Fix inconsistent cores per socket * Remove duplicate clustername from slurm.conf * Remove unused env from CI workflow config * Use native arm runners for the arm builds and merge digests * Fix frontend digest names * Add shared munge key for slurm communication across containers Update image to ghcr.io. * Actually add the key, not just update the Dockerfiles * Allow up to 10 compute nodes * Remove testing volume mount on frontend * Remove leftover comment from CI workflow * Remove unnecessary action and update checkout action version
- Loading branch information
1 parent
a00fae4
commit 5e0ceee
Showing
17 changed files
with
856 additions
and
125 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
CgroupAutomount=yes | ||
CgroupReleaseAgentDir="/etc/slurm/cgroup" | ||
### | ||
# | ||
# Slurm cgroup support configuration file | ||
# | ||
# See man slurm.conf and man cgroup.conf for further | ||
# information on cgroup configuration parameters | ||
#-- | ||
CgroupPlugin=cgroup/v1 | ||
ConstrainSwapSpace=no | ||
ConstrainCores=yes | ||
ConstrainDevices=yes | ||
ConstrainRAMSpace=yes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
�q���W/g{nq;Żɝj�mS�-|�0Ia-֫Ŭ�A Z�%�z�b96}@�����hol�<�w���[g��d�J��ૅH�=���%�JI�A]ҕ�S�Է"�m�,�,SY�Mt} | ||
��2F�� | ||
�Fw� |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
CgroupAutomount=yes | ||
CgroupReleaseAgentDir="/etc/slurm/cgroup" | ||
### | ||
# | ||
# Slurm cgroup support configuration file | ||
# | ||
# See man slurm.conf and man cgroup.conf for further | ||
# information on cgroup configuration parameters | ||
#-- | ||
CgroupPlugin=cgroup/v1 | ||
ConstrainSwapSpace=no | ||
ConstrainCores=yes | ||
ConstrainDevices=yes | ||
ConstrainRAMSpace=yes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
#!/bin/bash | ||
|
||
export SLURM_CPUS_ON_NODE=$(cat /proc/cpuinfo | grep processor | wc -l) | ||
sudo sed -i "s/REPLACE_IT/CPUs=${SLURM_CPUS_ON_NODE}/g" /etc/slurm-llnl/slurm.conf | ||
sudo sed -i "s/REPLACE_IT/${SLURM_CPUS_ON_NODE}/g" /etc/slurm/slurm.conf | ||
|
||
sudo service munge start | ||
sudo service slurmctld start | ||
sudo slurmctld | ||
sudo service ssh start | ||
|
||
tail -f /dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
�q���W/g{nq;Żɝj�mS�-|�0Ia-֫Ŭ�A Z�%�z�b96}@�����hol�<�w���[g��d�J��ૅH�=���%�JI�A]ҕ�S�Է"�m�,�,SY�Mt} | ||
��2F�� | ||
�Fw� |
Oops, something went wrong.