Skip to content
Snippets Groups Projects
Commit a9aa9f8e authored by Jan Frenzel's avatar Jan Frenzel Committed by Elias Werner
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent 3fcee64f
No related branches found
No related tags found
4 merge requests!333Draft: update NGC containers,!322Merge preview into main,!319Merge preview into main,!258Data Analytics restructuring
......@@ -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:
......
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