# 
# Sample /etc/slurm.conf
# Author: John Doe
# Date: 11/06/2001

ControlMachine=lx0000   ControlAddr=elx0000 
BackupController=lx0001 BackupAddr=elx0001

AuthType="auth/authd"
Epilog=/etc/slurm/epilog
FastSchedule=1
FirstJobId=65536
HashBase=10
HeartbeatInterval=60
InactiveLimit=120
JobCredentialPrivateKey=/etc/slurm/private.key
JobCredentialPublicCertificate=/etc/slurm/public.cert
KillWait=30
PluginDir=/usr/lib/slurm
Prioritize=/usr/local/slurm/etc/priority
Prolog=/etc/slurm/prolog
ReturnToService=0
SlurmctldDebug=4
SlurmctldLogFile=/var/tmp/slurmctld.log
SlurmctldPidFile=/var/run/slurmctld.pid
SlurmctldPort=7002
SlurmctldTimeout=120
SlurmdDebug=4
SlurmdLogFile=/var/tmp/slurmd.log
SlurmdPidFile=/var/run/slurmd.pid
SlurmdPort=7003
SlurmdSpoolDir=/var/tmp/slurmd.spool
SlurmdTimeout=120
SlurmUser=slurm
StateSaveLocation=/tmp/slurm.state
TmpFS=/tmp

#
# Node Configurations
#
NodeName=DEFAULT TmpDisk=16384 Procs=16 RealMemory=2048 Weight=16
NodeName=lx[0000-0002] NodeAddr=elx[0000-0002] State=DRAINED
NodeName=lx[0003-8000] NodeAddr=elx[0003-8000]

NodeName=DEFAULT CPUs=32 RealMemory=4096 Weight=40 Feature=1200MHz
NodeName=lx[8001-9999] NodeAddr=elx[8001-9999]
#
# Partition Configurations
#
PartitionName=DEFAULT MaxTime=30 MaxNodes=2 Shared=NO
PartitionName=debug Nodes=lx[0003-0030] State=UP Default=YES
PartitionName=class Nodes=lx[0031-0040] AllowGroups=students,teachers
PartitionName=login Nodes=lx[0000-0002] State=DOWN   # Don't schedule work here

#
PartitionName=DEFAULT MaxTime=UNLIMITED RootOnly=YES
PartitionName=batch Nodes=lx[0041-9999] MaxNodes=4096
