[slurm-users] Submitting jobs with constraint option
Diego Zuccato
diego.zuccato at unibo.it
Thu Sep 3 13:14:54 UTC 2020
Il 03/09/20 14:52, Gestió Servidors ha scritto:
> I would like to apply some constraint options to my nodes. For example,
> infiniband available, processor model, etc., but I don’t know where I
> need to detail that information. I know that in “sbatch” I can request
> for that details with “--constraint=” but I suppose that I need to
> define them before in slurm.conf or another configuration file.
When defining the nodes in slurm.conf .
For example, we have:
# COMPUTE NODES
NodeName=DEFAULT Sockets=2 ThreadsPerCore=2 State=UNKNOWN
NodeName=str957-bl0-0[1-2] CoresPerSocket=6 Feature=ib,blade,intel
NodeName=str957-bl0-0[3-5] CoresPerSocket=8 Feature=ib,blade,intel
NodeName=str957-bl0-[15-16] CoresPerSocket=4 Feature=ib,nonblade,intel
NodeName=str957-bl0-[17-18] CoresPerSocket=6 ThreadsPerCore=1
Feature=nonblade,amd
NodeName=str957-bl0-[19-20] Sockets=4 CoresPerSocket=8 ThreadsPerCore=1
Feature=nonblade,amd
NodeName=str957-mtx-[00-15] CoresPerSocket=14 Feature=ib,nonblade,intel
Here, the "Features" are what can be requested by --constraint= line.
HIH.
--
Diego Zuccato
DIFA - Dip. di Fisica e Astronomia
Servizi Informatici
Alma Mater Studiorum - Università di Bologna
V.le Berti-Pichat 6/2 - 40127 Bologna - Italy
tel.: +39 051 20 95786
More information about the slurm-users
mailing list