|
|
@@ -1,4 +1,64 @@
|
|
|
# EC-Earth_patch
|
|
|
|
|
|
-EC-Earth is a global coupled climate model. It is developed by a consortium of European research institutions.
|
|
|
-The goal of this project is to adapt this model for our needs in TECLIM: install, run management, etc.
|
|
|
+EC-Earth is a global coupled climate model. It is developed by a consortium of European research institutions.
|
|
|
+The goal of this project is to adapt this model for our needs in TECLIM: install, run management, etc.
|
|
|
+
|
|
|
+## Install
|
|
|
+
|
|
|
+First, clone the `pbarriat/ecearth_patch` repository and update your shell startup script to source the 'bashrc' file to add ecearth globals variables to your environment. For instance:
|
|
|
+```
|
|
|
+cat bashrc >> ~/.bashrc
|
|
|
+```
|
|
|
+
|
|
|
+Then, checkout the EC-Earth SVN repository. For instance:
|
|
|
+```
|
|
|
+svn co https://svn.ec-earth.org/ecearth3/tags/3.2.2 ecearth_3.2.2
|
|
|
+```
|
|
|
+
|
|
|
+Final step, go to the `pbarriat/ecearth_patch` repository, adapt the `install.sh` script and run it:
|
|
|
+```
|
|
|
+./install.sh
|
|
|
+```
|
|
|
+
|
|
|
+## Compile & Run
|
|
|
+
|
|
|
+Compile the model:
|
|
|
+
|
|
|
+1. Go to `~/modeles/ecearth/$release/sources` and:
|
|
|
+```
|
|
|
+./util/ec-conf/ec-conf -p zenobe-intel-intelmpi config-build.xml
|
|
|
+```
|
|
|
+2. Go to `./oasis3-mct/util/make_dir/Makefile.d` and:
|
|
|
+```
|
|
|
+make BUILD_ARCH=ecconf -f TopMakefileOasis3
|
|
|
+```
|
|
|
+3. Go to `./ifs-36r4` and:
|
|
|
+```
|
|
|
+./makeifs -j 4
|
|
|
+```
|
|
|
+4. Go to `./xios-2` and:
|
|
|
+```
|
|
|
+./make_xios --prod --arch ecconf --use_oasis oasis3_mct --netcdf_lib netcdf4_par -j 4
|
|
|
+```
|
|
|
+5. Go to `./nemo-3.6/CONFIG` and:
|
|
|
+```
|
|
|
+./makenemo -n ORCA1L75_LIM3 -m ecconf -j4
|
|
|
+```
|
|
|
+
|
|
|
+For a quick classical run test:
|
|
|
+- Go to `~/modeles/ecearth/$release/runtime/classic` and:
|
|
|
+```
|
|
|
+../../sources/util/ec-conf/ec-conf -p zenobe config-run.xml
|
|
|
+```
|
|
|
+- Submit the script `ece-ifs+nemo.sh` to the PBS batch system:
|
|
|
+```
|
|
|
+qsub ece-ifs+nemo.sh
|
|
|
+```
|
|
|
+
|
|
|
+## Contributors
|
|
|
+
|
|
|
+- ELIC members [@pbarriat](http://www.climate.be:3000/pbarriat)
|
|
|
+
|
|
|
+## License
|
|
|
+
|
|
|
+This project is under the Creative Commons CC0 1.0 Universal License. See the [LICENSE](http://www.climate.be:3000/TECLIM/LOVECLIM/src/master/LICENSE) file for the full license text.
|