From af96b3399b9c780939b9b2003aefbfceac28d0d7 Mon Sep 17 00:00:00 2001 From: Ludovic Raess Date: Thu, 7 Nov 2024 10:22:10 +0100 Subject: [PATCH] Fix docs --- website/software_install.md | 36 ++++++++++++++++-------------------- 1 file changed, 16 insertions(+), 20 deletions(-) diff --git a/website/software_install.md b/website/software_install.md index 74aa424a..ac014607 100644 --- a/website/software_install.md +++ b/website/software_install.md @@ -231,8 +231,7 @@ $ mpiexecjl -n 4 -host localhost julia --project ./hello_mpi.jl ``` } - - +For running Julia at scale on Piz Daint, refer to the [Julia MPI GPU on Piz Daint](#julia_mpi_gpu_on_piz_daint) section. ## GPU computing on Piz Daint @@ -447,12 +446,14 @@ If you do not want to use an interactive session you can use the `sbatch` comman #SBATCH --constraint=gpu #SBATCH --account class04 -# activate julia env -. $SCRATCH/../julia/daint-gpu-nocudaaware/activate +# make sure to activate julia env before executing this script. +# DO NOT add this `. $SCRATCH/../julia/daint-gpu-nocudaaware/activate` in here -srun julia +srun julia --project ``` +\warn{Make sure to have activated Julia env (`. $SCRATCH/../julia/daint-gpu-nocudaaware/activate`) **before** executing the `sbatch` command.} + ### JupyterLab access on Piz Daint Some tasks and homework, are prepared as Jupyter notebook and can easily be executed within a JupyterLab environment. CSCS offers a convenient [JupyterLab access](https://user.cscs.ch/tools/interactive/jupyterlab/#access-and-setup). @@ -486,43 +487,41 @@ fusermount -u -z /home/$USER/mnt_daint ``` For convenience it is suggested to also symlink to the home-directory `ln -s ~/mnt/daint/users/ ~/mnt/daint_home`. (Note that we mount the root directory `/` with `sshfs` such that access to `/scratch` is possible.) - -\note{The 2 scripts above can be found in the [scripts](https://github.com/eth-vaw-glaciology/course-101-0250-00/blob/main/scripts/l8_scripts/) folder.} --> +\note{The scripts above can be found in the [scripts](https://github.com/eth-vaw-glaciology/course-101-0250-00/blob/main/scripts/l8_scripts/) folder.}