- JUPYTER NOTEBOOK ONLINE GPU INSTALL
- JUPYTER NOTEBOOK ONLINE GPU SOFTWARE
- JUPYTER NOTEBOOK ONLINE GPU MAC
- JUPYTER NOTEBOOK ONLINE GPU WINDOWS
JNB_MEM_PER_CPU_CORE=1024 # Memory limit in MB per core JNB_RUN_TIME="01:00" # Run time limit for jupyter notebook/lab in hours and minutes HH:MM JNB_NUM_GPU=0 # Number of GPUs to be used on the cluster JNB_NUM_CPU=1 # Number of CPU cores to be used on the cluster JNB_USERNAME="" # ETH username for SSH connection to Euler start_jupyter_nb.sh -c $HOME/.jnb_config start_jupyter_nb.sh -username sfux -numcores 2 -runtime 01:30 -memory 2048 -softwarestack new start_jupyter_nb.sh -u sfux -n 4 -W 04:00 -m 2048 -w /cluster/scratch/sfux w | -workdir WORKING_DIR Working directory for the jupyter notebook/lab v | -version Display version of the script and exit
JUPYTER NOTEBOOK ONLINE GPU SOFTWARE
s | -softwarestack SOFTWARE_STACK Software stack to be used (old, new) l | -lab Start jupyter lab instead of a jupyter notebook k | -key SSH_KEY_PATH Path to SSH key with non-standard name i | -interval INTERVAL Time interval for checking if the job on the cluster already started h | -help Display help for this script and quit g | -numgpu NUM_GPU Number of GPUs to be used on the cluster e | -environment ENV Python virtual environment c | -config CONFIG_FILE Configuration file for specifying options m | -memory MEM_PER_CORE Memory limit in MB per core W | -runtime RUN_TIME Run time limit for jupyter notebook/lab in hours and minutes HH:MM n | -numcores NUM_CPU Number of CPU cores to be used on the cluster u | -username USERNAME ETH username for SSH connection to Euler start_jupyter_nb.sh: Script to start jupyter notebook/lab on Euler from a local computer Please find below the list of options that can be used with the script: The start_jupyer_nb.sh script needs to be executed on your local computer.
JUPYTER NOTEBOOK ONLINE GPU INSTALL
This will install package_name into $HOME/.local, as described on our wiki page about Python: But you have the option to install additional packages locally in your home directory, which can afterwards be used.įor installing a Python package from inside a Jupyter notebook, you would need to run the following command: Therefore you can only use packages that are centrally installed out-of-the-box.
JUPYTER NOTEBOOK ONLINE GPU MAC
You can install it with the following command:įurther more, the script requires that there is a Python installation available, which is usually included in the Linux distribution or Mac OS. This package is used to automatically start your default browser. Please make sure that xdg-open is installed. In order to use this script, users need to make sure, that they have set up SSH keys for passwordless access to the cluster: Please note, that the script uses the old software stack on Euler and can in its current state not be used with tools from the new software stack.Īfter downloading the script from, you need to change its permissions to make it executable
Advanced users can take the script and adapt it, such that it can be used with other Python versions (centrally installed, or local installations) and add support for GPU, adding new kernels etc. It is not addressing advanced users that need a wide range of additional features going beyond simple Jupyter notebooks. Please note, that with this script we are addressing beginners that start to use Jupyter notebooks on the cluster.
JUPYTER NOTEBOOK ONLINE GPU WINDOWS
The script runs on Linux, macOS and Windows (using WSL/WSL2 or git bash). The shell script starts a Jupyter in a batch job on Euler and connects your local browser with it.
We therefore developed a script that you can run on your local computer to start Jupyter notebooks or Jupyter lab on Euler. Jupyter notebooks and Jupyter Lab are becoming more widely used among the scientific community at ETH.