diff --git a/aufgabe5.2/slurm/slurm.conf b/aufgabe5.2/slurm/slurm.conf index 62a1782..d43f5a3 100644 --- a/aufgabe5.2/slurm/slurm.conf +++ b/aufgabe5.2/slurm/slurm.conf @@ -8,6 +8,7 @@ StateSaveLocation=/tmp SlurmdSpoolDir=/tmp/slurmd SwitchType=switch/none MpiDefault=openmpi +MpiParams=ports=12000-12999 SlurmctldPidFile=/var/run/slurmctld.pid SlurmdPidFile=/var/run/slurmd.pid ProctrackType=proctrack/cgroup @@ -15,6 +16,8 @@ ReturnToService=2 TaskPlugin=task/affinity UsePAM=1 MailProg=/usr/local/bin/slurm-mail +PreemptType=preempt/partition_prio +PreemptMode=REQUEUE # TIMERS SlurmctldTimeout=300 @@ -38,10 +41,10 @@ JobCompLoc=/var/log/slurm/job_completions # COMPUTE NODES GresTypes=gpu FastSchedule=1 -NodeName=zotac1 State=UNKNOWN Cpus=2 Sockets=1 CoresPerSocket=2 ThreadsPerCore=4 -NodeName=zotac[2-4] State=UNKNOWN Cpus=2 Sockets=1 CoresPerSocket=2 ThreadsPerCore=4 Gres=gpu:1 +NodeName=zotac1 State=UNKNOWN Cpus=4 Sockets=1 CoresPerSocket=2 ThreadsPerCore=2 +NodeName=zotac[2-4] State=UNKNOWN Cpus=4 Sockets=1 CoresPerSocket=2 ThreadsPerCore=2 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 +PartitionName=benchmark Nodes=zotac[1-4] AllowGroups=tutoren,wheel MaxTime=INFINITE State=UP Shared=EXCLUSIVE Priority=30 +PartitionName=express Nodes=zotac[1-4] Default=YES MaxTime=1:0:0 State=UP Priority=20 +PartitionName=small Nodes=zotac[1-4] MaxTime=2:0:0 State=UP MaxNodes=10 Priority=10 +PartitionName=long Nodes=zotac[1-4] MaxTime=48:0:0 State=UP Priority=0