Pierre-Yves Barriat 7 лет назад
Родитель
Сommit
76cfe86749
1 измененных файлов с 88 добавлено и 0 удалено
  1. 88 0
      README.md

+ 88 - 0
README.md

@@ -39,6 +39,82 @@ cd ecearth_patch
 
 ## Compile & Run
 
+### Lemaitre3
+
+* Go to `ecearth sources` and create all the Makefile's with lemaitre3 configuration:
+
+```bash
+cd ecearth_3.2.2/sources
+./util/ec-conf/ec-conf -p lemaitre3-intelmpi config-build.xml
+
+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
+```
+
+* Compile **oasis3**:
+
+```bash
+cd oasis3-mct/util/make_dir
+make BUILD_ARCH=ecconf -f TopMakefileOasis3
+cd ../../..
+```
+
+* Compile **IFS**:
+
+```bash
+cd ifs-36r4
+./makeifs -j 4
+cd ..
+```
+
+* Compile **xios-2**:
+
+```bash
+cd xios-2
+./make_xios --prod --arch ecconf --use_oasis oasis3_mct --netcdf_lib netcdf4_par -j 4
+cd ..
+```
+
+* Compile **NEMO**:
+
+```bash
+cd nemo-3.6/CONFIG
+./makenemo -n ORCA1L75_LIM3 -m ecconf -j4
+cd ../..
+```
+
+* Compile **runoff-mapper**:
+
+```bash
+cd runoff-mapper/src
+make
+cd ../..
+```
+
+Primavera context:
+
+* Compile **amip-forcing**:
+
+```bash
+cd amip-forcing/src
+make
+cd ../..
+```
+
+* Configure **ELPiN**:
+
+```bash
+cd util/ELPiN
+mkdir bathymetries
+ln -s /scratch/ucl/elic/pbarriat/DATA/EC-EARTH/nemo/initial/ORCA1L75/bathy_meter.nc bathymetries/ece_bathy_meter_ORCA1.nc
+ln -s /scratch/ucl/elic/pbarriat/DATA/EC-EARTH/nemo/initial/ORCA025L75/bathy_meter.nc bathymetries/ece_bathy_meter_ORCA025.nc
+sed -i 's/ORCA025/ORCA1/g' src/namelist_mpp
+./Configure
+cd ../..
+```
+
+### Zenobe
+
 First, **sign out of Zenobe** and sign in again. Then, type `configure_ecearth`.
 
 Compile the model:
@@ -85,6 +161,18 @@ sed -i 's/ORCA025/ORCA1/g' src/namelist_mpp
 ./Configure
 ```
 
+## Run
+
+### Lemaitre3
+
+```bash
+cd ../runtime/classic
+../../sources/util/ec-conf/ec-conf -p lemaitre3 config-run.xml
+sbatch run_atm_oce.sh
+```
+
+### Zenobe
+
 For a quick classical run test:
 - Go to `~/modeles/ecearth_$tag/runtime/classic` and:
 ```