From a9aa9f8ecdacd1d0942a1f3d6e06c07fe9d38f6b Mon Sep 17 00:00:00 2001 From: Jan Frenzel <jan.frenzel@tu-dresden.de> Date: Wed, 22 Sep 2021 10:42:06 +0200 Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s) --- .../docs/archive/install_jupyter.md | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/doc.zih.tu-dresden.de/docs/archive/install_jupyter.md b/doc.zih.tu-dresden.de/docs/archive/install_jupyter.md index 2f3cf5379..2cd86bac8 100644 --- a/doc.zih.tu-dresden.de/docs/archive/install_jupyter.md +++ b/doc.zih.tu-dresden.de/docs/archive/install_jupyter.md @@ -131,12 +131,19 @@ c.NotebookApp.allow_remote_access = True ## Slurm job file to run the Jupyter server on ZIH system with GPU (1x K80) (also works on K20) ```Bash -#!/bin/bash -l #SBATCH --gres=gpu:1 # request GPU #SBATCH --partition=gpu2 # use GPU partition -SBATCH --output=notebook_output.txt #SBATCH --nodes=1 #SBATCH --ntasks=1 #SBATCH --time=02:30:00 -SBATCH --mem=4000M #SBATCH -J "jupyter-notebook" # job-name #SBATCH -A <name_of_your_project> - -unset XDG_RUNTIME_DIR # might be required when interactive instead of sbatch to avoid -'Permission denied error' srun jupyter notebook +#!/bin/bash -l +#SBATCH --gres=gpu:1 # request GPU +#SBATCH --partition=gpu2 # use GPU partition +#SBATCH --output=notebook_output.txt +#SBATCH --nodes=1 +#SBATCH --ntasks=1 +#SBATCH --time=02:30:00 +#SBATCH --mem=4000M +#SBATCH -J "jupyter-notebook" # job-name +#SBATCH -A <name_of_your_project> + +unset XDG_RUNTIME_DIR # might be required when interactive instead of sbatch to avoid 'Permission denied error' +srun jupyter notebook ``` Start the script above (e.g. with the name `jnotebook`) with sbatch command: -- GitLab