Accessing Picotte using JupyterHub#

In addition to SSH using the command line, you can also access Picotte using JupyterHub.

JupyterHub gives you a web-based “notebook” interface for doing computation using Picotte. Jupyter has its roots in the Python community, but works with many other programming languages. It’s great for interactive and exploratory work, especially data visualization.

To use JupyterHub on Picotte, go to: https://jupyterhub.urcf.drexel.edu.

You will need to login with your Picotte username and password:

../_images/jupyter-1.png

Fig. 11 JupyterHub log in#

Once you are logged, the following interface appears:

../_images/jupyter-2.png

Fig. 12 JupyterHub interface#

This screen lets you configure the resources your JupyterHub session will need. These are the same arguments we used before with sbatch, just shown in a web-based GUI rather than on the command line.

We’re going to leave them all at their defaults, except for Account and Partition. Set these just as we have for all our other jobs:

Parameter

Value

Account

workshopprj

Partition

def-sm

This will launch the Jupyter notebook interface as a job on a compute node and connect you to it in your browser. Then you can choose a kernel and start coding:

../_images/jupyter-3.png

Fig. 13 Jupyter Server interface#

You can find more details about using JupyterHub (for example, with other programming languages and custom kernels) in the official URCF documentation.