• Brian Christiansen's avatar
    Show correct MaxTRESPerNode limit assoc reasons · 6e806f2d
    Brian Christiansen authored
    Before:
    $ sbatch --wrap="sleep 300"
    Submitted batch job 228
    $ squeue
                 JOBID PARTITION     NAME     USER ST       TIME   CPUS NODELIST(REASON)
                   228     debug     wrap    brian PD       0:00      1 (AssocMaxUnknownPerNode)
    
    Fixed:
    $ squeue
                 JOBID PARTITION     NAME     USER ST       TIME   CPUS NODELIST(REASON)
                   229     debug     wrap    brian PD       0:00      1 (AssocMaxCpuPerNode)
    
    $ sacctmgr mod account stuff set maxtrespernode=cpu=-1,mem=1
    $ squeue
                 JOBID PARTITION     NAME     USER ST       TIME   CPUS NODELIST(REASON)
                   229     debug     wrap    brian PD       0:00      1 (AssocMaxMemPerNode)
    
    $ sbatch --wrap="sleep 300" --gres=blah:2 -pgpu
    Submitted batch job 235
    $ squeue
                 JOBID PARTITION     NAME     USER ST       TIME   CPUS NODELIST(REASON)
                   235       gpu     wrap    brian PD       0:00      1 (AssocMaxGRESPerNode)
    6e806f2d
To find the state of this project's repository at the time of any of these versions, check out the tags.