Correct anomalies when accounting for GRES with types
> In slurm.conf: > AccountingStorageTRES=gres/craynetwork,gres/gpu > $ srun --gres=craynetwork:3,gpu:volta:1,gpu:tesla:1 -N1 sleep 100 > $ scontrol show job > > TRES=cpu=1,mem=1000M,node=1,billing=1,fs/disk=0,vmem=0,pages=0,gres/ > craynetwork=3,gres/gpu=1 > TresPerNode=craynetwork:3,gpu:volta:1,gpu:tesla:1 > > Note that TRES is not reporting the total GPU count (1 tesla and 1 volta), > but only 1 GPU total With new logic: TRES=cpu=1,mem=1000M,node=1,billing=1,gres/craynetwork=3,gres/gpu=2 TresPerNode=craynetwork:3,gpu:volta:1,gpu:tesla:1 > ======================================= > > In slurm.conf: > AccountingStorageTRES=gres/craynetwork,gres/gpu:volta,gres/gpu:tesla > $ srun --gres=craynetwork:3,gpu:2 -N1 sleep 100 > $ scontrol show job > > TRES=cpu=1,mem=1000M,node=1,billing=1,fs/disk=0,vmem=0,pages=0,gres/ > craynetwork=3,gres/gpu:tesla=0,gres/gpu:volta=0 > TresPerNode=craynetwork:3,gpu:2 > > Here we the GPUs have to either be tesla o...
Please register or sign in to comment