Created
January 21, 2012 21:27
-
-
Save ajdecon/1654086 to your computer and use it in GitHub Desktop.
slurm.conf.erb for blogpost
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
# 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. | |
# | |
ControlMachine=<%= node.slurm['master'] %> | |
ControlAddr=<%= node.slurm['master_addr'] %> | |
#BackupController= | |
#BackupAddr= | |
# | |
AuthType=auth/munge | |
CacheGroups=0 | |
#CheckpointType=checkpoint/none | |
CryptoType=crypto/munge | |
#DisableRootJobs=NO | |
#EnforcePartLimits=NO | |
#Epilog= | |
#PrologSlurmctld= | |
#FirstJobId=1 | |
#GresTypes= | |
#GroupUpdateForce=0 | |
#GroupUpdateTime=600 | |
#JobCheckpointDir=/var/slurm/checkpoint | |
#JobCredentialPrivateKey= | |
#JobCredentialPublicCertificate= | |
#JobFileAppend=0 | |
#JobRequeue=1 | |
#JobSubmitPlugins=1 | |
#KillOnBadExit=0 | |
#Licenses=foo*4,bar | |
#MailProg=/bin/mail | |
#MaxJobCount=5000 | |
#MaxTasksPerNode=128 | |
MpiDefault=none | |
#MpiParams=ports=#-# | |
#PluginDir= | |
#PlugStackConfig= | |
#PrivateData=jobs | |
ProctrackType=proctrack/pgid | |
#Prolog= | |
#PrologSlurmctld= | |
#PropagatePrioProcess=0 | |
#PropagateResourceLimits= | |
#PropagateResourceLimitsExcept= | |
ReturnToService=1 | |
#SallocDefaultCommand= | |
SlurmctldPidFile=/var/run/slurmctld.pid | |
SlurmctldPort=6817 | |
SlurmdPidFile=/var/run/slurmd.pid | |
SlurmdPort=6818 | |
SlurmdSpoolDir=/tmp/slurmd | |
SlurmUser=<%= node.slurm['user'] %> | |
#SrunEpilog= | |
#SrunProlog= | |
StateSaveLocation=/tmp | |
SwitchType=switch/none | |
#TaskEpilog= | |
TaskPlugin=task/none | |
#TaskPluginParam= | |
#TaskProlog= | |
#TopologyPlugin=topology/tree | |
#TmpFs=/tmp | |
#TrackWCKey=no | |
#TreeWidth= | |
#UnkillableStepProgram= | |
#UsePAM=0 | |
# | |
# | |
# TIMERS | |
#BatchStartTimeout=10 | |
#CompleteWait=0 | |
#EpilogMsgTime=2000 | |
#GetEnvTimeout=2 | |
#HealthCheckInterval=0 | |
#HealthCheckProgram= | |
InactiveLimit=0 | |
KillWait=30 | |
#MessageTimeout=10 | |
#ResvOverRun=0 | |
MinJobAge=300 | |
#OverTimeLimit=0 | |
SlurmctldTimeout=120 | |
SlurmdTimeout=300 | |
#UnkillableStepTimeout=60 | |
#VSizeFactor=0 | |
Waittime=0 | |
# | |
# | |
# SCHEDULING | |
#DefMemPerCPU=0 | |
FastSchedule=1 | |
#MaxMemPerCPU=0 | |
#SchedulerRootFilter=1 | |
#SchedulerTimeSlice=30 | |
SchedulerType=sched/backfill | |
SchedulerPort=7321 | |
SelectType=select/linear | |
#SelectTypeParameters= | |
# | |
# | |
# JOB PRIORITY | |
#PriorityType=priority/basic | |
#PriorityDecayHalfLife= | |
#PriorityCalcPeriod= | |
#PriorityFavorSmall= | |
#PriorityMaxAge= | |
#PriorityUsageResetPeriod= | |
#PriorityWeightAge= | |
#PriorityWeightFairshare= | |
#PriorityWeightJobSize= | |
#PriorityWeightPartition= | |
#PriorityWeightQOS= | |
# | |
# | |
# LOGGING AND ACCOUNTING | |
#AccountingStorageEnforce=0 | |
#AccountingStorageHost= | |
#AccountingStorageLoc= | |
#AccountingStoragePass= | |
#AccountingStoragePort= | |
AccountingStorageType=accounting_storage/none | |
#AccountingStorageUser= | |
ClusterName=cluster | |
#DebugFlags= | |
#JobCompHost= | |
#JobCompLoc= | |
#JobCompPass= | |
#JobCompPort= | |
JobCompType=jobcomp/none | |
#JobCompUser= | |
JobAcctGatherFrequency=30 | |
JobAcctGatherType=jobacct_gather/none | |
SlurmctldDebug=3 | |
SlurmctldLogFile=/tmp/slurmctld.log | |
SlurmdDebug=3 | |
SlurmdLogFile=/tmp/slurmd.log | |
#SlurmSchedLogFile= | |
#SlurmSchedLogLevel= | |
# | |
# | |
# POWER SAVE SUPPORT FOR IDLE NODES (optional) | |
#SuspendProgram= | |
#ResumeProgram= | |
#SuspendTimeout= | |
#ResumeTimeout= | |
#ResumeRate= | |
#SuspendExcNodes= | |
#SuspendExcParts= | |
#SuspendRate= | |
#SuspendTime= | |
# | |
# | |
# COMPUTE NODES | |
NodeName=<%= node.slurm['computes'].join(',') %> NodeAddr=<%= node.slurm['compute_addrs'].join(',') %> Procs=<%= node.slurm['cpus'] %> State=UNKNOWN | |
PartitionName=<%= node.slurm['part_name'] %> Nodes=<%= node.slurm['computes'].join(',') %> Default=YES MaxTime=INFINITE State=UP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment