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 | ||
cluster:218 [2022/06/30 17:46] hmeij07 [Rocky8 Slurm Template] |
cluster:218 [2022/08/05 19:34] hmeij07 [Quick Start Slurm Guide] |
||
---|---|---|---|
Line 28: | Line 28: | ||
* August 2022 is designated **migration** period | * August 2022 is designated **migration** period | ||
* Queues '' | * Queues '' | ||
+ | |||
+ | |||
+ | ==== Quick Start Slurm Guide ==== | ||
+ | |||
+ | Jump to the **Rocky8/ | ||
+ | |||
+ | There is also detailed information on Amber20/ | ||
+ | |||
+ | * [[cluster: | ||
==== Basic Commands ==== | ==== Basic Commands ==== | ||
Line 47: | Line 56: | ||
# sorta like bhosts -l | # sorta like bhosts -l | ||
| | ||
+ | |||
+ | # sorta like bstop/ | ||
+ | scontrol suspend job 1000001 | ||
+ | scontrol resume job 1000001 | ||
# sorta like bhist -l | # sorta like bhist -l | ||
Line 336: | Line 349: | ||
- | * ''/ | + | * ''/ |
< | < | ||
Line 379: | Line 392: | ||
cd $MYLOCALSCRATCH | cd $MYLOCALSCRATCH | ||
- | ### AMBER20 | + | ### AMBER20 |
#source / | #source / | ||
# OR # | # OR # | ||
Line 448: | Line 461: | ||
==== CentOS7 Slurm Template ==== | ==== CentOS7 Slurm Template ==== | ||
- | In this job template I have it setup to run '' | + | In this job template I have it setup to run '' |
- | Note also that we're running mwgpu' | + | Note also that we're running mwgpu' |
- | * ''/ | + | * ''/ |
< | < | ||
Line 479: | Line 492: | ||
# | # | ||
# GPU control | # GPU control | ||
- | ###SBATCH --gres=gpu: | ||
- | ###SBATCH --gres=gpu: | ||
###SBATCH --cpus-per-gpu=1 | ###SBATCH --cpus-per-gpu=1 | ||
###SBATCH --mem-per-gpu=7168 | ###SBATCH --mem-per-gpu=7168 | ||
+ | ###SBATCH --gres=gpu: | ||
+ | ###SBATCH --gres=gpu: | ||
# | # | ||
# Node control | # Node control | ||
Line 507: | Line 520: | ||
- | ###source / | + | |
- | source / | + | ###source / |
+ | source / | ||
# stage the data | # stage the data | ||
cp -r ~/ | cp -r ~/ | ||
Line 567: | Line 581: | ||
July 2022 is for **testing...** lots to learn! | July 2022 is for **testing...** lots to learn! | ||
- | Kudos to Abhilash for working our way through all this. | + | Kudos to Abhilash |
\\ | \\ | ||
**[[cluster: | **[[cluster: | ||