From a58dd9aba11394f5cec9595bbfead8ceb5fcd5ed Mon Sep 17 00:00:00 2001
From: Martin Schroschk <martin.schroschk@tu-dresden.de>
Date: Thu, 26 Sep 2024 09:21:24 +0200
Subject: [PATCH] Correct path for workspace

---
 .../docs/jobs_and_resources/alpha_centauri.md    | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/doc.zih.tu-dresden.de/docs/jobs_and_resources/alpha_centauri.md b/doc.zih.tu-dresden.de/docs/jobs_and_resources/alpha_centauri.md
index d055e0fd3..8cd40473e 100644
--- a/doc.zih.tu-dresden.de/docs/jobs_and_resources/alpha_centauri.md
+++ b/doc.zih.tu-dresden.de/docs/jobs_and_resources/alpha_centauri.md
@@ -117,13 +117,21 @@ additional Python packages and create an isolated runtime environment. We recomm
 
 ??? example "Example: Creating a virtual environment and installing `torchvision` package"
 
+    As first step, you should create a workspace
+
     ```console
     marie@login.alpha$ srun --nodes=1 --cpus-per-task=1 --gres=gpu:1 --time=01:00:00 --pty bash -l
-    marie@alpha$ ws_allocate -n python_virtual_environment -d 1
+    marie@alpha$ ws_allocate --name python_virtual_environment --duration 1
     Info: creating workspace.
-    /horse/ws/1/marie-python_virtual_environment
+    /horse/ws/marie-python_virtual_environment
     remaining extensions  : 2
     remaining time in days: 1
+    ```
+
+    Now, you can load the desired modules and create a virtual environment within the allocated
+    workspace.
+
+    ```
     marie@alpha$ module load release/23.04 GCCcore/11.3.0 GCC/11.3.0 OpenMPI/4.1.4 Python/3.10.4
     Module GCC/11.3.0, OpenMPI/4.1.4, Python/3.10.4 and 21 dependencies loaded.
     marie@alpha$ module load PyTorch/1.12.1-CUDA-11.7.0
@@ -132,13 +140,13 @@ additional Python packages and create an isolated runtime environment. We recomm
     /software/rome/r23.04/Python/3.10.4-GCCcore-11.3.0/bin/python
     marie@alpha$ pip list
     [...]
-    marie@alpha$ virtualenv --system-site-packages /horse/ws/1/marie-python_virtual_environment/my-torch-env
+    marie@alpha$ virtualenv --system-site-packages /data/horse/ws/marie-python_virtual_environment/my-torch-env
     created virtual environment CPython3.8.6.final.0-64 in 42960ms
       creator CPython3Posix(dest=/horse/.global1/ws/marie-python_virtual_environment/my-torch-env, clear=False, global=True)
       seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=~/.local/share/virtualenv)
         added seed packages: pip==21.1.3, setuptools==57.2.0, wheel==0.36.2
       activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator
-    marie@alpha$ source /horse/ws/1/marie-python_virtual_environment/my-torch-env/bin/activate
+    marie@alpha$ source /data/horse/ws/marie-python_virtual_environment/my-torch-env/bin/activate
     (my-torch-env) marie@alpha$ pip install torchvision==0.13.1
     [...]
     Installing collected packages: torchvision
-- 
GitLab