From 3695dfcc82f97fb52f1fd96552af3347a450fefa Mon Sep 17 00:00:00 2001 From: Danny Marc Rotscher <danny.rotscher@tu-dresden.de> Date: Fri, 23 Feb 2024 11:13:58 +0100 Subject: [PATCH] Update jupyterlab.md --- doc.zih.tu-dresden.de/docs/access/jupyterlab.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/doc.zih.tu-dresden.de/docs/access/jupyterlab.md b/doc.zih.tu-dresden.de/docs/access/jupyterlab.md index 920a73e3f..17055be84 100644 --- a/doc.zih.tu-dresden.de/docs/access/jupyterlab.md +++ b/doc.zih.tu-dresden.de/docs/access/jupyterlab.md @@ -9,7 +9,8 @@ marie@login$ ml release/23.04 GCCcore/12.2.0 marie@login$ ml Python/3.10.8 marie@login$ source /software/util/JupyterLab/alpha/jupyterlab-4.0.4/bin/activate - marie@login$ srun --nodes=1 --ntasks=1 --cpus-per-task=4 --mem-per-cpu=8192 --x11 --gres=gpu:1 jupyter lab --port=8888 -y + marie@login$ srun --nodes=1 --ntasks=1 --cpus-per-task=4 --mem-per-cpu=8192 --x11 --pty --gres=gpu:1 bash -l + marie@compute$ jupyter lab --port=8888 -y ``` === "barnard" @@ -19,7 +20,8 @@ marie@login$ ml release/23.10 GCCcore/12.2.0 marie@login$ ml Python/3.10.8 marie@login$ source /software/util/JupyterLab/barnard/jupyterlab-4.0.4/bin/activate - marie@login$ srun --nodes=1 --ntasks=1 --cpus-per-task=4 --mem-per-cpu=8192 --x11 jupyter lab --port=8888 -y + marie@login$ srun --nodes=1 --ntasks=1 --cpus-per-task=4 --mem-per-cpu=8192 --x11 --pty bash -l + marie@compute$ jupyter lab --port=8888 -y ``` === "romeo" @@ -29,7 +31,8 @@ marie@login$ ml release/23.04 GCCcore/12.2.0 marie@login$ ml Python/3.10.8 marie@login$ source /software/util/JupyterLab/romeo/jupyterlab-4.0.4/bin/activate - marie@login$ srun --nodes=1 --ntasks=1 --cpus-per-task=4 --mem-per-cpu=8192 --x11 jupyter lab --port=8888 -y + marie@login$ srun --nodes=1 --ntasks=1 --cpus-per-task=4 --mem-per-cpu=8192 --x11 --pty bash -l + marie@compute$ jupyter lab --port=8888 -y ``` === "visualization" @@ -40,7 +43,8 @@ marie@login$ ml Python/3.10.8 marie@login$ source /software/util/JupyterLab/vis/jupyterlab-4.0.4/bin/activate marie@login$ export SLURM_CONF=/software/util/dcv/etc/slurm/slurm.conf - marie@login$ srun --nodes=1 --ntasks=1 --cpus-per-task=4 --mem-per-cpu=8192 --x11 jupyter lab --port=8888 -y --browser=chromium-browser + marie@login$ srun --nodes=1 --ntasks=1 --cpus-per-task=4 --mem-per-cpu=8192 --x11 --pty bash -l + marie@compute$ jupyter lab --port=8888 -y --browser=chromium-browser ``` If you then want to start a DCV session, click the button and a new tab appear. -- GitLab