From 94e0aa9490db7a84c12b6101ec8047e4b6e1a93e Mon Sep 17 00:00:00 2001 From: Wirawan Purwanto Date: Fri, 20 Jul 2018 09:19:59 -0400 Subject: [PATCH] * jupyter-anaconda2: A script that will start Jupyter notebook process for Anaconda2 distribution. Note: for now it is a script that has to be submitted in the compute node. I will upgrade this to become a self-submitting script eventually. --- turing/calculations/jupyter-anaconda2 | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 turing/calculations/jupyter-anaconda2 diff --git a/turing/calculations/jupyter-anaconda2 b/turing/calculations/jupyter-anaconda2 new file mode 100755 index 0000000..f4de178 --- /dev/null +++ b/turing/calculations/jupyter-anaconda2 @@ -0,0 +1,22 @@ +#!/bin/bash --login +# +# Run script to start Jupyter notebook process on compute node. +# This script is intended to be submitted to SLURM via sbatch. +# WARNING: I recommend setting up a password via: +# +# jupyter notebook --password +# +# before running the notebook process, as the notebook server WILL +# listen to incoming connections from ANY origin. +# (This is so that web browser on user's local computer can be +# used to connect to the notebook via SSH tunneling.) +# +# Wirawan Purwanto +# Created: 20180621 +# + +enable_lmod +module load anaconda2/4.3 + +jupyter notebook --no-browser --ip=* "$@" +