<p>We are moving all of CESM to open source - in particular here is the latest version of the Community Terrestrial Systems Model (CTSM) 
<a href="https://github.com/ESCOMP/ctsm" rel="noreferrer">https://github.com/ESCOMP/ctsm</a> </p>

<p>Formerly known as CLM, CTSM includes capability to run on linux or MacOS systems.</p>

CC BY-SA 3.0
2018-03-24T10:17:09.340Z
Thanks Jim. Great to see the documentation in there!
mace
CC BY-SA 3.0
2018-03-23T14:59:20.590Z
2018-03-23T14:59:20.590Z
Jim Edwards
<p>You can take a look at the Predictive Ecosystem Analyzer (PEcAn) - it is a statistical framework and workflow system that supports parameterization and analysis of a number of land surface, crop, and ecosystem models. It supports a half-dozen models and support for another half-dozen or so is planned.</p>

<p>The mission of the project is to "Develop and promote accessible tools for reproducible ecosystem modeling and forecasting" You can learn more, find a demo, tutorials, documentation, and a virtual machine at the project home page: pecanproject.org. </p>

<p>You can also find us on github.com/pecanproject and meet the community on <a href="https://publicslack.com/slacks/pecanproject/invites/new" rel="nofollow noreferrer">Slack</a>. </p>

<p><em>disclaimer: I am a PI and developer on the project.</em></p>

CC BY-SA 3.0
2018-04-11T22:38:26.220Z
2018-04-11T22:38:26.220Z
David LeBauer
<p>As alluded to in some of the comments, all of the CMIP5 models will have been run on supercomputers, and it takes a <em>lot</em> of effort to get one of them running on a new platform, even for a team who know both the model and platform well already.  In addition to that, many of those models are closed-source and are not generally available to an individual researcher.  However, there are several older models such as <a href="http://mitgcm.org/public/testing.html" rel="noreferrer">MITgcm</a> and <a href="http://edgcm.columbia.edu/ModelII/" rel="noreferrer">EdGCM</a> that it might well be possible to get running on a cluster.  It's something I've thought about but never quite got around to.  One group have even been
<a href="https://doi.org/10.1016/j.cageo.2016.09.014" rel="noreferrer">running CESM on Amazon's EC2 service</a>.</p>

<p>Depending on what aspect of leaf phenology you're interested in, you may need to run quite long simulations (e.g., several centuries), which is prohibitive with a full ESM.  You can make a lot of progress in this area by running just the land surface components.  This is several orders of magnitude simpler than running an ESM: the source codes are often freely available where their host ESM code is not, and they can be run globally on desktop machines or clusters.  Some example land surface models you might want to look into:</p>

<ul>
<li><a href="http://www.cesm.ucar.edu/models/clm/" rel="noreferrer">Community Land Model (CLM)</a> (used in CCSM, US)</li>
<li><a href="http://jules.jchmr.org/" rel="noreferrer">JULES</a> (used in HadGEM, UK)</li>
<li><a href="http://www.cawcr.gov.au/research/cable/" rel="noreferrer">CABLE</a> (used in ACCESS, Aus)</li>
<li><a href="http://orchidee.ipsl.fr/index.php/you-orchidee" rel="noreferrer">ORCHIDEE</a> (used in IPSL-CM5, Fr)</li>
<li><a href="http://www.umr-cnrm.fr/surfex/" rel="noreferrer">SURFEX</a> (used in CNRM-CM5, Fr)</li>
</ul>

<p>Each of these will require a set of forcing boundary conditions, and there are several commonly used by the land community:</p>

<ul>
<li>GSWP3</li>
<li><a href="http://www.eu-watch.org/data_availability" rel="noreferrer">WFDEI</a></li>
<li><a href="https://rda.ucar.edu/datasets/ds314.3/" rel="noreferrer">CRU-NCEP</a></li>
<li><a href="http://hydrology.princeton.edu/data.pgf.php" rel="noreferrer">Princeton</a></li>
</ul>

<p>If you go down the land surface route (and I suggest that's a good place to start), you should probably just pick a model and ask it's community directly about the details of getting it running.  In my experience, several of them have very good tutorials especially for people with a bit of Linux experience.</p>

CC BY-SA 3.0
2018-03-21T14:13:37.773Z
2018-03-21T14:13:37.773Z
Deditos
<p>I am interested in earth system models, land surface models and climate prediction models. I found a lot of online information on different models, including CIMP5, and the Earth System Modeling Framework. I also found a lot of articles using these models.</p>

<p>I would like to run and experiment with these models on my own computer. However, I could not find any clear installation guides or code examples on how to run these models. I would like to have a step by step instruction how to install the model, how to include the input data, how to run the model and how to view the output. There must be decent tutorials somewhere out there. I am particularly interested in models using Normalized Difference Vegetation Index (NDVI) and Leaf area index (LAI) data. </p>

<p>For the time being it should be something that can be run on a desktop computer or in a virtual machine, but I also have access to more powerful clusters.</p>

CC BY-SA 3.0
2018-03-21T11:36:45.227Z
The "professional" climate models are ofter difficult to set up when one did never do it before. The compilation itself is not the actual the problem for a user, who is experienced in working in the terminal on Linux workstations. It takes some time to compile dependencies like netCDF4. Getting input data and choosing parameterization for different processes is quite a lot of work and might be quite difficult.
daniel.heydebreck
CC BY-SA 3.0
2018-03-21T11:37:35.307Z
For the beginning it might be an option to first try a toy model like the [PlanetSimulator](https://www.mi.uni-hamburg.de/en/arbeitsgruppen/theoretische-meteorologie/modelle/plasim.html).
daniel.heydebreck
CC BY-SA 3.0
2018-03-21T11:39:40.087Z
Are you working at an academic institution? In which country do you work? If you do not work at an academic institution it might be difficult to obtain the necessary input data. Often, each institution has its own model or at least its own model setup. It might be reasonable, to choose a model and than contact the respective institution directly.
daniel.heydebreck
CC BY-SA 3.0
2018-03-21T12:19:30.563Z
I'm not sure precisely for what you want to do, but in general, climate models are run on super-computers.   A desktop might be to little computing power.
userLTK
CC BY-SA 3.0
2018-03-21T12:58:21.637Z
Yes I am working at an academic institution. I am aware that most models run on supercomputers, but I know that some can also be run on a regular desktop. Compiling on linux is no problem for me. I have done that before. What I am really looking for is a a good guide on how to install/compile a commonly used earth system model.
mace
<models><climate-models><earth-system><land-surface-models>
How to run earth system, land surface and climate models?
mace
# How to run earth system, land surface and climate models?

(Asked by: username_0 on 2018-03-21)

I am interested in earth system models, land surface models and climate prediction models. I found a lot of online information on different models, including CIMP5, and the Earth System Modeling Framework. I also found a lot of articles using these models.

I would like to run and experiment with these models on my own computer. However, I could not find any clear installation guides or code examples on how to run these models. I would like to have a step by step instruction how to install the model, how to include the input data, how to run the model and how to view the output. There must be decent tutorials somewhere out there. I am particularly interested in models using Normalized Difference Vegetation Index (NDVI) and Leaf area index (LAI) data.

For the time being it should be something that can be run on a desktop computer or in a virtual machine, but I also have access to more powerful clusters.

**Tags:** models, climate-models, earth-system, land-surface-models

> **Comments:**
> **username_1**: The "professional" climate models are ofter difficult to set up when one did never do it before. The compilation itself is not the actual the problem for a user, who is experienced in working in the terminal on Linux workstations. It takes some time to compile dependencies like netCDF4. Getting input data and choosing parameterization for different processes is quite a lot of work and might be quite difficult.  
> **username_1**: For the beginning it might be an option to first try a toy model like the [PlanetSimulator](https://www.mi.uni-hamburg.de/en/arbeitsgruppen/theoretische-meteorologie/modelle/plasim.html).  
> **username_1**: Are you working at an academic institution? In which country do you work? If you do not work at an academic institution it might be difficult to obtain the necessary input data. Often, each institution has its own model or at least its own model setup. It might be reasonable, to choose a model and than contact the respective institution directly.  
> **username_2**: I'm not sure precisely for what you want to do, but in general, climate models are run on super-computers.   A desktop might be to little computing power.  
> **username_0**: Yes I am working at an academic institution. I am aware that most models run on supercomputers, but I know that some can also be run on a regular desktop. Compiling on linux is no problem for me. I have done that before. What I am really looking for is a a good guide on how to install/compile a commonly used earth system model.  

---

## 3 answers

### Answer by username_5 on 2018-03-21. Score: 9 | Accepted answer

As alluded to in some of the comments, all of the CMIP5 models will have been run on supercomputers, and it takes a *lot* of effort to get one of them running on a new platform, even for a team who know both the model and platform well already. In addition to that, many of those models are closed-source and are not generally available to an individual researcher. However, there are several older models such as [MITgcm](http://mitgcm.org/public/testing.html) and [EdGCM](http://edgcm.columbia.edu/ModelII/) that it might well be possible to get running on a cluster. It's something I've thought about but never quite got around to. One group have even been
[running CESM on Amazon's EC2 service](https://doi.org/10.1016/j.cageo.2016.09.014).

Depending on what aspect of leaf phenology you're interested in, you may need to run quite long simulations (e.g., several centuries), which is prohibitive with a full ESM. You can make a lot of progress in this area by running just the land surface components. This is several orders of magnitude simpler than running an ESM: the source codes are often freely available where their host ESM code is not, and they can be run globally on desktop machines or clusters. Some example land surface models you might want to look into:

* [Community Land Model (CLM)](http://www.cesm.ucar.edu/models/clm/) (used in CCSM, US)
* [JULES](http://jules.jchmr.org/) (used in HadGEM, UK)
* [CABLE](http://www.cawcr.gov.au/research/cable/) (used in ACCESS, Aus)
* [ORCHIDEE](http://orchidee.ipsl.fr/index.php/you-orchidee) (used in IPSL-CM5, Fr)
* [SURFEX](http://www.umr-cnrm.fr/surfex/) (used in CNRM-CM5, Fr)

Each of these will require a set of forcing boundary conditions, and there are several commonly used by the land community:

* GSWP3
* [WFDEI](http://www.eu-watch.org/data_availability)
* [CRU-NCEP](https://rda.ucar.edu/datasets/ds314.3/)
* [Princeton](http://hydrology.princeton.edu/data.pgf.php)

If you go down the land surface route (and I suggest that's a good place to start), you should probably just pick a model and ask it's community directly about the details of getting it running. In my experience, several of them have very good tutorials especially for people with a bit of Linux experience.


---

### Answer by username_3 on 2018-03-23. Score: 7

We are moving all of CESM to open source - in particular here is the latest version of the Community Terrestrial Systems Model (CTSM)
<https://github.com/ESCOMP/ctsm>

Formerly known as CLM, CTSM includes capability to run on linux or MacOS systems.

> **Comments:**
> **username_0**: Thanks Jim. Great to see the documentation in there!  

---

### Answer by username_4 on 2018-04-11. Score: 3

You can take a look at the Predictive Ecosystem Analyzer (PEcAn) - it is a statistical framework and workflow system that supports parameterization and analysis of a number of land surface, crop, and ecosystem models. It supports a half-dozen models and support for another half-dozen or so is planned.

The mission of the project is to "Develop and promote accessible tools for reproducible ecosystem modeling and forecasting" You can learn more, find a demo, tutorials, documentation, and a virtual machine at the project home page: pecanproject.org.

You can also find us on github.com/pecanproject and meet the community on [Slack](https://publicslack.com/slacks/pecanproject/invites/new).

*disclaimer: I am a PI and developer on the project.*


---

