Skip to content

Commit

Permalink
Provide more Slurm example bindings, to interact with nodes running (#…
Browse files Browse the repository at this point in the history
…558)

jobs from specific accounts, or under specific QOSes.
  • Loading branch information
kcgthb authored Sep 9, 2024
1 parent 4fcf213 commit 1aa37e3
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions conf/groups.conf.d/slurm.conf.example
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,21 @@ map: squeue -h -u $GROUP -o "%N" -t R
list: squeue -h -o "%u" -t R
reverse: squeue -h -w $NODE -o "%u"
cache_time: 60

#
# SLURM account bindings for running jobs
#
[slurmaccount,sa]
map: squeue -h -A $GROUP -o "%N" -t R
list: squeue -h -o "%a" -t R
reverse: squeue -h -w $NODE -o "%a" 2>/dev/null || true
cache_time: 60

#
# SLURM QOS bindings for running jobs
#
[slurmqos,sq]
map: squeue -h -q $GROUP -o "%N" -t R
list: squeue -h -o "%q" -t R
reverse: squeue -h -w $NODE -o "%q" 2>/dev/null || true
cache_time: 60

0 comments on commit 1aa37e3

Please sign in to comment.