SaturnArch/airootfs/installFiles/slurm/slurm.conf.template
Lukas Plevac 79bdb4cf38
All checks were successful
Build / build (push) Successful in 24m31s
Fixed bad path for power save progrmas
2024-12-08 21:13:20 +01:00

59 lines
1.3 KiB
Plaintext

ClusterName=Betynda
SlurmctldHost={%masterName%}({%masterIP%})
ProctrackType=proctrack/linuxproc
ReturnToService=2
SlurmctldPidFile=/run/slurmctld.pid
SlurmdPidFile=/run/slurmd.pid
SlurmdSpoolDir=/var/lib/slurm/slurmd
StateSaveLocation=/var/lib/slurm/slurmctld
SlurmUser=slurm
TaskPlugin=task/none
SchedulerType=sched/backfill
SelectType=select/cons_tres
SelectTypeParameters=CR_Core
AccountingStorageType=accounting_storage/none
JobCompType=jobcomp/none
JobAcctGatherType=jobacct_gather/none
SlurmctldDebug=info
SlurmctldLogFile=/var/log/slurm/slurmctld.log
SlurmdDebug=info
SlurmdLogFile=/var/log/slurm/slurmd.log
{%hosts%}
PartitionName=exp Nodes={%noMasterHosts%} Default=YES MaxTime=01:00:00 State=UP SuspendTime=3600 PriorityTier=100
PartitionName=long Nodes={%noMasterHosts%} Default=NO MaxTime=168:00:00 State=UP SuspendTime=3600 PriorityTier=50
PartitionName=debug Nodes=ALL Default=NO MaxTime=03:00:00 State=UP PriorityTier=150
##
## Power saving
##
# timeout for power on
ResumeTimeout=600
# timeout for power off
SuspendTimeout=120
# Up and down maximaly 1 per minute
ResumeRate=1
SuspendRate=1
# poweroff and on programs
ResumeProgram=/usr/bin/slurmResume
SuspendProgram=/usr/bin/slurmSuspend
TreeWidth=1000
# wait until power on when reserve
SchedulerParameters=salloc_wait_nodes,sbatch_wait_nodes