CCPP AMS2020 Short Course | Getting Started

 

An AMI (Amazon Machine Image) is provided to you with:

 

  • All prerequisites installed (compiler, netCDF, NCEPlibs, Python packages)

  • A sandpit directory with the following subdirectories:

    • A data directory with 

      • Lookup tables for the Thompson microphysics (qr_acr_qg.dat, qr_acr_qs.dat, and freezeH2O.dat)
      • File source_mods.tar with modified code for one of the exercises

    • A source directory with 

      • Single column mode code (public_release branch of gmtb-scm repository) and its CCPP submodules (ufs_public_release branches of ccpp-framework and ccpp-physics repositories)

      • Single Column Model executable gmtb-scm previously created in the bin directory

Setup and configure the AWS connection:

 

In order to setup the AMI, download and untar the following file on your local machine, and configure the connection to AWS.

Download the following file to your local machine:

https://dtcenter.org/GMTB/AWS/aws.tar

This file will be downloaded into a local directory, depending on your system and browser.  Downloads, Documents, Desktop, etc.

Open a terminal window on your system (PuTTy, iTerm, Terminal, etc)

cd <your local download dir>
tar -xvf aws.tar

Source one of the scripts:

for t/csh users: source aws_init.csh
for bash users: . aws_init.sh

This script will prompt you to enter a Group Number. This has been provided to you today.

Enter Group number: <enter>

Next, connect to the AWS instance, using the following commands:

ssh-aws-ams2020
cd sandpit
ls

At this point, you will be logged into a Linux AWS instance, with the SCM pre-installed and configured for this short course.

 

Thanks to the Joint Center for Satellite Data Assimilation (JCSDA) for providing the infrastructure to run the instances in the Amazon Web Services (AWS) cloud.