You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NodeSet: add special notation @@source to expand group names
This change allows access to all group names of a specific source in
node set expressions. The special operator `@@` optionally followed
by a source expands group names that can then be manipulated as a set.
The default group source is used when `@@` is used alone.
Note: In that case, group names are not prefixed with @ and as such, not
further expanded into nodes by NodeSet.
Copy file name to clipboardExpand all lines: doc/man/man1/cluset.1
+17-2Lines changed: 17 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
.\" Man page generated from reStructuredText.
2
2
.
3
-
.TH CLUSET 1 "2019-12-01" "1.8.3" "ClusterShell User Manual"
3
+
.TH CLUSET 1 "2022-03-19" "1.8.4" "ClusterShell User Manual"
4
4
.SH NAME
5
5
cluset \- compute advanced cluster node set operations
6
6
.
@@ -225,7 +225,7 @@ node[0\-4,11\-13]
225
225
.sp
226
226
This computes a folded nodeset containing nodes found in group @gpu and @slurm:bigmem, but not in both, minus the nodes found in odd chassis groups from 1 to 9.
227
227
.TP
228
-
.B"Allnodes"extension(v1.7+)
228
+
.B"Allnodes"extension
229
229
The \fB@*\fP and \fB@SOURCE:*\fP special notations may be used in extended patterns to represent all nodes (in SOURCE) according to the \fIall\fP external shell command (see \fBgroups.conf\fP(5)) and are equivalent to:
230
230
.INDENT7.0
231
231
.INDENT3.5
@@ -235,6 +235,21 @@ The \fB@*\fP and \fB@SOURCE:*\fP special notations may be used in extended patte
235
235
.UNINDENT
236
236
.UNINDENT
237
237
.UNINDENT
238
+
.TP
239
+
.BGroupnamesinexpressions
240
+
The \fB@@SOURCE\fP notation may be used to access all group names from the specified SOURCE (or from the default group source when just \fB@@\fP is used) in node set expressions; this works with either file\-based group sources or with external group sources that have the \fIlist\fP upcall defined (see \fBgroups.conf\fP(5)):
Copy file name to clipboardExpand all lines: doc/man/man1/nodeset.1
+17-2Lines changed: 17 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
.\" Man page generated from reStructuredText.
2
2
.
3
-
.TH NODESET 1 "2021-11-03" "1.8.4" "ClusterShell User Manual"
3
+
.TH NODESET 1 "2022-03-19" "1.8.4" "ClusterShell User Manual"
4
4
.SH NAME
5
5
nodeset \- compute advanced nodeset operations
6
6
.
@@ -225,7 +225,7 @@ node[0\-4,11\-13]
225
225
.sp
226
226
This computes a folded nodeset containing nodes found in group @gpu and @slurm:bigmem, but not in both, minus the nodes found in odd chassis groups from 1 to 9.
227
227
.TP
228
-
.B"Allnodes"extension(v1.7+)
228
+
.B"Allnodes"extension
229
229
The \fB@*\fP and \fB@SOURCE:*\fP special notations may be used in extended patterns to represent all nodes (in SOURCE) according to the \fIall\fP external shell command (see \fBgroups.conf\fP(5)) and are equivalent to:
230
230
.INDENT7.0
231
231
.INDENT3.5
@@ -235,6 +235,21 @@ The \fB@*\fP and \fB@SOURCE:*\fP special notations may be used in extended patte
235
235
.UNINDENT
236
236
.UNINDENT
237
237
.UNINDENT
238
+
.TP
239
+
.BGroupnamesinexpressions
240
+
The \fB@@SOURCE\fP notation may be used to access all group names from the specified SOURCE (or from the default group source when just \fB@@\fP is used) in node set expressions; this works with either file\-based group sources or with external group sources that have the \fIlist\fP upcall defined (see \fBgroups.conf\fP(5)):
:Copyright: GNU Lesser General Public License version 2.1 or later (LGPLv2.1+)
12
12
:Version: 1.8.4
13
13
:Manual section: 1
@@ -131,11 +131,19 @@ Example of advanced usage
131
131
132
132
This computes a folded nodeset containing nodes found in group @gpu and @slurm:bigmem, but not in both, minus the nodes found in odd chassis groups from 1 to 9.
133
133
134
-
"All nodes" extension (v1.7+)
134
+
"All nodes" extension
135
135
The ``@*`` and ``@SOURCE:*`` special notations may be used in extended patterns to represent all nodes (in SOURCE) according to the *all* external shell command (see ``groups.conf``\(5)) and are equivalent to:
136
136
137
137
:$ cluset [-s SOURCE] -a -f:
138
138
139
+
Group names in expressions
140
+
The ``@@SOURCE`` notation may be used to access all group names from the specified SOURCE (or from the default group source when just ``@@`` is used) in node set expressions; this works with either file-based group sources or with external group sources that have the *list* upcall defined (see ``groups.conf``\(5)):
:Copyright: GNU Lesser General Public License version 2.1 or later (LGPLv2.1+)
12
12
:Version: 1.8.4
13
13
:Manual section: 1
@@ -131,11 +131,19 @@ Example of advanced usage
131
131
132
132
This computes a folded nodeset containing nodes found in group @gpu and @slurm:bigmem, but not in both, minus the nodes found in odd chassis groups from 1 to 9.
133
133
134
-
"All nodes" extension (v1.7+)
134
+
"All nodes" extension
135
135
The ``@*`` and ``@SOURCE:*`` special notations may be used in extended patterns to represent all nodes (in SOURCE) according to the *all* external shell command (see ``groups.conf``\(5)) and are equivalent to:
136
136
137
137
:$ nodeset [-s SOURCE] -a -f:
138
138
139
+
Group names in expressions
140
+
The ``@@SOURCE`` notation may be used to access all group names from the specified SOURCE (or from the default group source when just ``@@`` is used) in node set expressions; this works with either file-based group sources or with external group sources that have the *list* upcall defined (see ``groups.conf``\(5)):
0 commit comments