Skip to content

Commit

Permalink
[src][jupyterlabs-conda] fix up and document start_jupyterlab.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
smokhov committed Jan 16, 2025
1 parent 8a95f27 commit b28062f
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/jupyter/jupyterlabs-conda/start_jupyterlab.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# Start either a part of interactive or batch sesions
# Hardcoded assumption: /speed-scratch/$USER/speed-hpc/src/jupyterlabs
srun --mem=16G --gpus=1 -p pt --mail-type=ALL /speed-scratch/$USER/speed-hpc/src/jupyterlabs/run_jupyterlab.sh
# Hardcoded assumptions to adjust as necessary:
# path: /speed-scratch/$USER/speed-hpc/src/jupyter/jupyterlabs-conda
# memory: 16GB
# GPUs: 1
# partition: pt
# CPUs: 8
# notifications: ALL
# If calling from sbatch, make sure these don't exceed those from sbatch
srun \
--mem=16G --gpus=1 -p pt -c 8 --mail-type=ALL \
/speed-scratch/$USER/speed-hpc/src/jupyter/jupyterlabs-conda/run_jupyterlab.sh

0 comments on commit b28062f

Please sign in to comment.