CESM code#

Before you can start running the CESM, you must first download the CESM code from Github and set up your Workspace. This exercise is estimated to take around 30-60 minutes, depending on your previous experience with NCAR HPC and Github.

Learning Objectives#

By the end of this exercise, you will be able to:
  • Download CESM into your workspace using Git commands.

  • Explore the CESM source code directory structure.

  • Identify the key components of the CESM code base.

If you are unfamiliar with logging into NCAR HPC resources, please review the section on logging into Derecho before continuing.

GitHub and Git#

CESM development and distribution are managed through GitHub using the Git version control system. This tutorial is not intended to be a Github or Git software tutorial, so we will provide the basic git commands needed to download CESM.

If you would like to learn more about Git and GitHub, please refer to the Git and GitHub overview section.

Getting the CESM Source Code#

In this section, you will clone the CESM repository from GitHub into the workspace you created in the previous section. Once downloaded, you will explore the source code structure and become familiar with the key directories used throughout the remainder of the tutorial.