Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
slurm [2022/09/06 14:18] vodrazka [Batch mode] |
slurm [2022/09/08 13:24] vodrazka [Cluster info] |
||
---|---|---|---|
Line 36: | Line 36: | ||
#SBATCH --gres=gpu: | #SBATCH --gres=gpu: | ||
#SBATCH --mem=10G | #SBATCH --mem=10G | ||
+ | </ | ||
+ | |||
+ | If you need you can have slurm report to you: | ||
+ | |||
+ | < | ||
+ | #SBATCH --mail-type=begin | ||
+ | #SBATCH --mail-type=end | ||
+ | #SBATCH --mail-type=fail | ||
+ | #SBATCH --mail-user=< | ||
</ | </ | ||
Line 64: | Line 73: | ||
</ | </ | ||
- | filter jobs in specific state (e.g. '' | + | filter jobs in specific state (see '' |
< | < | ||
squeue -t RUNNING | squeue -t RUNNING | ||
</ | </ | ||
+ | |||
+ | filter jobs running on a specific node: | ||
+ | < | ||
+ | squeue -w dll-3gpu1 | ||
+ | </ | ||
+ | |||
+ | ==== Cluster info ==== | ||
+ | |||
+ | The command '' | ||
+ | |||
+ | List available partitions(queues). The default partition is marked with '' | ||
+ | < | ||
+ | sinfo | ||
+ | </ | ||
+ | |||
+ | List detailed info about nodes: | ||
+ | < | ||
+ | sinfo -l -N | ||
+ | </ | ||
+ | |||
+ | List nodes with some info and their features: | ||
+ | < | ||
+ | sinfo -N -o "%N %P %.11T %.15f" | ||
+ | </ | ||
+ | |||
+ | |||
Line 83: | Line 118: | ||
< | < | ||
- | Where: | ||
* '' | * '' | ||
* '' | * '' | ||
+ | |||
+ | < | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
To see all the available options type: | To see all the available options type: |