slurm configuration hinzugefügt

This commit is contained in:
Jörg Thalheim 2013-12-16 14:34:07 +01:00
parent a1b27a4896
commit 71361f3bad
4 changed files with 116 additions and 0 deletions

View File

@ -0,0 +1,10 @@
###
# Slurm cgroup support configuration file
###
CgroupAutomount=yes
CgroupReleaseAgentDir="/etc/slurm/cgroup"
CgroupMountpoint=/dev/cgroup
ConstrainCores=yes
ConstrainDevices=yes
AllowedDevicesFile=/etc/slurm/cgroup_allowed_devices_file.conf
#

View File

@ -0,0 +1,2 @@
/dev/nvidiactl
/dev/nvidia0

View File

@ -0,0 +1 @@
Name=gpu File=/dev/nvidia0

103
aufgabe5.2/slurm/slurm.conf Normal file
View File

@ -0,0 +1,103 @@
#
# Example slurm.conf file. Please run configurator.html
# (in doc/html) to build a configuration file customized
# for your environment.
#
#
# slurm.conf file generated by configurator.html.
#
# See the slurm.conf man page for more information.
#
ClusterName=zotac
ControlMachine=zotac0
#ControlAddr=
#BackupController=
#BackupAddr=
#
SlurmUser=slurm
#SlurmdUser=root
SlurmctldPort=6817
SlurmdPort=6818
AuthType=auth/munge
#JobCredentialPrivateKey=
#JobCredentialPublicCertificate=
StateSaveLocation=/tmp
SlurmdSpoolDir=/tmp/slurmd
SwitchType=switch/none
MpiDefault=none
SlurmctldPidFile=/var/run/slurmctld.pid
SlurmdPidFile=/var/run/slurmd.pid
ProctrackType=proctrack/cgroup
#PluginDir=
#CacheGroups=0
#FirstJobId=
ReturnToService=0
#MaxJobCount=
#PlugStackConfig=
#PropagatePrioProcess=
#PropagateResourceLimits=
#PropagateResourceLimitsExcept=
#Prolog=
#Epilog=
#SrunProlog=
#SrunEpilog=
#TaskProlog=
#TaskEpilog=
TaskPlugin=task/affinity
TaskPluginParam=sched
#TrackWCKey=no
#TreeWidth=50
#TmpFS=
UsePAM=1
#
# TIMERS
SlurmctldTimeout=300
SlurmdTimeout=300
InactiveLimit=0
MinJobAge=300
KillWait=30
Waittime=0
#
# SCHEDULING
SchedulerType=sched/backfill
#SchedulerAuth=
#SchedulerPort=
#SchedulerRootFilter=
SelectType=select/cons_res
SelectTypeParameters=CR_Core
FastSchedule=1
#PriorityType=priority/multifactor
#PriorityDecayHalfLife=14-0
#PriorityUsageResetPeriod=14-0
#PriorityWeightFairshare=100000
#PriorityWeightAge=1000
#PriorityWeightPartition=10000
#PriorityWeightJobSize=1000
#PriorityMaxAge=1-0
#
# LOGGING
SlurmctldDebug=3
#SlurmctldLogFile=
SlurmdDebug=3
#SlurmdLogFile=
JobCompType=jobcomp/filetxt
JobCompLoc=/var/log/slurm/job_completions
#
# ACCOUNTING
#JobAcctGatherFrequency=30
#
#AccountingStorageType=accounting_storage/slurmdbd
#AccountingStorageLoc=/var/log/slurm/accounting
#AccountingStorageHost=
#AccountingStoragePass=
#AccountingStorageUser=
#
# COMPUTE NODES
GresTypes=gpu
NodeName=zotac1 Procs=1 State=UNKNOWN Sockets=1 CoresPerSocket=2 ThreadsPerCore=1
NodeName=zotac[2-4] Procs=1 State=UNKNOWN Sockets=1 CoresPerSocket=2 ThreadsPerCore=1 Gres=gpu:1
PartitionName=benchmark Nodes=zotac[1-4] AllowGroups=tutoren,wheel MaxTime=INFINITE State=UP PreemptMode=SUSPEND Shared=EXCLUSIVE Priority=3
PartitionName=express Nodes=zotac[1-4] Default=YES MaxTime=1:0:0 State=UP Priority=2
PartitionName=small Nodes=zotac[1-4] MaxTime=2:0:0 State=UP Priority=1 MaxNodes=1
PartitionName=long Nodes=zotac[1-4] MaxTime=48:0:0 State=UP Priority=0