Skip to content

Commit

Permalink
doc: use --overlap to share resources between job and ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelLarkin committed May 28, 2024
1 parent bce24bb commit 9de2d50
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/slurm.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,18 +225,19 @@ cn104
This is an example command to connect to a worker node on GPSC5

```sh
srun --jobid=<JOBID> --pty bash -l
srun --jobid=<JOBID> --overlap --pty bash -l
```

Example of connecting to a GPU running job on GPSC5.

```sh
srun --jobid=<JOBID> --gres=gpu:8 -N 1 --ntasks=1 --mem-per-cpu=0 --pty -w ib14gpu-001 -s /bin/bash -l
srun --jobid=<JOBID> --overlap --gres=gpu:8 -N 1 --ntasks=1 --mem-per-cpu=0 --pty -w ib14gpu-001 -s /bin/bash -l
```

```sh
srun \
--jobid <JOBID> \
--overlap \
--gres=gpu:0 \
--nodes 1 \
--ntasks 1 \
Expand Down

0 comments on commit 9de2d50

Please sign in to comment.