[slurm-users] Problem with nodes with 1 gpu

43 views
Skip to first unread message

Jörg Striewski via slurm-users

unread,
Oct 16, 2024, 4:07:27 AM10/16/24
to slurm...@lists.schedmd.com
i cannot send jobs to nodes with one gpu, i don't find the bug in my
configuration. can someone help me ?

in slurm.conf    GresTypes=gpu is set

this are some nodes in slurm.conf

NodeName=gpu-[001-003]      CPUs=8    SocketsPerBoard=1
CoresPerSocket=4   RealMemory=31000   Gres=gpu:1080:1
NodeName=gpu-[010-019]      CPUs=16   SocketsPerBoard=1
CoresPerSocket=8   RealMemory=64000   Gres=gpu:1080:2

the partition for this gpu nodes is

# General GPU partitions
PartitionName=GPU   Nodes=gpu-[001-003,010-019] AllowAccounts=staff 
PreemptMode=REQUEUE  PriorityTier=0 DefMemPerGPU=32000  DefCpuPerGPU=8 
CpuBind=none TRESBillingWeights="GRES/gpu=1000"  GraceTime=300

this are the entries for some nodes in gres.conf

NodeName=gpu-[001-003]   Name=gpu   Type=1080   File=/dev/nvidia0
NodeName=gpu-[010-019]   Name=gpu   Type=1080 File=/dev/nvidia[0-1]

when i send a job with sbatch to gpu-001

#SBATCH --job-name=hello
#SBATCH --ntasks-per-node=1
#SBATCH --output=hello_%A.out
#SBATCH --time=00:10:00
#SBATCH --mail-type=ALL
#SBATCH --mail-user=stri...@ismll.de
#SBATCH --partition=GPU
#SBATCH --nodelist=gpu-001
#SBATCH --gres=gpu:1

[...]

i get the error

sbatch: error: Batch job submission failed: Requested node configuration
is not available

when i send the job to a node with 2 gpu's it runs with no error, just
setting --nodelist=gpu-12

has someone a hint what i made wrong ?


Mit freundlichen Grüßen / kind regards

--
Jörg Striewski

Information Systems and Machine Learning Lab (ISMLL)
Institute of Computer Science
University of Hildesheim Germany
post address: Universitätsplatz 1, D-31141Hildesheim, Germany
visitor address: Samelsonplatz 1, D-31141 Hildesheim,Germany
Tel.(+49) 05121 / 883-40392
http://www.ismll.uni-hildesheim.de

--
slurm-users mailing list -- slurm...@lists.schedmd.com
To unsubscribe send an email to slurm-us...@lists.schedmd.com

Groner, Rob via slurm-users

unread,
Oct 16, 2024, 9:28:07 AM10/16/24
to slurm...@lists.schedmd.com, stri...@uni-hildesheim.de, Jörg Striewski

Jörg Striewski via slurm-users

unread,
Oct 16, 2024, 9:41:03 AM10/16/24
to slurm...@lists.schedmd.com

thanks, that was the bug, now it works

Reply all
Reply to author
Forward
0 new messages