Skip to content
Snippets Groups Projects
Commit 437a86c7 authored by Roman Sliva's avatar Roman Sliva
Browse files

Update slurm-job-submission-and-execution.md

parent ee018061
No related branches found
No related tags found
No related merge requests found
Pipeline #33223 passed with warnings
...@@ -51,16 +51,22 @@ $ scontrol -d show job $SLURM_JOBID ...@@ -51,16 +51,22 @@ $ scontrol -d show job $SLURM_JOBID
## Running Interactive Jobs ## Running Interactive Jobs
Run interactive job Run interactive job - queue qcpu_exp, one node by default, one task by default
```console ```console
$ salloc -A PROJECT-ID -p qcpu $ salloc -A PROJECT-ID -p qcpu_exp
```
Run interactive job on four nodes, 36 tasks per node (Barbora cluster, cpu partition recommended value based on core count), two hours time limit
```console
$ salloc -A PROJECT-ID -p qcpu -N 4 --ntasks-per-node 36 -t 2:00:00
``` ```
Run interactive job, with X11 forwarding Run interactive job, with X11 forwarding
```console ```console
$ salloc -A PROJECT-ID -p qcpu --x11 $ salloc -A PROJECT-ID -p qcpu_exp --x11
``` ```
!!! warning !!! warning
...@@ -71,9 +77,10 @@ Run interactive job, with X11 forwarding ...@@ -71,9 +77,10 @@ Run interactive job, with X11 forwarding
Run batch job Run batch job
```console ```console
$ sbatch ./script.sh $ sbatch script.sh
``` ```
File script content:
```shell ```shell
#!/usr/bin/bash #!/usr/bin/bash
#SBATCH -J MyJobName #SBATCH -J MyJobName
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment