Skip to content
Snippets Groups Projects
Commit b3c89e42 authored by Jan Siwiec's avatar Jan Siwiec
Browse files

Update job-scheduling.md

parent a763f269
Branches
No related tags found
No related merge requests found
Pipeline #28712 failed
# Complementary System Job Scheduling
## Introduction
[Slurm][1] workload manager is used to allocate and access Complementary systems resources.
Display partitions/queues
```
```console
$ sinfo
PARTITION AVAIL TIMELIMIT NODES STATE NODELIST
p00-arm up 1-00:00:00 1 idle p00-arm01
......@@ -16,29 +18,34 @@ p05-synt up 1-00:00:00 1 idle p05-synt01
```
Show jobs
```
```console
$ squeue --me
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON)
104 p01-arm interact user R 1:48 2 p01-arm[01-02]
```
Show job details
```
```console
$ scontrol show job 104
```
Run interactive job
```
```console
$ srun -A PROJECT-ID -p p01-arm --pty bash -i
```
Run interactive job, with X11 forwarding
```
```console
$ srun -A PROJECT-ID -p p01-arm --pty --x11 bash -i
```
Run batch job
```
```console
$ sbatch -A PROJECT-ID -p p01-arm ../script.sh
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment