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:54] hmeij07 [Testing!] |
cluster:218 [2022/08/29 13:17] hmeij07 [CentOS7 Slurm Template] |
||
---|---|---|---|
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 72: | Line 85: | ||
You must request **resources**, | You must request **resources**, | ||
+ | |||
+ | Details | ||
+ | |||
+ | * https:// | ||
Some common examples are: | Some common examples are: | ||
Line 83: | Line 100: | ||
#SBATCH -n 8 # tasks=S*C*T | #SBATCH -n 8 # tasks=S*C*T | ||
#SBATCH -B 2:4:1 # S: | #SBATCH -B 2:4:1 # S: | ||
+ | #SBATCH --mem=250 | ||
+ | #SBATCH --ntasks-per-node=1 # needed to override oversubscribe | ||
+ | #SBATCH --cpus-per-task=1 | ||
+ | |||
GPU control | GPU control | ||
- | #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: | ||
#SBATCH --gres=gpu: | #SBATCH --gres=gpu: | ||
Line 336: | Line 357: | ||
- | * ''/ | + | * ''/ |
< | < | ||
Line 379: | Line 400: | ||
cd $MYLOCALSCRATCH | cd $MYLOCALSCRATCH | ||
- | ### AMBER20 | + | ### AMBER20 |
#source / | #source / | ||
# OR # | # OR # | ||
Line 452: | Line 473: | ||
Note also that we're running mwgpu' | Note also that we're running mwgpu' | ||
- | * ''/ | + | * ''/ |
< | < | ||
Line 488: | Line 509: | ||
#SBATCH --nodelist=n88 | #SBATCH --nodelist=n88 | ||
+ | # may or may not be needed, centos7 login env | ||
+ | source $HOME/ | ||
+ | which ifort # should be the parallel studio 2016 version | ||
# unique job scratch dirs | # unique job scratch dirs | ||
Line 507: | Line 531: | ||
- | ###source / | + | |
- | source / | + | ###source / |
+ | source / | ||
# stage the data | # stage the data | ||
cp -r ~/ | cp -r ~/ |