Creating run directories for GEOS-Chem 13.0.0 and later

From Geos-chem
Revision as of 21:35, 7 December 2020 by Bmy (Talk | contribs)

Jump to: navigation, search

Previous | Next | Getting Started with GEOS-Chem

  1. Minimum system requirements
  2. Installing required software
  3. Configuring your computational environment
  4. Downloading source code
  5. Downloading data directories
  6. Creating GEOS-Chem run directories
  7. Configuring runs
  8. Compiling
  9. Running
  10. Output files
  11. Visualizing and processing output
  12. Coding and debugging
  13. Further reading


We have greatly simplified run directory creation in GEOS-Chem 13.0.0 and later versions. You no longer need to download the separate GEOS-Chem Unit Tester repository any longer, but can create run directories from a script in the GEOS-Chem source code itself.

We have

Example 1: Creating a run directory for a full-chemistry simulation

Let us walk through the process of creating a run directory for a global GEOS-Chem full-chemistry simulation.

1. Navigate to the GCClassic superproject folder and get a directory listing:

cd /path/to/your/GCClassic
ls -CF

You should see this output:

CMakeLists.txt  LICENSE  run@  src/

As mentioned previously, run@ is a symbolic link. It actually points to the to the src/GEOS-Chem/run/GCClassic folder. This folder contains several scripts and template files for run directory creation.

2. Navigate to the run folder and get a directory listing:

cd run
ls -CF

and you should see this output:*    gitignore                   HISTORY.rc.templates/  runScriptSamples/*  HEMCO_Config.rc.templates/  input.geos.templates/
getRunInfo*       HEMCO_Diagn.rc.templates/   README

You can see several folders (highlighted in the directory display with /) and a few executable scripts (highlighted with *). The script we are interested in is

3. Run the script and answer the prompts:

Run the / script:


The script will start asking you to supply information about the type of run directory that you wish to create:


Choose simulation type:
   1. Full chemistry
   2. Aerosols only
   3. CH4
   4. CO2
   5. Hg
   6. POPs
   7. Tagged CH4
   8. Tagged CO
   9. Tagged O3
  10. TransportTracers

We would to create a run directory for a full-chemistry simulation, so type 1 followed by the ENTER key. The script will prompt you with the next menu.

Choose chemistry domain:
  1. Troposphere + stratosphere (Recommended)
  2. Troposphere only

We will select the recommended option (type 1 and then ENTER. The next menu will appear:

Choose additional simulation option:
  1. Standard
  2. Benchmark
  3. Complex SOA
  4. Marine POA
  5. Acid uptake on dust
  6. TOMAS
  7. APM
  8. RRTMG

In this menu, you can select among different full-chemistry options (such as adding the RRTG

Previous | Next | Getting Started with GEOS-Chem