Skip to content

Instantly share code, notes, and snippets.

@kmoza
Created April 17, 2024 11:51
Show Gist options
  • Save kmoza/11c6a9cdef085bb14d9947b63ba95ef0 to your computer and use it in GitHub Desktop.
Save kmoza/11c6a9cdef085bb14d9947b63ba95ef0 to your computer and use it in GitHub Desktop.
slurm conf
# 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=localcluster
SlurmctldHost=localhost
MpiDefault=none
ProctrackType=proctrack/linuxproc
ReturnToService=2
SlurmctldPidFile=/var/run/slurmctld.pid
SlurmctldPort=6817
SlurmdPidFile=/var/run/slurmd.pid
SlurmdPort=6818
SlurmdSpoolDir=/var/lib/slurm/slurmd
SlurmUser=slurm
StateSaveLocation=/var/lib/slurm/slurmctld
SwitchType=switch/none
TaskPlugin=task/none
#
# TIMERS
InactiveLimit=0
KillWait=30
MinJobAge=300
SlurmctldTimeout=120
SlurmdTimeout=300
Waittime=0
# SCHEDULING
SchedulerType=sched/backfill
SelectType=select/cons_tres
SelectTypeParameters=CR_Core
#
#AccountingStoragePort=
AccountingStorageType=accounting_storage/none
JobCompType=jobcomp/none
JobAcctGatherFrequency=30
JobAcctGatherType=jobacct_gather/none
SlurmctldDebug=info
SlurmctldLogFile=/var/log/slurm/slurmctld.log
SlurmdDebug=info
SlurmdLogFile=/var/log/slurm/slurmd.log
#
# COMPUTE NODES
NodeName=localhost CPUs=16 RealMemory=8135080 State=UNKNOWN SocketsPerBoard=1 CoresPerSocket=8 ThreadsPerCore=2
# NodeName=localhost CPUs=16 RealMemory=8135080 SocketsPerBoard=1 CoresPerSocket=8 ThreadsPerCore=2
PartitionName=caribou_node 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