Skip to content

Commit

Permalink
Apply suggestions on code snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
lauraporta committed Nov 13, 2024
1 parent e04f9eb commit 3b86f7b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/source/programming/vscode-with-slurm-job.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@ This solution is easy to set up and constrained by the SLURM job's resource limi
First, connect to the bastion node by running:

```console
ssh [email protected]
$ ssh <SWC-USERNAME>@ssh.swc.ucl.ac.uk
$ ssh hpc-gw1
```

Once connected, request an interactive job via SLURM to access a compute node:

```console
srun -p fast --pty bash -i
$ srun -p fast -n 4 --mem 8G --pty bash -i
```

In this example, `-p fast` requests the fast partition, with default time settings, though you may adjust this according to your needs.
Expand Down

0 comments on commit 3b86f7b

Please sign in to comment.