From 3b86f7b95ab52ba995ef6b3a7ebcf46c3be061f1 Mon Sep 17 00:00:00 2001 From: lauraporta Date: Wed, 13 Nov 2024 10:25:36 +0000 Subject: [PATCH] Apply suggestions on code snippets --- docs/source/programming/vscode-with-slurm-job.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/source/programming/vscode-with-slurm-job.md b/docs/source/programming/vscode-with-slurm-job.md index 8e7d20a..b7bcbe1 100644 --- a/docs/source/programming/vscode-with-slurm-job.md +++ b/docs/source/programming/vscode-with-slurm-job.md @@ -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 username@swc.ucl.ac.uk +$ ssh @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.