Re: [slurm-users] Equivalent command for showbf command of maui in slurm

2021-10-06 Thread pankajd
Sorry for the repetition. Please see the help and output of the showbf :

showbf --help

Usage: showbf [FLAGS]
--about
--configfile=
--format=
--help
--host=
--keyfile=
--loglevel=

--port=
--version

-A // ALL
-a 
-c 
-d  //  = [[[DD:]HH:]MM:]SS
-f 
-g 
-m [] //  = { = | >= }
-M 
-n 
-p 
-q 
-r 
-S // SMP
-u 





showbf output :

showbf
backfill window (user: 'root' group: 'root' partition: ALL) Thu Oct 7 07:35:48

1588 procs available for 9:27:58
1556 procs available for 3:11:09:22
1530 procs available for 4:10:39:38
1498 procs available for 5:13:22:45
1488 procs available with no timelimit

showbf -S output :

HostName Procs Memory Disk Swap Time Available
-- - -- --- --- --

gpu1.node 16 64399 1 64399 INFINITY

gpu2.node 16 64399 1 64399 INFINITY

comp28.node 32 64322 1 64322 INFINITY

comp39.node 16 64322 1 64322 3:16:11:01

.

.

and so on





On October 6, 2021 at 11:42 PM Ole Holm Nielsen 
wrote:
> On 06-10-2021 18:42, Pankaj Dorlikar wrote:
> > We would like to know the free / available resources (cpu and GPUs) in
> > slurm. In torque/maui, showbf –S command gives the similar output. What
> > command / commanline should be used to check available / free resources
> > including node number and its corresponding cpus and GPUs available.
>
> Se your thread with the same question:
> https://lists.schedmd.com/pipermail/slurm-users/2021-August/007775.html
>
> To repeat my answer to this list from August 26:
>
> Again, the Maui command "showbf -S" is undocumented! Do you have
> documentation for it?
>
> /Ole
>

[ C-DAC is on Social-Media too. Kindly follow us at:
Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ]

This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.




Re: [slurm-users] is there a way to temporarily freeze an account?

2021-10-06 Thread Chris Samuel

On 6/10/21 6:21 am, byron wrote:

We have some accounts that we would like to suspend / freeze for the 
time being that have unused hours associated with them.  Is there anyway 
of doing this without removing the users associated with the accounts or 
zeroing their hours?


We have a QOS called "batchdisable" which has MaxJobs=0 and 
MaxSubmitJobs=0 and then we just set the user's list of QOS's to that.


sacctmgr update where where name=bar qos=batchdisable

All the best,
Chris
--
Chris Samuel  :  http://www.csamuel.org/  :  Berkeley, CA, USA



Re: [slurm-users] Equivalent command for showbf command of maui in slurm

2021-10-06 Thread Ole Holm Nielsen

On 06-10-2021 18:42, Pankaj Dorlikar wrote:
We would like to know the free / available resources (cpu and GPUs) in 
slurm. In torque/maui, showbf –S command gives the similar output. What 
command / commanline should be used to check available / free resources 
including node number and its corresponding cpus and GPUs available.


Se your thread with the same question:
https://lists.schedmd.com/pipermail/slurm-users/2021-August/007775.html

To repeat my answer to this list from August 26:

Again, the Maui command "showbf -S" is undocumented!  Do you have 
documentation for it?


/Ole



[slurm-users] Equivalent command for showbf command of maui in slurm

2021-10-06 Thread Pankaj Dorlikar
Hi,

 

We would like to know the free / available resources (cpu and GPUs) in
slurm. In torque/maui, showbf -S command gives the similar output. What
command / commanline should be used to check available / free resources
including node number and its corresponding cpus and GPUs available.

 

 

PVD



[ C-DAC is on Social-Media too. Kindly follow us at:
Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ]

This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.




Re: [slurm-users] is there a way to temporarily freeze an account?

2021-10-06 Thread Juergen Salk


Hi,

I think setting MaxSubmitJobs=0 for the association should also do the
trick if you don't want to code something special in the submit.lua 
script. E.g. for a single user: 

  sacctmgr update user  set maxsubmitjobs=0

Setting MaxSubmitJobs=-1 will then release this limit. 

Best regards
Jürgen


* Marcus Wagner  [211006 15:39]:
> e.g. by prohibiting submission in the submit.lua script?
> 
> Best
> Marcus
> 
> Am 06.10.2021 um 15:21 schrieb byron:
> > We have some accounts that we would like to suspend / freeze for the time 
> > being that have unused hours associated with them.  Is there anyway of 
> > doing this without removing the users associated with the accounts or 
> > zeroing their hours?
> > 
> > We are using slurm version 19.05.7
> > 
> > Thanks
> 
> -- 
> Dipl.-Inf. Marcus Wagner
> 
> IT Center
> Gruppe: Server, Storage, HPC
> Abteilung: Systeme und Betrieb
> RWTH Aachen University
> Seffenter Weg 23
> 52074 Aachen
> Tel: +49 241 80-24383
> Fax: +49 241 80-624383
> wag...@itc.rwth-aachen.de
> www.itc.rwth-aachen.de
> 
> Social Media Kanäle des IT Centers:
> https://blog.rwth-aachen.de/itc/
> https://www.facebook.com/itcenterrwth
> https://www.linkedin.com/company/itcenterrwth
> https://twitter.com/ITCenterRWTH
> https://www.youtube.com/channel/UCKKDJJukeRwO0LP-ac8x8rQ
> 



-- 
GPG A997BA7A | 87FC DA31 5F00 C885 0DC3  E28F BD0D 4B33 A997 BA7A



Re: [slurm-users] is there a way to temporarily freeze an account?

2021-10-06 Thread Thomas M. Payerle
There are a lot of parameters controlling the resources which an account
and/or user can use.  I suspect your default setup only uses a few of
them.  To temporarily disable an account, you can apply a setting which is
disjoint from your normal methods.

E.g., if you normally set GrpTresMins to limit usage on an account to a
certain level, you might be able to temporarily set GrpJobs or
GrpSubmitJobs to 0 to disable the account from running/submitting
additional jobs.  This should not affect the TRES numbers, so can just
remove the GrpJobs/GrpSubmitJobs restrictions when you wish to re-enable.

On Wed, Oct 6, 2021 at 9:24 AM byron  wrote:

> We have some accounts that we would like to suspend / freeze for the time
> being that have unused hours associated with them.  Is there anyway of
> doing this without removing the users associated with the accounts or
> zeroing their hours?
>
> We are using slurm version 19.05.7
>
> Thanks
>


-- 
Tom Payerle
DIT-ACIGS/Mid-Atlantic Crossroadspaye...@umd.edu
5825 University Research Park   (301) 405-6135
University of Maryland
College Park, MD 20740-3831


Re: [slurm-users] is there a way to temporarily freeze an account?

2021-10-06 Thread Marcus Wagner

e.g. by prohibiting submission in the submit.lua script?

Best
Marcus

Am 06.10.2021 um 15:21 schrieb byron:

We have some accounts that we would like to suspend / freeze for the time being 
that have unused hours associated with them.  Is there anyway of doing this 
without removing the users associated with the accounts or zeroing their hours?

We are using slurm version 19.05.7

Thanks


--
Dipl.-Inf. Marcus Wagner

IT Center
Gruppe: Server, Storage, HPC
Abteilung: Systeme und Betrieb
RWTH Aachen University
Seffenter Weg 23
52074 Aachen
Tel: +49 241 80-24383
Fax: +49 241 80-624383
wag...@itc.rwth-aachen.de
www.itc.rwth-aachen.de

Social Media Kanäle des IT Centers:
https://blog.rwth-aachen.de/itc/
https://www.facebook.com/itcenterrwth
https://www.linkedin.com/company/itcenterrwth
https://twitter.com/ITCenterRWTH
https://www.youtube.com/channel/UCKKDJJukeRwO0LP-ac8x8rQ



smime.p7s
Description: S/MIME Cryptographic Signature


[slurm-users] is there a way to temporarily freeze an account?

2021-10-06 Thread byron
We have some accounts that we would like to suspend / freeze for the time
being that have unused hours associated with them.  Is there anyway of
doing this without removing the users associated with the accounts or
zeroing their hours?

We are using slurm version 19.05.7

Thanks