Prerequisites for Success#

NOTE: Although the materials and notebooks in this tutorial are published as a Jupyter Book, you will need to use a terminal window to actually run the commands presented in this tutorial.

To successfully complete this tutorial you will:

  • Utilize a terminal window

  • Issue commands at the command line using UNIX

  • Need to be able to access and run on the NCAR HPC systems (HPC = High Performance Computing)

  • Use JupyterHub for some basic diagnostic plotting

The links below provide more information about these topics. If you are not familiar with any of the four topics above, we strongly recommend that you read through the following sections.


Terminal windows#

For most of these tutorial exercises, we assume that you will use the online documentation in tandem with an open terminal window. The commands described in these materials will be entered at the command line in your terminal window.

If you are unfamiliar with opening terminal windows, please review the information at the link below.


UNIX#

The commands described in these materials will be entered in a UNIX environment. If you are unfamiliar with navigating a UNIX environment, we suggest you use the link below to learn more about UNIX.


Login to NCAR High Performance Computing (HPC)#

When logging into the NCAR HPC machines, we recommend using X11 forwarding. X11 forwarding is an SSH protocol that allows users to run graphical applications on a remote server and interact with them using their local display and I/O devices. It is frequently used by CESM developers for securely interacting with NCAR HPC remote machines.

To enable X11 forwarding when logging into the NCAR HPC, simply add the -XY option to your SSH command.

ssh -XY username@derecho.hpc.ucar.edu 

OR

ssh -XY username@casper.hpc.ucar.edu

More information about logging into the NCAR HPC follows below.


Using JupyterHub#

The diagnostics section of this tutorial will use JupyterHub to run Jupyter Notebooks. You will need to login to the NCAR JupyterHub system to run the notebooks successfully.

NOTE: To run a Jupyter cell

  • Type your command into the cell

  • To execute the command:

    • Press shift+return

    OR
    - Select the cell then click the 'play' button at the top of the window

To learn more about JupyterHub, please follow the link below.