Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You must have a Firebird account set up to use Open OnDemand.  To obtain an account, complete a Firebird Account Request

  • In a web browser, go to https://firebird.swarthmore.edu

  • You will be presented with a CILogon page; under Select an Identity Provider, choose Swarthmore College

  • Click Log On. You will be directed to Swarthmore’s single sign-on page.

  • Once you have authenticated, you should be logged into Open OnDemand.

...

  • From the top menu bar, click FilesHome Directory

Jupyter Notebooks

Users can have two options to access Jupyter Notebooks via Open OnDemand. It is possible to launch a basic Jupyter Notebook through Open OnDemanda pre-defined application. In certain cases, however, such as when specific Python libraries or a GPU are required, it makes more sense to create a specific miniconda environment and launch custom Jupyter notebooks through the interactive desktop; nevertheless, this generic option can be useful for testing, class use, etc. Moreover, from within the Jupyter interface, it is possible to open an interactive Python console, as well as a shell / terminal session.

Jupyter Application

  • From the top menu bar, click Interactive Apps

  • Click Jupyter Notebook

  • Adjust form values as needed (most can be left blank or at the default value, but it may especially be helpful to adjust the time needed) and click Launch

  • You may have to wait a minute for the session to start; when it does, click Launch Jupyter Notebook

    • note that if insufficient resources are available to create the notebook immediately, you may have to wait for resources to become available; if so, you can elect to receive an email when your notebook is available

Configuring Jupyter via Miniconda

It is possible to configure a Miniconda environment to run Jupyter Notebooks or Jupyter Lab, which is useful if you need to customize your environment with additional packages, or if you need to run on a GPU node, etc. These instructions assume you have installed Miniconda and are working within an interactive virtual desktop session (instructions above):

Code Block
conda create -n jupyter
conda install notebook
jupyter notebook

This should launch a Jupyter Notebook session in a web browser. If you prefer to work within Jupyter Lab instead, you can use these commands instead:

Code Block
conda create -n jupyter
conda install jupyterlab
jupyter lab

Shell / Terminal Session

It is possible to open a terminal session from within Open OnDemand. Doing so, however, requires a password to be associated with your account. If you would like to enable this feature, please open a ticket (by sending an email to support@swarthmore.edu or at https://support.swarthmore.edu) requesting shell access through Open OnDemand. Once you have access, to access the terminal:

...