Skip to content

Commit de57f79

Browse files
[Minor] Rename the CSCS Todi cluster to CSCS Clariden (#28)
1 parent 447575e commit de57f79

File tree

13 files changed

+34
-28
lines changed

13 files changed

+34
-28
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Remember to get back to this root one after finishing each step.
6161
1. Clone the repo with destination `PROJECT_NAME`.
6262
- If you plan to develop on your local computer, clone it there.
6363
- If you plan to develop on your remote server (with direct access over say SSH, e.g. EPFL HaaS), clone it there.
64-
- If you plan to develop on CSCS Todi, clone it there (use an allocation with a compute node, not the login node)
64+
- If you plan to develop on CSCS Clariden, clone it there (use an allocation with a compute node, not the login node)
6565
- If you plan to develop or deploy on a managed cluster without a build engine
6666
(e.g., EPFL Run:ai clusters, SCITAS clusters), clone on your local machine.
6767
(Docker allows cross-platform builds with emulation, but it can be slow.

installation/docker-amd64-cuda/.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CSCS-Todi-setup
1+
CSCS-Clariden-setup
22
EPFL-runai-setup
33
EPFL-SCITAS-setup
44
from-python-template

installation/docker-amd64-cuda/CSCS-Todi-setup/.gitignore renamed to installation/docker-amd64-cuda/CSCS-Clariden-setup/.gitignore

File renamed without changes.

installation/docker-amd64-cuda/CSCS-Todi-setup/README.md renamed to installation/docker-amd64-cuda/CSCS-Clariden-setup/README.md

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# Guide for using the template with the CSCS Todi cluster
1+
# Guide for using the template with the CSCS Clariden cluster
22

33
## Overview
44

55
At this point, you should have edited the environment files and are ready to build or run the image.
6-
This guide will show you how to build and run your image on the CSCS Todi cluster and use it for
6+
This guide will show you how to build and run your image on the CSCS Clariden cluster and use it for
77

88
1. Remote development.
99
2. Running unattended jobs.
@@ -44,8 +44,14 @@ pip install podman-compose
4444
All commands should be run from the `installation/docker-amd64-cuda/` directory.
4545

4646
You should be on a compute node. If not already, get one.
47-
```
48-
srun --partition=debug --time=0:30:00 --pty bash
47+
```bash
48+
# Request a compute node
49+
sbatch -N --time 4:00:00 -A a-a10 --wrap "sleep infinity" --output=/dev/null --error=/dev/null
50+
# Connect to it
51+
srun --overlap --pty --jobid=GET_THE_JOB_ID bash
52+
tmux
53+
# or if reconnecting
54+
tmux at
4955
```
5056

5157
```bash
@@ -95,7 +101,7 @@ cd installation/docker-amd64-cuda
95101

96102
**CSCS and Slurm**:
97103

98-
1. You should have access to the Todi cluster.
104+
1. You should have access to the Clariden cluster.
99105
2. You should have some knowledge of Slurm.
100106

101107
There is a great documentation provided by the SwissAI initiative [here](https://github.com/swiss-ai/documentation).
@@ -129,7 +135,7 @@ This guide includes the steps to do it, and there are general details in `data/R
129135

130136
```bash
131137
# SSH to a cluster.
132-
ssh todi
138+
ssh clariden
133139
cd $SCRATCH
134140
# Clone the repo twice with name dev and run (if you already have one, mv it to a different name)
135141
mkdir template-project-name
@@ -163,12 +169,12 @@ They will be in `./EPFL-SCITAS-setup/submit-scripts`.
163169

164170
Adapt the `submit-scripts/minimal.sh` with the name of your image and your cluster storage setup.
165171

166-
The submission script gives an example of how to run containers on Todi with [`enroot`](https://github.com/NVIDIA/enroo)
172+
The submission script gives an example of how to run containers on Clariden with [`enroot`](https://github.com/NVIDIA/enroo)
167173
and the [`pyxis`](https://github.com/NVIDIA/pyxis) plugin directly integrated in `srun`,
168174

169175
Run the script to see how the template works.
170176
```bash
171-
cd installation/docker-amd64-cuda//CSCS-Todi-setup/submit-scripts
177+
cd installation/docker-amd64-cuda//CSCS-Clariden-setup/submit-scripts
172178
bash minimal.sh
173179
```
174180

@@ -256,24 +262,24 @@ GitHub provides a guide for that
256262
Use the following configuration in your local `~/.ssh/config`
257263

258264
```bash
259-
Host todi
260-
HostName todi.cscs.ch
265+
Host clariden
266+
HostName clariden.cscs.ch
261267
User smoalla
262268
ProxyJump ela
263269
ForwardAgent yes
264270

265271
# EDIT THIS HOSTNAME WITH EVERY NEW JOB
266-
Host todi-job
272+
Host clariden-job
267273
HostName nid005105
268274
User smoalla
269-
ProxyJump todi
275+
ProxyJump clariden
270276
StrictHostKeyChecking no
271277
UserKnownHostsFile=/dev/null
272278
ForwardAgent yes
273279

274-
Host todi-container
280+
Host clariden-container
275281
HostName localhost
276-
ProxyJump todi-job
282+
ProxyJump clariden-job
277283
Port 2223
278284
User smoalla
279285
StrictHostKeyChecking no
@@ -286,7 +292,7 @@ of the host [(ref)](https://linuxcommando.blogspot.com/2008/10/how-to-disable-ss
286292
which keeps changing every time a job is scheduled,
287293
so that you don't have to reset it each time.
288294

289-
With this config you can then connect to your container with `ssh todi-container`.
295+
With this config you can then connect to your container with `ssh clariden-container`.
290296

291297
**Limitations**
292298

installation/docker-amd64-cuda/CSCS-Todi-setup/template-submit-examples/README.md renamed to installation/docker-amd64-cuda/CSCS-Clariden-setup/template-submit-examples/README.md

File renamed without changes.

installation/docker-amd64-cuda/CSCS-Todi-setup/template-submit-examples/edf.toml renamed to installation/docker-amd64-cuda/CSCS-Clariden-setup/template-submit-examples/edf.toml

File renamed without changes.

installation/docker-amd64-cuda/CSCS-Todi-setup/template-submit-examples/minimal.sh renamed to installation/docker-amd64-cuda/CSCS-Clariden-setup/template-submit-examples/minimal.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ srun \
1414
-J template-minimal \
1515
--pty \
1616
--container-image=$CONTAINER_IMAGES/claire+smoalla+template-project-name+amd64-cuda-root-latest.sqsh \
17-
--environment="${PROJECT_ROOT_AT}/installation/docker-amd64-cuda/CSCS-Todi-setup/submit-scripts/edf.toml" \
17+
--environment="${PROJECT_ROOT_AT}/installation/docker-amd64-cuda/CSCS-Clariden-setup/submit-scripts/edf.toml" \
1818
--container-mounts=$SCRATCH \
1919
--container-workdir=$PROJECT_ROOT_AT \
2020
--no-container-mount-home \

installation/docker-amd64-cuda/CSCS-Todi-setup/template-submit-examples/remote-development.sh renamed to installation/docker-amd64-cuda/CSCS-Clariden-setup/template-submit-examples/remote-development.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export JETBRAINS_SERVER_AT=$SCRATCH/jetbrains-server
1717

1818
srun \
1919
--container-image=$CONTAINER_IMAGES/claire+smoalla+template-project-name+amd64-cuda-root-latest.sqsh \
20-
--environment="${PROJECT_ROOT_AT}/installation/docker-amd64-cuda/CSCS-Todi-setup/submit-scripts/edf.toml" \
20+
--environment="${PROJECT_ROOT_AT}/installation/docker-amd64-cuda/CSCS-Clariden-setup/submit-scripts/edf.toml" \
2121
--container-mounts=\
2222
$SCRATCH,\
2323
$WANDB_API_KEY_FILE_AT,\

installation/docker-amd64-cuda/CSCS-Todi-setup/template-submit-examples/test-interactive.sh renamed to installation/docker-amd64-cuda/CSCS-Clariden-setup/template-submit-examples/test-interactive.sh

File renamed without changes.

installation/docker-amd64-cuda/CSCS-Todi-setup/template-submit-examples/unattended-distributed.sh renamed to installation/docker-amd64-cuda/CSCS-Clariden-setup/template-submit-examples/unattended-distributed.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export WANDB_API_KEY_FILE_AT=$HOME/.wandb-api-key
1818

1919
srun \
2020
--container-image=$CONTAINER_IMAGES/claire+smoalla+template-project-name+amd64-cuda-root-latest.sqsh \
21-
--environment="${PROJECT_ROOT_AT}/installation/docker-amd64-cuda/CSCS-Todi-setup/submit-scripts/edf.toml" \
21+
--environment="${PROJECT_ROOT_AT}/installation/docker-amd64-cuda/CSCS-Clariden-setup/submit-scripts/edf.toml" \
2222
--container-mounts=\
2323
$SCRATCH,\
2424
$WANDB_API_KEY_FILE_AT \

0 commit comments

Comments
 (0)