Versions Compared

Key

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

...

Run the container on Anvil

Log in to Blues at LCRC, reserve an Anvil node for an interactive job, and run a case:Assume you are in your home directory and have already cloned the code into a directory call E3SM

Also do

mkdir -p $HOME/projects/e3sm/cesm-inputdata (this directory is assumed to exist by the machine entry above. Input data will be downloaded here. (could get large, THE CONTAINER DOES NOT HAVE INPUT DATA).

[lukasz@blueslogin4 ~]$ module load singularity

...

It may take up to an hour to create a new container.

Run the E3SM developer tests

Get a clone of the master branch with all submodules:

...

Advanced: Add singularity to older code.

You can run older code with singularity by adding the right machine config entries.

Add a corresponding machine element to cime_config/machines/config_machines.xml:

...

At this point you can run the container

mkdir -p $HOME/projects/e3sm/cesm-inputdata (this directory is assumed to exist by the machine entry above. Input data will be downloaded here. (could get large)).

singularity shell --hostname singularity e3sm.sif

Singularity> cd <E3SM_SRC_DIR>/cime/scripts

Singularity> ./create_test e3sm_developer

The developer test creates and runs 36 cases. To create a new case separately and run it, for example A_WCYCL1850 with ultra low resolution:

Singularity> ./create_newcase --case master.A_WCYCL1850.ne4_oQU240.baseline —-compset A_WCYCL1850 —-res ne4_oQU240

Singularity> cd master.A_WCYCL1850.ne4_oQU240.baseline

Singularity> ./case.setup

Singularity> ./case.build

Singularity> ./case.submit

For more details on how to create a new case and run it, please refer to E3SM Quick Start