This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
slurm_tutorial [2019/01/16 08:21] – [Examples] lenocil | slurm_tutorial [2019/01/16 08:35] (current) – [Less-common user commands] lenocil | ||
---|---|---|---|
Line 55: | Line 55: | ||
< | < | ||
- | $squeue -u bongo | + | $squeue -u < |
- | JOBID PARTITION | + | |
- | | + | |
- | + | ||
</ | </ | ||
Line 67: | Line 64: | ||
< | < | ||
$ scontrol show partition notebook | $ scontrol show partition notebook | ||
- | PartitionName=notebook | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | |||
</ | </ | ||
< | < | ||
$scontrol show node maris004 | $scontrol show node maris004 | ||
- | NodeName=maris004 Arch=x86_64 CoresPerSocket=4 | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | |||
</ | </ | ||
< | < | ||
novamaris [1087] $ scontrol show jobs 1052 | novamaris [1087] $ scontrol show jobs 1052 | ||
- | JobId=1052 JobName=slurm_engine.sbatch | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | |||
</ | </ | ||
Line 136: | Line 83: | ||
0: maris005 | 0: maris005 | ||
1: maris006 | 1: maris006 | ||
- | |||
</ | </ | ||
+ | |||
**Create three tasks running on the same node** | **Create three tasks running on the same node** | ||
< | < | ||
Line 146: | Line 93: | ||
</ | </ | ||
**Create three tasks running on different nodes specifying which nodes should __at least__ be used** | **Create three tasks running on different nodes specifying which nodes should __at least__ be used** | ||
+ | |||
< | < | ||
srun -N3 -w " | srun -N3 -w " | ||
Line 195: | Line 143: | ||
< | < | ||
$ sacctmgr show qos format=Name, | $ sacctmgr show qos format=Name, | ||
- | Name MaxCPUsPU MaxJobsPU | ||
- | ---------- --------- --------- -------------------- | ||
- | normal | ||
- | playground | ||
- | notebook | ||
</ | </ | ||
Line 222: | Line 165: | ||
< | < | ||
- | $ sshare -U -u xxxxx | + | $ sshare -U -u < |
| | ||
-------------------- ---------- ---------- ----------- ----------- ------------- ---------- | -------------------- ---------- ---------- ----------- ----------- ------------- ---------- | ||
Line 258: | Line 201: | ||
</ | </ | ||
+ | |||
+ | :!: Use '' | ||
===== Tips ===== | ===== Tips ===== | ||