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

Update job-scheduling.md - interactive jobs

parent fac19029
No related branches found
No related tags found
No related merge requests found
Pipeline #28870 passed with warnings
......@@ -34,13 +34,13 @@ $ scontrol show job 104
Run interactive job
```console
$ srun -A PROJECT-ID -p p01-arm --pty bash -i
$ salloc -A PROJECT-ID -p p01-arm
```
Run interactive job, with X11 forwarding
```console
$ srun -A PROJECT-ID -p p01-arm --pty --x11 bash -i
$ salloc -A PROJECT-ID -p p01-arm --x11
```
Run batch job
......@@ -49,7 +49,7 @@ Run batch job
$ sbatch -A PROJECT-ID -p p01-arm ../script.sh
```
Useful command options (srun, sbatch, salloc)
Useful command options (salloc, sbatch, srun)
* -n, --ntasks
* -c, --cpus-per-task
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment