Skip to content
Snippets Groups Projects

Resolve #456

Merged Martin Schroschk requested to merge issue456 into preview
7 files
+ 32
18
Compare changes
  • Side-by-side
  • Inline
Files
7
@@ -328,8 +328,8 @@ specifications for each component of the heterogeneous job should be separated w
@@ -328,8 +328,8 @@ specifications for each component of the heterogeneous job should be separated w
Running a job step on a specific component is supported by the option `--het-group`.
Running a job step on a specific component is supported by the option `--het-group`.
```console
```console
marie@login$ salloc --ntasks 1 --cpus-per-task 4 --partition <partition> --mem=200G : \
marie@login$ salloc --ntasks=1 --cpus-per-task=4 --partition <partition> --mem=200G : \
--ntasks 8 --cpus-per-task 1 --gres=gpu:8 --mem=80G --partition <partition>
--ntasks=8 --cpus-per-task=1 --gres=gpu:8 --mem=80G --partition <partition>
[...]
[...]
marie@login$ srun ./my_application <args for master tasks> : ./my_application <args for worker tasks>
marie@login$ srun ./my_application <args for master tasks> : ./my_application <args for worker tasks>
```
```
@@ -340,16 +340,16 @@ components by a line containing the directive `#SBATCH hetjob`.
@@ -340,16 +340,16 @@ components by a line containing the directive `#SBATCH hetjob`.
```bash
```bash
#!/bin/bash
#!/bin/bash
#SBATCH --ntasks 1
#SBATCH --ntasks=1
#SBATCH --cpus-per-task 4
#SBATCH --cpus-per-task=4
#SBATCH --partition <partition>
#SBATCH --partition=<partition>
#SBATCH --mem=200G
#SBATCH --mem=200G
#SBATCH hetjob # required to separate groups
#SBATCH hetjob # required to separate groups
#SBATCH --ntasks 8
#SBATCH --ntasks=8
#SBATCH --cpus-per-task 1
#SBATCH --cpus-per-task=1
#SBATCH --gres=gpu:8
#SBATCH --gres=gpu:8
#SBATCH --mem=80G
#SBATCH --mem=80G
#SBATCH --partition <partition>
#SBATCH --partition=<partition>
srun ./my_application <args for master tasks> : ./my_application <args for worker tasks>
srun ./my_application <args for master tasks> : ./my_application <args for worker tasks>
@@ -474,7 +474,7 @@ at no extra cost.
@@ -474,7 +474,7 @@ at no extra cost.
??? example "Show all jobs since the beginning of year 2021"
??? example "Show all jobs since the beginning of year 2021"
```console
```console
marie@login$ sacct -S 2021-01-01 [-E now]
marie@login$ sacct --starttime 2021-01-01 [--endtime now]
```
```
## Jobs at Reservations
## Jobs at Reservations
Loading