Skip to content

Instantly share code, notes, and snippets.

@solace
Last active September 15, 2021 09:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save solace/20bb36a015321cc239d0df37fc9e16cc to your computer and use it in GitHub Desktop.
Save solace/20bb36a015321cc239d0df37fc9e16cc to your computer and use it in GitHub Desktop.
slurm.conf for 16.05.9-1+deb9u
###
# WARNING: This config is for development use only.
#
# It was created using https://slurm.schedmd.com/configurator.html and modified
# enough for use on Docker kaldiasr/kaldi with slurm 16.05.9-1+deb9u.
#
# slurm < 20.02.7 is no longer available due to a security vulnerability.
# See: https://www.schedmd.com/archives.php
# Get the latest version and use the configurator from there.
###
# slurm.conf file generated by configurator.html.
# Put this file on all nodes of your cluster.
# See the slurm.conf man page for more information.
ClusterName=cluster
# CHANGE THIS: ControlMachine and ControlAddr to result of `hostname -s`
ControlMachine=HOSTNAME
ControlAddr=127.0.01
MpiDefault=none
ProctrackType=proctrack/pgid
ReturnToService=0
SlurmctldPidFile=/var/run/slurm-llnl/slurmctld.pid
SlurmctldPort=6817
SlurmdPidFile=/var/run/slurm-llnl/slurmd.pid
SlurmdPort=6818
SlurmdSpoolDir=/var/spool/slurmd
SlurmUser=slurm
StateSaveLocation=/var/spool/slurmctld
SwitchType=switch/none
TaskPlugin=task/affinity
# TIMERS
InactiveLimit=0
KillWait=30
MinJobAge=300
SlurmctldTimeout=120
SlurmdTimeout=300
Waittime=0
# SCHEDULING
SchedulerType=sched/backfill
SelectType=select/cons_res
SelectTypeParameters=CR_Core
# JOB PRIORITY
# LOGGING AND ACCOUNTING
AccountingStorageType=accounting_storage/none
JobCompType=jobcomp/none
JobAcctGatherFrequency=30
JobAcctGatherType=jobacct_gather/none
SlurmctldDebug=info
SlurmctldLogFile=/var/log/slurmctld.log
SlurmdDebug=info
SlurmdLogFile=/var/log/slurmd.log
# POWER SAVE SUPPORT FOR IDLE NODES (optional)
# COMPUTE NODES
# CHANGE THIS: NodeName to result of `hostname -s`
NodeName=HOSTNAME Procs=1 State=UNKNOWN
# Name it shared to match `utils/slurm.conf` on kaldi
PartitionName=shared Nodes=ALL Default=YES MaxTime=INFINITE State=UP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment