[slurm-users] GrpTRES

Mahmood Naderan mahmood.nt at gmail.com
Sat Mar 24 22:18:51 MDT 2018


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