User Tools

Site Tools


EC-Earth: How to run EC-Earth in classic mode

Using deploy models

Deploy models is a tool which is able to get files for a particular model and version and compile them in a user path. You can download this tool from git using the typical process.

git clone -b master

The different models and versions which can be installed are here


All these versions are available now for ecearth model

ecearth: v2.0, v2.1, v2.2.0, v2.2.1, v2.2.3, v2.3.0, v3.0, v3.0.1, v3.1, v3.2.0, v3.2.0d

However, only v3.2.0 and v3.2.0d have been tested on maresnostrum3 for now.

To use this tool, go to src directory and modify the path where you want to install the model in the platform required, for example: hpcdst=/gpfs/projects/bsc32/bsc32679/models hpctmp=/gpfs/scratch/bsc32/bsc32679/${model}_${modver}

Then it is only needed run specifying which model and version you require and the platform used, for example: nohup ./ marenostrum3 ecearth v3.2.0d >& deploy_marenostrum3_ecearth_v3.2.0d.log &

This process will copy the files for the model required and compile the model in your directory.

Once this process is done, you can access your model version in a classic mode, compiling and running your model without Autosubmit.

Compiling your model

To compile again the model, for example is some development is done, a compilation file is ready to do this process, you can find this file in this path from the directory where the model was installed:


Once your development is done, you can launch the compilation, for example, taking into account this process on MN3

bsub <


This process will compile your model again and copy the executables in the bin path used

Running your model

For running your ecearth model in the classic mode. You can find the classic scripts in script directory, in the path where your model was installed. Classic mode uses a ecconf.cfg for configuration that you can find in the same path. Three directories should be changed in this file according to your configuration and where the model was installed.




Once this is ready, you can run your model from scripts path. Remember you should change the setup of your experiment, you can find a simple template for a 1 month experiment of ec-earth ( as example.

Once the setup is ready, you can launch your experiment. For example, taking into account this process on MN3

bsub <

The experiment will be run in the run_dir specified and log files can be found in scripts patch.

classic.txt · Last modified: 2016/11/08 09:09 by macosta