<div dir="ltr">Hello,<div><br></div><div>I am using slurm 21.08. I am stuck with the following. </div><div><br></div><div>Q1 : I have 8 nodes with 2 gpus each and 128 cores with 512 GB RAM. I want to distribute each node's resources in 2 partitions so that "par1" partition  will have 2 gpus with 64 cores and 256 GB ram of the node and the other partition "par 2" will have the remaining  64 cores and remaining 256 gb ram and no gpus of the same node. </div><div><br></div><div>par1 should be the default partition. </div><div><br></div><div>I have used MaxCPUsPerNode and also listed each node in both par1 and par2 .However, while job submission, if i give par2 as the partition name and use gres:gpu, still the job is getting submitted and is going for run (in spite of par2 not having gpus).<br></div><div><br></div><div>slurm.conf (something like this)</div><div><br></div><div>########################</div><div>NodeName=comp1,comp2......comp8 Sockets=1 CPUs=64 CoresPerSocket=64 ThreadsPerCore=1 Gres=gpu:2<br></div><div>PartitionName=par1 State=UP Nodes=comp1,comp2......comp8 MaxCPUsPerNode=64<br></div><div>PartitionName=par1 State=UP Nodes=comp1,comp2......comp8 MaxCPUsPerNode=64<br></div><div>PartitionName=par2 State=UP Nodes=comp1,comp2......comp8 MaxCPUsPerNode=64<br></div><div>########################</div><div><br></div><div>Where are the things going wrong?</div><div><br></div><div>Q2 : How to save the job scripts permanently? I have given</div><div>SlurmdSpoolDir=/usr/local/slurm/var/spool/slurmd<br></div><div>AccountingStorageEnforce=safe<br>AccountingStoreFlags=job_script,job_env<br></div><div><br></div><div>Regards,</div><div>Purvesh</div></div>