[slurm-users] GrpTRES

Mahmood Naderan mahmood.nt at gmail.com
Mon Mar 26 06:34:12 MDT 2018


Hi,
Isn't there any comment? Did I follow the same procedure as you in
order to set a limit for accounts?

Regards,
Mahmood




On Sun, Mar 25, 2018 at 8:48 AM, Mahmood Naderan <mahmood.nt at gmail.com> wrote:
> Same as before
>
> # sacctmgr modify account local set GrpTRES=cpu=1,mem=1000M
>  Modified account associations...
>   C = orca       A = local of root
> Would you like to commit changes? (You have 30 seconds to decide)
> (N/y): y
> [mahmood at rocks7 ~]$ sacctmgr show associations
> format=cluster,account,user,grptres
>    Cluster    Account       User       GrpTRES
> ---------- ---------- ---------- -------------
>       orca       root
>       orca       root       root
>       orca      local            cpu=1,mem=10+
>       orca      local    mahmood
> [mahmood at rocks7 ~]$ cat sl2.sh
> #!/bin/bash
> SBATCH --job-name = test
> SBATCH --mem = 20M
> SBATCH --ntasks = 3
> SBATCH --output = test.txt
> /share/apps/stress/bin/stress -c 3
> [mahmood at rocks7 ~]$ sbatch sl2.sh
> Submitted batch job 13
> [mahmood at rocks7 ~]$ squeue
>              JOBID PARTITION     NAME     USER ST       TIME  NODES
> NODELIST(REASON)
>                 13   CLUSTER   sl2.sh  mahmood  R       0:07      1 compute-0-0
>
>
>
> Regards,
> Mahmood



More information about the slurm-users mailing list