Is DefCpuPerGPU affected by --ntasks-per-gpu?
10 Jul
2025
10 Jul
'25
10:23 a.m.
I have defined DefCpuPerGPU for a partition but when a job specifies --ntasks-per-gpu then DefCpuPerGPU is ignored and I only get 1 cpu: ``` #SBATCH --gpus=1 #SBATCH --ntasks-per-gpu=1 ``` Is this the expected behaviour? The man page for DefCpuPerGPU says: "This value is used only if the job didn't specify --cpus-per-task and --cpus-per-gpu" which I do not specify, at least not directly. If yes is there a way to set something like DefCpuPerTask?
278
Age (days ago)
278
Last active (days ago)
0 comments
1 participants
participants (1)
-
Milad Alizadeh