-
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
Update config files to accommodate newer version of Slurm.
- Loading branch information
1 parent
a00fae4
commit c75695c
Showing
12 changed files
with
200 additions
and
81 deletions.
There are no files selected for viewing
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
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/CPUs=${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
Oops, something went wrong.