Jupyter Notebooks

What are Jupyter Notebooks?

"Notebook documents ... are documents produced by the Jupyter Notebook App, which contain both computer code (e.g. python) and rich text elements (paragraph, equations, figures, links, etc…). Notebook documents are both human-readable documents containing the analysis description and the results (figures, tables, etc..) as well as executable documents which can be run to perform data analysis."  (source)

Notebook documents are edited and run with the Jupyter Notebook App.

"The Jupyter Notebook App is a server-client application that allows editing and running notebook documents via a web browser. The Jupyter Notebook App can be executed on a local desktop requiring no internet access"  (source).

Using Jupyter Notebook on Research Servers

By default, a notebook server runs locally at 127.0.0.1:8888 and is accessible only from localhost. It is possible to run Jupyter Notebook on the research computing servers and utilize port forwarding to access Jupyter Notebook on your local machine.

RC's Jupyter Notebook Script

To allow for ease of use, RC has supplied a script that will automatically create a notebook server in the working directory, as well as showing the user how to connect to it via Port Forwarding. This script is called with the below. For more, run the script with -h.

$ module load Utils/scripts

$ boot_jupyter_server.sh

Using a GUI

To be able to have a window or browser pop up from a terminal, refer to here. Next, to activate the browser when running this script, use the -b flag, as demonstrated below.

$ boot_jupyter_server.sh -b