|
|
@@ -14,7 +14,6 @@ First, clone the `pbarriat/ecearth_patch` repository:
|
|
|
mkdir -p ~/modeles/ecearth
|
|
|
cd ~/modeles/ecearth
|
|
|
git clone ssh://git@www.climate.be:3022/pbarriat/ecearth_patch.git # Try ssh://egit/pbarriat/ecearth_patch.git if does not work, that happened on Zenobe to me [FM] even with the public key put on the GOGS
|
|
|
-
|
|
|
```
|
|
|
|
|
|
Now, update your shell startup script (`~/.bashrc`) to add ecearth globals variables to your environment.
|
|
|
@@ -29,7 +28,6 @@ configure_ecearth()
|
|
|
source $EC_DEP/modules.load
|
|
|
fi
|
|
|
}
|
|
|
-
|
|
|
```
|
|
|
|
|
|
### Lemaitre3
|
|
|
@@ -40,7 +38,6 @@ configure_ecearth()
|
|
|
module purge
|
|
|
module load 2016a netCDF-Fortran/4.4.4-intel-2016a grib_api/1.16.0-intel-2016a openjpeg/1.5.2-intel-2016a
|
|
|
}
|
|
|
-
|
|
|
```
|
|
|
|
|
|
### Source code
|
|
|
@@ -59,14 +56,12 @@ svn co --username=${YOUR_ECEARTH_USERNAME} https://svn.ec-earth.org/ecearth3/tag
|
|
|
svn co --username=${YOUR_ECEARTH_USERNAME} https://svn.ec-earth.org/ecearth3/branches/projects/primavera ecearth_primavera
|
|
|
|
|
|
svn co --username=${YOUR_ECEARTH_USERNAME} https://svn.ec-earth.org/ecearth3/trunk ecearth_trunk
|
|
|
-
|
|
|
```
|
|
|
|
|
|
Final step, go to the `ecearth_patch` repository and run the `install.sh` script:
|
|
|
```
|
|
|
cd ~/modeles/ecearth/ecearth_patch
|
|
|
./install.sh
|
|
|
-
|
|
|
```
|
|
|
|
|
|
## Compile
|
|
|
@@ -82,7 +77,6 @@ CONF=zenobe # Or lemaitre3
|
|
|
configure_ecearth
|
|
|
cd ~/modeles/ecearth/ecearth_$TAG/sources
|
|
|
./util/ec-conf/ec-conf -p $CONF-intelmpi config-build.xml
|
|
|
-
|
|
|
```
|
|
|
|
|
|
* Compile **oasis3**:
|
|
|
@@ -91,7 +85,6 @@ cd ~/modeles/ecearth/ecearth_$TAG/sources
|
|
|
cd oasis3-mct/util/make_dir
|
|
|
make BUILD_ARCH=ecconf -f TopMakefileOasis3
|
|
|
cd ../../..
|
|
|
-
|
|
|
```
|
|
|
|
|
|
* Compile **IFS**:
|
|
|
@@ -100,7 +93,6 @@ cd ../../..
|
|
|
cd ifs-36r4
|
|
|
./makeifs -j 4
|
|
|
cd ..
|
|
|
-
|
|
|
```
|
|
|
|
|
|
* Compile **xios-2** (or any other later version provided):
|
|
|
@@ -109,7 +101,6 @@ cd ..
|
|
|
cd xios-2
|
|
|
./make_xios --prod --arch ecconf --use_oasis oasis3_mct --netcdf_lib netcdf4_par -j 4
|
|
|
cd ..
|
|
|
-
|
|
|
```
|
|
|
|
|
|
* Compile **NEMO**:
|
|
|
@@ -118,7 +109,6 @@ cd ..
|
|
|
cd nemo-3.6/CONFIG
|
|
|
./makenemo -n ORCA1L75_LIM3 -m ecconf -j4
|
|
|
cd ../..
|
|
|
-
|
|
|
```
|
|
|
|
|
|
* Compile **runoff-mapper**:
|
|
|
@@ -127,7 +117,6 @@ cd ../..
|
|
|
cd runoff-mapper/src
|
|
|
make
|
|
|
cd ../..
|
|
|
-
|
|
|
```
|
|
|
|
|
|
**Primavera context**:
|
|
|
@@ -138,7 +127,6 @@ cd ../..
|
|
|
cd amip-forcing/src
|
|
|
make
|
|
|
cd ../..
|
|
|
-
|
|
|
```
|
|
|
|
|
|
* Configure **ELPiN**:
|
|
|
@@ -151,7 +139,6 @@ ln -s /scratch/ucl/elic/pbarriat/DATA/EC-EARTH/nemo/initial/ORCA1L75/bathy_meter
|
|
|
sed -i 's/ORCA025/ORCA1/g' src/namelist_mpp
|
|
|
./Configure
|
|
|
cd ../..
|
|
|
-
|
|
|
```
|
|
|
|
|
|
## Run
|
|
|
@@ -161,7 +148,6 @@ cd ~/modeles/ecearth/ecearth_$TAG/runtime/classic
|
|
|
../../sources/util/ec-conf/ec-conf -p $CONF config-run.xml
|
|
|
vi ece-ifs+nemo.sh
|
|
|
sbatch (or qsub) ece-ifs+nemo.sh
|
|
|
-
|
|
|
```
|
|
|
|
|
|
## Benchmarks
|