[slurm-dev] Re: Accounting estimates/calculations

2017-09-14 Thread Barry Moore
Merlin, This reminded me I wanted to do something like this too. To my knowledge there is no command that does this. In fact, when I first started figuring out the billing weights I used sshare to determine the cost of jobs submitted one by one (not fun). Anyway, I put together a Python script

[slurm-dev] Re: salloc/srun advice for 1 gpu/task but job makes use of all available gpus

2017-09-02 Thread Barry Moore
> use 1 gpu -- but the job can spread tasks/ranks among the 4 gpus. > Currently it appears we are only limited to device 0 only. > > *In a mpi context,* I'm not certain about the wrapper based method provided > from the link. > I'll need to consult with the developer. > > Thanks aga

[slurm-dev] Re: Temporarily block a user

2017-08-31 Thread Barry Moore
, 2017 at 10:50 AM, Barry Moore <moore0...@gmail.com> wrote: > Colas, > > I would do something like: > > sacctmgr modify account where account= user= set > GrpTresRunMins=cpu=0 > > to unset: > > sacctmgr modify account where account= user= set > GrpTresRunM

[slurm-dev] Re: Temporarily block a user

2017-08-31 Thread Barry Moore
Colas, I would do something like: sacctmgr modify account where account= user= set GrpTresRunMins=cpu=0 to unset: sacctmgr modify account where account= user= set GrpTresRunMins=cpu=-1 Hope it helps, Barry On Thu, Aug 31, 2017 at 10:31 AM, Colas Rivière wrote: > >

[slurm-dev] Backfilling with grptres=cpu=N behavior

2017-08-01 Thread Barry Moore
Hello All, Is it possible to get backfilling when setting grptres=cpu=N for each account? i.e. I want to make sure that each group cannot use more than 25% of the total cores on our cluster. However, when utilization is low, I would like jobs to start backfilling. Is that possible? - Barry --

[slurm-dev] Re: sreport job sizesbyaccount over all accounts?

2017-07-25 Thread Barry Moore
Loris, What if you did the following with a large top count? $ sreport user top start=2017-07-24 end=2017-07-24 topcount=10 -T mem I presume R has a "groupby" function similar to Pandas. - Barry On Tue, Jul 25, 2017 at 4:02 AM, Loris Bennett wrote: > > Hi, > > I

[slurm-dev] Banking and Proposal System

2017-07-19 Thread Barry Moore
Hello All, Disclaimer: I have no idea if anyone woud be interested in this. I needed this tool, wrote some code, and figured I should share it with the community. Recently, our group at Pitt moved from PBS to Slurm, but we didn't have an equivalent for Gold. We wanted to have a Gold-like bank,

[slurm-dev] Re: Resource limits in new partition

2017-06-19 Thread Barry Moore
Jagga, Don't forget to restart the controller. - Barry On Mon, Jun 19, 2017 at 9:47 AM, Barry Moore <moore0...@gmail.com> wrote: > Jagga, > > It's possible you need the following in your slurm configuration. To be > honest, I am guessing but it is the only thing in my Slu

[slurm-dev] Re: Resource limits in new partition

2017-06-19 Thread Barry Moore
rk for me: > > > > -- > > # sacctmgr modify account where Partition=gred set grptres=gres/gpu=8 > > Unknown option: grptres=gres/gpu=8 > > Use keyword 'where' to modify condition > > -- > > > > Keeps saying that the grptres=gres/gpu=8 is a u

[slurm-dev] Re: Resource limits in new partition

2017-06-16 Thread Barry Moore
account SA set qos=gpu > sacctmgr modify account CIG set qos=gpu > > Now when I submit a second job by user1 asking for 8gpu's I was hoping > it would go in the queue but it still runs: > > srun --gres=gpu:8 -p gred --pty bash > > Thanks again for your help. > >

[slurm-dev] Re: Resource limits in new partition

2017-06-16 Thread Barry Moore
-- > >> --- - > >> normal 0 00:00:00cluster > >> 1.00 > >> > >> # sacctmgr list user | grep -i user1 > >>user1 research None > >

[slurm-dev] Re: Resource limits in new partition

2017-06-16 Thread Barry Moore
Jagga, You got it. Something along the lines of: # Add users to accounts, partition sacctmgr add user account= partition= # Set the association limits, I think you can do something similar to gres/gpu=-1 for the super users (assuming they are in the same account?). sacctmgr modify account

[slurm-dev] Re: Looking for distributions of wait times for jobs submitted over the past year

2017-06-15 Thread Barry Moore
Thanks alot! These will be very helpful! On Thu, Jun 15, 2017 at 3:52 PM, Kilian Cavalotti < kilian.cavalotti.w...@gmail.com> wrote: > > Hi Barry, > > On Thu, Jun 15, 2017 at 9:16 AM, Barry Moore <moore0...@gmail.com> wrote: > > Does anyone have a script or knowle

[slurm-dev] Looking for distributions of wait times for jobs submitted over the past year

2017-06-15 Thread Barry Moore
Hey All, Does anyone have a script or knowledge of how to query wait times for Slurm jobs in the last year or so? Thank you, Barry -- Barry E Moore II, PhD E-mail: bmoor...@pitt.edu Assistant Research Professor Center for Simulation and Modeling University of Pittsburgh Pittsburgh, PA 15260