Skip to content
Snippets Groups Projects
Commit 3695dfcc authored by Danny Marc Rotscher's avatar Danny Marc Rotscher
Browse files

Update jupyterlab.md

parent 4f22621a
No related branches found
No related tags found
2 merge requests!993Automated merge from preview to main,!992Update 2 files
...@@ -9,7 +9,8 @@ ...@@ -9,7 +9,8 @@
marie@login$ ml release/23.04 GCCcore/12.2.0 marie@login$ ml release/23.04 GCCcore/12.2.0
marie@login$ ml Python/3.10.8 marie@login$ ml Python/3.10.8
marie@login$ source /software/util/JupyterLab/alpha/jupyterlab-4.0.4/bin/activate 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" === "barnard"
...@@ -19,7 +20,8 @@ ...@@ -19,7 +20,8 @@
marie@login$ ml release/23.10 GCCcore/12.2.0 marie@login$ ml release/23.10 GCCcore/12.2.0
marie@login$ ml Python/3.10.8 marie@login$ ml Python/3.10.8
marie@login$ source /software/util/JupyterLab/barnard/jupyterlab-4.0.4/bin/activate 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" === "romeo"
...@@ -29,7 +31,8 @@ ...@@ -29,7 +31,8 @@
marie@login$ ml release/23.04 GCCcore/12.2.0 marie@login$ ml release/23.04 GCCcore/12.2.0
marie@login$ ml Python/3.10.8 marie@login$ ml Python/3.10.8
marie@login$ source /software/util/JupyterLab/romeo/jupyterlab-4.0.4/bin/activate 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" === "visualization"
...@@ -40,7 +43,8 @@ ...@@ -40,7 +43,8 @@
marie@login$ ml Python/3.10.8 marie@login$ ml Python/3.10.8
marie@login$ source /software/util/JupyterLab/vis/jupyterlab-4.0.4/bin/activate 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$ 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. If you then want to start a DCV session, click the button and a new tab appear.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment