Skip to content

Running Jupyter Notebooks on the ORC Clusters

JupyterLab is available as one of the interactive apps that can be launched directly from Open OnDemand.

To use Jupyter Notebooks on Hopper, the first step is to start an Open OnDemand (OOD)session. In your browser, go to ondemand.orc.gmu.edu. You will need to authenticate with your Mason credentials before you can access the dashboard.

  • Once you authenticate, you should be directed to the OOD dashboard.

  • You'll need to click on the "Interactive Apps" icon to see the apps that are available.

From the OOD Dashboard

  • Select JupyterLab from the listed apps

  • Set your confiuration from the given options and launch.

  • Once your session is ready to start, you can 'Connect'

This will start a Jupyter Lab session where you can select to start Python Notebook.

From the OOD Hopper Desktop App

The other way to run Jupyter Notebooks on the OOD server is by starting a desktop session. * Start by selecting the Hopper Desktop option from the interactive apps.

  • Click on the Hopper Desktop and set your configuration (number of hours upto 12 and number of cores upto 12). You'll see the launch option once the resources become available.

  • After launching the session, you'll get connected to a node on Hopper with a desktop environment from where you can now start the terminal (using the highlighted 'terminal emulator' icon)

  • From the launched shell session, load the python module with

module load python
and start a Jupyter Notebook with
jupyter-notebook

  • The Jupyter Notebook session should now start.

Running Longer Python Jobs

The Jupyter Notebok sessions are interactive and can be run for a maximum of 12 hours at a time. To run longer python jobs, you need to convert your code into a coherent python script that can then be submitted through SLURM. Instructions on running conventional Python jobs are given in these pages