Skip to content

Commit c8534cc

Browse files
authored
Merge pull request #71 from neuroinformatics-unit/ns-replace-fast-partition
Remove mentions of `fast` partition
2 parents 88c83cc + ef5489c commit c8534cc

4 files changed

Lines changed: 18 additions & 11 deletions

File tree

docs/source/data_analysis/HPC-module-SLEAP.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -488,19 +488,19 @@ Login to the HPC cluster as described [above](access-to-the-hpc-cluster).
488488
Start an interactive job on a GPU node. This step is necessary, because we need
489489
to test the module's access to the GPU.
490490
```{code-block} console
491-
$ srun -p fast --gres=gpu:1 --pty bash -i
491+
$ srun -p gpu --gres=gpu:1 --pty bash -i
492492
```
493493
:::{dropdown} Explain the above command
494494
:color: info
495495
:icon: info
496496

497-
* `-p fast` requests a node from the 'fast' partition. This refers to the queue of nodes with a 3-hour time limit. They are meant for short jobs, such as testing.
497+
* `-p gpu` requests a node from the 'gpu' partition (queue)
498498
* `--gres=gpu:1` requests 1 GPU of any kind
499-
* `--pty` is short for 'pseudo-terminal'.
499+
* `--pty` is short for 'pseudo-terminal'
500500
* The `-i` stands for 'interactive'
501501

502502
Taken together, the above command will start an interactive bash terminal session
503-
on a node of the 'fast' partition, equipped with 1 GPU.
503+
on a node of the 'gpu' partition, equipped with 1 GPU card.
504504
:::
505505

506506
First, let's verify that you are indeed on a node equipped with a functional

docs/source/programming/SLURM-arguments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ For a more detailed description see the [SLURM documentation](https://slurm.sche
5454
- *Name:* `--partition`
5555
- *Alias:* `-p`
5656
- *Description:* Specifies the partition (or queue) to submit the job to. To see a list of all partitions/queues, the nodes they contain and their respective time limits, type `sinfo` when logged in to the HPC cluster.
57-
- *Example values:* `gpu`, `cpu`, `fast`, `medium`
57+
- *Example values:* `gpu`, `cpu`
5858

5959
### Job Name
6060
- *Name:* `--job-name`

docs/source/programming/SSH-SWC-cluster.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,18 @@ request an interactive session on a *compute* node using the `srun` command.
108108
Here's an example for creating a new conda environment:
109109

110110
```{code-block} console
111-
$ srun -p fast -n 4 --mem 8G --pty bash -i
111+
$ srun -p cpu -n 4 --mem 8G --pty bash -i
112112
$ module load miniconda
113113
$ conda create -n myenv python=3.10
114114
```
115115

116-
The first command requests 4 cores and 8GB of memory on a node of the `fast`
117-
partition, meant for jobs up to 3 hours long. The `--pty bash -i` part specifies
116+
The first command requests 4 cores and 8GB of memory on a node of the `cpu`
117+
partition, meant for jobs that do not require GPUs.
118+
Depending on your needs and node availability, you may need to request
119+
a different partition. See the [SLURM arguments primer](slurm-arguments-target)
120+
for more information.
121+
122+
The `--pty bash -i` part specifies
118123
an interactive bash shell. The following two commands are run in this shell,
119124
on the assigned *compute* node.
120125

docs/source/programming/vscode-with-slurm-job.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ $ ssh hpc-gw2
1919
Once connected, request an interactive job via SLURM to access a compute node. For example:
2020

2121
```{code-block} console
22-
$ srun -p fast -n 4 --mem 8G --pty bash -i
22+
$ srun -p cpu -n 4 --mem 8G --pty bash -i
2323
```
2424

25-
In this example, `-p fast` requests the fast partition, with default time settings, though you may adjust this according to your needs. For more information, see the [SLURM arguments primer](https://howto.neuroinformatics.dev/programming/SLURM-arguments.html).
25+
In this example, `-p cpu` requests the "cpu" partition, with default time settings, though you may adjust this according to your needs.
26+
You can also try other partitions depending on your needs and node availability.
27+
For more information, see the [SLURM arguments primer](slurm-arguments-target).
2628

2729
After connecting to a compute node, initiate [VSCode Remote Tunnel](https://code.visualstudio.com/docs/remote/tunnels) by typing:
2830

@@ -70,6 +72,6 @@ As explained in [VSCode docs](https://code.visualstudio.com/docs/remote/tunnels)
7072
One advantage of using VSCode's code tunnel is that it forwards any HTTP servers launched from the same node, such as Dash-Plotly apps or Jupyter Notebook servers. To launch your additional server, request a separate slurm job for the same compute node, e.g.:
7173

7274
```{code-block} console
73-
$ srun -p fast -w <node-name> -n 4 --mem 8G --pty bash -i
75+
$ srun -p cpu -w <node-name> -n 4 --mem 8G --pty bash -i
7476
```
7577
When these are initiated, VSCode will notify you with a link that you can follow to access the server's UI directly.

0 commit comments

Comments
 (0)