Re: [slurm-users] Billing issue

2020-08-06 Thread Bas van der Vlies
On Thu, 2020-08-06 at 09:30 -0400, Paul Raines wrote: > Bas > > Does that mean you are setting PriorityFlags=MAX_TRES ? > YES > Also does anyone understand this from the slurm.conf docs: > >The weighted amount of a resource can be adjusted by adding a suffix of >K,M,G,T or P after the b

Re: [slurm-users] Billing issue

2020-08-06 Thread Paul Raines
Bas Does that mean you are setting PriorityFlags=MAX_TRES ? Also does anyone understand this from the slurm.conf docs: The weighted amount of a resource can be adjusted by adding a suffix of K,M,G,T or P after the billing weight. For example, a memory weight of "mem=.25" on a job allocat

Re: [slurm-users] Billing issue

2020-08-06 Thread Diego Zuccato
Il 06/08/20 12:46, Bas van der Vlies ha scritto: > we have MAX(core, mem, gres). all resources can have the score: 91228 Ah, Ok. So you have PriorityFlags=MAX_TRES too. > So we take one of these maximum values we dived it again by 1000 and round > it. Hopefully this explains it. Yup, tks. Now I

Re: [slurm-users] Billing issue

2020-08-06 Thread Bas van der Vlies
Il 06/08/20 10:00, Bas van der Vlies ha scritto: Tks for the answer. >> We have also node with GPU's (dfiferent types) and some cost more the others. > The partitions always have the same type of nodes not mixed,eg: > * > TRESBillingWeights=CPU=3801.0,Mem=502246.0T,GRES/gpu=22807.0,GRES/gpu:t

Re: [slurm-users] Billing issue

2020-08-06 Thread Diego Zuccato
Il 06/08/20 10:00, Bas van der Vlies ha scritto: Tks for the answer. > We have nodes with 16 cores and 96GB of ram and this are the cheapest nodes > they > cost in our model. Theoretical 6GB/core. 5.625 net. > We multiple everything by 1000 to avoid slurm's behaviour of truncating the > result

Re: [slurm-users] Billing issue

2020-08-06 Thread Bas van der Vlies
Hi Diego, Yes this can be tricky we also use this feature. The billing is on partition level. so you can set different schemas. We have nodes with 16 cores and 96GB of ram and this are the cheapest nodes they cost in our model. 1 SBU (System Billing Unit). For this node we have the following

[slurm-users] Billing issue

2020-08-05 Thread Diego Zuccato
Hello all. How can I configure Slurm to bill users for the actual "percentage" of a node's use? I mean that an user requesting one core and all the RAM should be billed for the whole node, since the other cores can't be allocated to another job. The ideal would be to bill max(ReqCores, ReqMem * M