-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjupyter.sh
executable file
·35 lines (33 loc) · 987 Bytes
/
jupyter.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/bash
###
# CS236781: Deep Learning
# jupyter-lab.sh
#
# This script is intended to help you run jupyter lab on the course servers.
#
# Example usage:
#
# To run on the gateway machine (limited resources, no GPU):
# ./jupyter-lab.sh
#
# To run on a compute node:
# srun -c 2 --gres=gpu:1 --pty jupyter-lab.sh
#
###
# Conda parameters
#
# CONDA_HOME=$HOME/.miniconda3
# CONDA_ENV=edml
#
# unset XDG_RUNTIME_DIR
# source $CONDA_HOME/etc/profile.d/conda.sh
# conda activate $CONDA_ENV
# jupyter lab --no-browser --ip=$(hostname -I) --port-retries=100
jupyter lab --no-browser --ip=132.68.39.200 --port-retries=100
# xvfb-run -a -s "-screen 0 1440x900x24" jupyter lab --no-browser --ip=$(hostname -I) --port-retries=100
# xvfb-run -a jupyter lab --no-browser --ip=132.68.39.133 --port-retries=100
# xvfb-run -a jupyter lab --no-browser --ip=$(hostname -I) --port-retries=100
# xvfb-run -a jupyter lab --no-browser --ip=132.68.39.200 --port=8080 --port-retries=100