@@ -371,13 +371,26 @@ To view information about available job partitions, use the `sinfo` command:
```console
$sinfo
PARTITION AVAIL TIMELIMIT NODES STATE NODELIST
p00-arm up 1-00:00:00 1 idle p00-arm01
p01-arm* up 1-00:00:00 8 idle p01-arm[01-08]
p02-intel up 1-00:00:00 2 idle p02-intel[01-02]
p03-amd up 1-00:00:00 2 idle p03-amd[01-02]
p04-edge up 1-00:00:00 1 idle p04-edge01
p05-synt up 1-00:00:00 1 idle p05-synt01
PARTITION AVAIL TIMELIMIT NODES STATE NODELIST
qcpu* up 2-00:00:00 191 idle cn[1-67,69-192]
qcpu_biz up 2-00:00:00 1 alloc cn68
qcpu_biz up 2-00:00:00 191 idle cn[1-67,69-192]
qcpu_exp up 1:00:00 1 alloc cn68
qcpu_exp up 1:00:00 191 idle cn[1-67,69-192]
qcpu_free up 18:00:00 1 alloc cn68
qcpu_free up 18:00:00 191 idle cn[1-67,69-192]
qcpu_long up 6-00:00:00 1 alloc cn68
qcpu_long up 6-00:00:00 191 idle cn[1-67,69-192]
qcpu_preempt up 12:00:00 1 alloc cn68
qcpu_preempt up 12:00:00 191 idle cn[1-67,69-192]
qgpu up 2-00:00:00 8 idle cn[193-200]
qgpu_biz up 2-00:00:00 8 idle cn[193-200]
qgpu_exp up 1:00:00 8 idle cn[193-200]
qgpu_free up 18:00:00 8 idle cn[193-200]
qgpu_preempt up 12:00:00 8 idle cn[193-200]
qfat up 2-00:00:00 1 idle cn201
qdgx up 2-00:00:00 1 idle cn202
qviz up 8:00:00 2 idle vizserv[1-2]
```
Here we can see output of the `sinfo` command ran on Barbora cluster. By default, it shows basic node and partition configurations.
...
...
@@ -387,12 +400,12 @@ To view partition summary information, use `sinfo -s`, or `sinfo --summarize`:
```console
$sinfo -s
PARTITION AVAIL TIMELIMIT NODES(A/I/O/T) NODELIST
qcpu* up 2-00:00:00 0/192/0/192 cn[1-192]
qcpu_biz up 2-00:00:00 0/192/0/192 cn[1-192]
qcpu_exp up 1:00:00 0/192/0/192 cn[1-192]
qcpu_free up 18:00:00 0/192/0/192 cn[1-192]
qcpu_long up 6-00:00:00 0/192/0/192 cn[1-192]
qcpu_preempt up 12:00:00 0/192/0/192 cn[1-192]
qcpu* up 2-00:00:00 1/191/0/192 cn[1-192]
qcpu_biz up 2-00:00:00 1/191/0/192 cn[1-192]
qcpu_exp up 1:00:00 1/191/0/192 cn[1-192]
qcpu_free up 18:00:00 1/191/0/192 cn[1-192]
qcpu_long up 6-00:00:00 1/191/0/192 cn[1-192]
qcpu_preempt up 12:00:00 1/191/0/192 cn[1-192]
qgpu up 2-00:00:00 0/8/0/8 cn[193-200]
qgpu_biz up 2-00:00:00 0/8/0/8 cn[193-200]
qgpu_exp up 1:00:00 0/8/0/8 cn[193-200]
...
...
@@ -437,9 +450,9 @@ To view information about queued jobs, use the `squeue` command:
```console
$squeue
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON)
1556 p01-arm interact opr0019 R 1:07 8 p01-arm[01-08]
1558 p02-intel interact easybuil CD 0:21 2 p02-intel[01-02]
1557 p03-amd interact opr0019 R 0:57 1 p03-amd01
1556 p01-arm interact user017 R 1:07 8 p01-arm[01-08]
1558 p02-intel interact user018 CD 0:21 2 p02-intel[01-02]
1557 p03-amd interact user017 R 0:57 1 p03-amd01
```
By default, this shows the job ID, partition, name of the job, job owner's username, job state, how long has the job been already running, number of allocated nodes, and a list of allocated nodes.
...
...
@@ -449,13 +462,13 @@ To view jobs only belonging to a particular user, you can either use `--user=<us
```console
$squeue
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON)
1559 p01-arm interact opr0019 R 3:37 8 p01-arm[01-08]
1560 p02-intel interact easybuil R 0:05 2 p02-intel[01-02]
1557 p03-amd interact opr0019 R 10:22 1 p03-amd01
1559 p01-arm interact user017 R 3:37 8 p01-arm[01-08]
1560 p02-intel interact user018 R 0:05 2 p02-intel[01-02]
1557 p03-amd interact user017 R 10:22 1 p03-amd01
$squeue --me
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON)
1559 p01-arm interact opr0019 R 4:04 8 p01-arm[01-08]
1557 p03-amd interact opr0019 R 10:49 1 p03-amd01
1559 p01-arm interact user017 R 4:04 8 p01-arm[01-08]
1557 p03-amd interact user017 R 10:49 1 p03-amd01
```
`squeue` also allows for printing information about specific jobs using the `--jobs` flag:
...
...
@@ -463,8 +476,8 @@ $ squeue --me
```console
$squeue --jobs 1557,1560
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON)
1560 p02-intel interact easybuil R 2:09 2 p02-intel[01-02]
1557 p03-amd interact opr0019 R 12:26 1 p03-amd01
1560 p02-intel interact user018 R 2:09 2 p02-intel[01-02]
1557 p03-amd interact user017 R 12:26 1 p03-amd01
```
For more information about the `squeue` command, its flags, and formatting options, see the manual, either by using the `man squeue` command or [online][f].
...
...
@@ -505,15 +518,15 @@ For more information about the `squeue` command, its flags, and formatting optio
```console
$squeue
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON)
1563 p01-arm interact user017 R 3:31 3 p01-arm[01-03]
1561 p03-amd interact user017 R 4:34 1 p03-amd01
1565 p03-amd interact user017 R 0:07 1 p03-amd01
$scancel 1562 1563 1561 1565 1564
$squeue
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON)
1562 p01-arm interact opr0019 CA 0:57 8 p01-arm[01-08]
1563 p01-arm interact opr0019 CA 4:01 3 p01-arm[01-03]
1564 p01-arm interact opr0019 CA 0:00 8
1561 p03-amd interact opr0019 CA 5:04 1 p03-amd01
1565 p03-amd interact opr0019 CA 0:37 1 p03-amd01
1562 p01-arm interact user017 CA 0:57 8 p01-arm[01-08]
1563 p01-arm interact user017 CA 4:01 3 p01-arm[01-03]
1564 p01-arm interact user017 CA 0:00 8
1561 p03-amd interact user017 CA 5:04 1 p03-amd01
1565 p03-amd interact user017 CA 0:37 1 p03-amd01
```
Slurm also allows for canceling only jobs which fulfill certain criteria, for example, the partition to which they have been submitted, or their job state (or a mixture of both):
...
...
@@ -541,30 +554,30 @@ Slurm also allows for canceling only jobs which fulfill certain criteria, for ex
```console
$squeue
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON)
1568 p01-arm interact user017 R 3:08 8 p01-arm[01-08]
1566 p03-amd interact user017 CA 2:42 1 p03-amd01
1567 p03-amd interact user017 CA 2:40 1 p03-amd01
1570 p03-amd interact user017 CA 1:13 1 p03-amd01
$scancel --partition p01-arm --state R
$squeue
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON)
1568 p01-arm interact opr0019 CA 4:29 8 p01-arm[01-08]
1569 p01-arm interact opr0019 R 0:07 3 p01-arm[01-03]
1571 p01-arm interact opr0019 R 0:07 3 p01-arm[04-06]
1566 p03-amd interact opr0019 CA 2:42 1 p03-amd01
1567 p03-amd interact opr0019 CA 2:40 1 p03-amd01
1570 p03-amd interact opr0019 CA 1:13 1 p03-amd01
1568 p01-arm interact user017 CA 4:29 8 p01-arm[01-08]
1569 p01-arm interact user017 R 0:07 3 p01-arm[01-03]
1571 p01-arm interact user017 R 0:07 3 p01-arm[04-06]
1566 p03-amd interact user017 CA 2:42 1 p03-amd01
1567 p03-amd interact user017 CA 2:40 1 p03-amd01
1570 p03-amd interact user017 CA 1:13 1 p03-amd01
```
For more information about the `scancel` command, its flags, and formatting options, see the manual, either by using the `man scancel` command or [online][g].
...
...
@@ -580,8 +593,8 @@ To view detailed job information, you can use `scontrol show job <job_id>`, for