Skip to content

Commit 1aa37e3

Browse files
authored
Provide more Slurm example bindings, to interact with nodes running (#558)
jobs from specific accounts, or under specific QOSes.
1 parent 4fcf213 commit 1aa37e3

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

conf/groups.conf.d/slurm.conf.example

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,21 @@ map: squeue -h -u $GROUP -o "%N" -t R
3939
list: squeue -h -o "%u" -t R
4040
reverse: squeue -h -w $NODE -o "%u"
4141
cache_time: 60
42+
43+
#
44+
# SLURM account bindings for running jobs
45+
#
46+
[slurmaccount,sa]
47+
map: squeue -h -A $GROUP -o "%N" -t R
48+
list: squeue -h -o "%a" -t R
49+
reverse: squeue -h -w $NODE -o "%a" 2>/dev/null || true
50+
cache_time: 60
51+
52+
#
53+
# SLURM QOS bindings for running jobs
54+
#
55+
[slurmqos,sq]
56+
map: squeue -h -q $GROUP -o "%N" -t R
57+
list: squeue -h -o "%q" -t R
58+
reverse: squeue -h -w $NODE -o "%q" 2>/dev/null || true
59+
cache_time: 60

0 commit comments

Comments
 (0)