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 15:50] vodrazka [Cluster info] |
slurm [2022/09/08 13:46] vodrazka [Batch mode] |
||
---|---|---|---|
Line 17: | Line 17: | ||
#!/bin/bash | #!/bin/bash | ||
#SBATCH -J helloWorld | #SBATCH -J helloWorld | ||
- | #SBATCH -p cpu-troja | + | #SBATCH -p cpu-troja |
#SBATCH -o helloWorld.out | #SBATCH -o helloWorld.out | ||
#SBATCH -e helloWorld.err | #SBATCH -e helloWorld.err | ||
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 81: | Line 90: | ||
< | < | ||
sinfo | sinfo | ||
+ | </ | ||
+ | |||
+ | List detailed info about nodes: | ||
+ | < | ||
+ | sinfo -l -N | ||
</ | </ | ||
- | List types of available GPUs: | + | List nodes with some custom format info: |
< | < | ||
- | sinfo -o %G | + | sinfo -N -o "%N %P %.11T %.15f" |
</ | </ | ||
Line 104: | Line 118: | ||
< | < | ||
- | Where: | + | |
- | | + | |
* '' | * '' | ||
+ | |||
+ | < | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | < | ||
+ | * '' | ||
To see all the available options type: | To see all the available options type: |