You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: setup/01-getting-started.md
+2-23Lines changed: 2 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,12 +20,6 @@ cd "$HOME"
20
20
git clone https://github.com/ofuhrer/HPC4WC.git
21
21
```
22
22
23
-
If you want direct access to your scratch space from the file browser, create a symlink:
24
-
25
-
```bash
26
-
ln -sfn "$SCRATCH""$HOME/scratch"
27
-
```
28
-
29
23
## Install the Course Environment
30
24
31
25
Run the setup script from the JupyterLab terminal:
@@ -35,15 +29,9 @@ cd "$HOME/HPC4WC"
35
29
./setup/HPC4WC_setup.sh
36
30
```
37
31
38
-
The script creates a Python virtual environment under `$SCRATCH`, symlinks it as `$HOME/HPC4WC_venv`, registers the `HPC4WC_kernel` Jupyter kernel, and validates the CPU-side Python stack. It also installs a small `srun` wrapper inside the virtual environment so nested `srun -n ...` commands and `%ipcluster start -n ...` work from the single-task JupyterHub allocation. It does not modify `.bashrc`.
39
-
40
-
If you need to recreate the environment, or if an older course setup already exists, run:
41
-
42
-
```bash
43
-
HPC4WC_FORCE=1 ./setup/HPC4WC_setup.sh
44
-
```
32
+
The script creates a Python virtual environment under `$SCRATCH`, symlinks it as `$HOME/HPC4WC_venv`, registers the `HPC4WC_kernel` Jupyter kernel, and validates the CPU-side Python stack.
45
33
46
-
For terminals, activate the environment with:
34
+
If you need to acces the environment from a terminal, activate the environment with:
47
35
48
36
```bash
49
37
source"$HOME/activate_hpc4wc.sh"
@@ -62,12 +50,3 @@ setup/02-test-setup.ipynb
62
50
```
63
51
64
52
It checks NumPy, Matplotlib, MPI through `ipyparallel`, CuPy, GT4Py, and the package versions expected for the course.
65
-
66
-
For a compute-node validation from a Santis login node, submit:
67
-
68
-
```bash
69
-
cd"$HOME/HPC4WC"
70
-
sbatch setup/validate_on_compute.sh
71
-
```
72
-
73
-
Validation logs are written below `$SCRATCH/HPC4WC_validation_logs`.
0 commit comments