Skip to content

Latest commit

 

History

History
76 lines (59 loc) · 1.93 KB

README.md

File metadata and controls

76 lines (59 loc) · 1.93 KB

CAM-SIMA

Community Atmosphere Model - System for Integrated Modeling of the Atmosphere

NOTE: Only developmental code exists at the moment. This README will be updated once production code becomes available.

How to checkout and use CAM-SIMA:

The instructions below assume you have cloned this repository and are in the repository directory. For example:

git clone https://github.com/ESCOMP/CAM-SIMA.git
cd CAM-SIMA

To use unsupported CAM-SIMA development code:

NOTE: This is unsupported development code and is subject to the CESM developer's agreement.

git checkout development
./manage_externals/checkout_externals

Good luck, and have a great day!

Docker

If you don't want to worry about installing our dependencies, you can create a build of CAM-SIMA using docker.

Download docker

Download and install docker desktop.

Windows

Follow the installation instructions for Windows here

Linux

Follow the installation instructions for Linux here

MacOS

Follow the installation instructions for Mac here

Build the base docker file

  1. First, build the esmf docker image. You must tag the build with esmf. This will take quite some time.
docker build -f docker/Dockerfile.esmf -t esmf .

CAM-SIMA

  1. Build the CAM-SIMA image
docker build -f docker/Dockerfile -t cam-sima .
  1. Run the image
docker run --rm -it cam-sima
  1. Submit the case
./case.submit

MUSICA

You can include musica chemistry by using the correct docker file

  1. Build the MUSICA image
docker build -f docker/Dockerfile.musica -t musica .
  1. Run the image
docker run --rm -it musica
  1. Submit the case
./case.submit