mirror of
https://git.freebsd.org/ports.git
synced 2025-06-23 13:40:34 -04:00
sizes. It provides three key functions. First it allocates exclusive and/or non-exclusive access to resources (computer nodes) to users for some duration of time so they can perform work. Second, it provides a framework for starting, executing, and monitoring work (typically a parallel job) on a set of allocated nodes. Finally, it arbitrates contention for resources by managing a queue of pending work. WWW: https://computing.llnl.gov/linux/slurm/ PR: ports/184215 Submitted by: Jason Bacon <jwbacon@tds.net>
169 lines
3.7 KiB
Text
169 lines
3.7 KiB
Text
# 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=%%CONTROL_MACHINE%%
|
|
#ControlAddr=
|
|
#BackupController=%%BACKUP_CONTROL_MACHINE%%
|
|
#BackupAddr=
|
|
#
|
|
AuthType=auth/munge
|
|
CacheGroups=0
|
|
#CheckpointType=checkpoint/none
|
|
CryptoType=crypto/munge
|
|
#DisableRootJobs=NO
|
|
#EnforcePartLimits=NO
|
|
#Epilog=
|
|
#EpilogSlurmctld=
|
|
#FirstJobId=1
|
|
#MaxJobId=999999
|
|
#GresTypes=
|
|
#GroupUpdateForce=0
|
|
#GroupUpdateTime=600
|
|
#JobCheckpointDir=/var/slurm/checkpoint
|
|
#JobCredentialPrivateKey=
|
|
#JobCredentialPublicCertificate=
|
|
#JobFileAppend=0
|
|
#JobRequeue=1
|
|
#JobSubmitPlugins=1
|
|
#KillOnBadExit=0
|
|
#LaunchType=launch/slurm
|
|
#Licenses=foo*4,bar
|
|
MailProg=/usr/bin/mail
|
|
#MaxJobCount=5000
|
|
#MaxStepCount=40000
|
|
#MaxTasksPerNode=128
|
|
MpiDefault=none
|
|
#MpiParams=ports=#-#
|
|
#PluginDir=
|
|
#PlugStackConfig=
|
|
#PrivateData=jobs
|
|
ProctrackType=proctrack/pgid
|
|
#Prolog=
|
|
#PrologSlurmctld=
|
|
#PropagatePrioProcess=0
|
|
#PropagateResourceLimits=
|
|
# Prevent head node limits from being applied to jobs!
|
|
PropagateResourceLimitsExcept=ALL
|
|
#RebootProgram=
|
|
ReturnToService=1
|
|
#SallocDefaultCommand=
|
|
SlurmctldPidFile=/var/run/slurmctld.pid
|
|
SlurmctldPort=6817
|
|
SlurmdPidFile=/var/run/slurmd.pid
|
|
SlurmdPort=6818
|
|
SlurmdSpoolDir=/var/spool/slurmd
|
|
SlurmUser=slurm
|
|
#SlurmdUser=root
|
|
#SrunEpilog=
|
|
#SrunProlog=
|
|
StateSaveLocation=/home/slurm/slurmctld
|
|
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/cons_res
|
|
#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=
|
|
AccountingStoreJobComment=YES
|
|
ClusterName=cluster
|
|
#DebugFlags=
|
|
#JobCompHost=
|
|
#JobCompLoc=
|
|
#JobCompPass=
|
|
#JobCompPort=
|
|
JobCompType=jobcomp/none
|
|
#JobCompUser=
|
|
JobAcctGatherFrequency=30
|
|
JobAcctGatherType=jobacct_gather/none
|
|
SlurmctldDebug=5
|
|
SlurmctldLogFile=/var/log/slurmctld
|
|
SlurmdDebug=5
|
|
SlurmdLogFile=/var/log/slurmd
|
|
#SlurmSchedLogFile=
|
|
#SlurmSchedLogLevel=
|
|
#
|
|
#
|
|
# POWER SAVE SUPPORT FOR IDLE NODES (optional)
|
|
#SuspendProgram=
|
|
#ResumeProgram=
|
|
#SuspendTimeout=
|
|
#ResumeTimeout=
|
|
#ResumeRate=
|
|
#SuspendExcNodes=
|
|
#SuspendExcParts=
|
|
#SuspendRate=
|
|
#SuspendTime=
|
|
#
|
|
#
|
|
# COMPUTE NODES
|
|
|
|
#############################################################################
|
|
# Note: Using CPUs=2 or Sockets=2 causes slurmctld to seg fault on FreeBSD.
|
|
# Use Sockets=1, CoresPerSocket=total-cores-in-node, and
|
|
# ThreadsPerCore=N, even if your motherboard has more than 1 socket.
|
|
# This issue is related to get_cpuinfo() and is being investigated.
|
|
#############################################################################
|
|
|
|
NodeName=compute-[001-002] Sockets=1 CoresPerSocket=1 ThreadsPerCore=1 State=UNKNOWN
|
|
PartitionName=default-partition Nodes=compute-[001-002] Default=YES MaxTime=INFINITE State=UP
|