source: dynamico_lmdz/aquaplanet/CMIP5a/RUN_AQUAPLANET_DYNAMICO_LMDZ5/README @ 4041

Last change on this file since 4041 was 3978, checked in by dubos, 8 years ago

DYNAMICO_ESM/OLD_PHYSIC : updated XML/DEF + helper scripts

File size: 3.0 KB
Line 
1Overview
2========
3
4This directory contains :
5* .def files for DYNAMICO and LMDZ5
6* .xml files for XIOS
7* scripts
8
9You can safely modify all *.def and *.xml or replace them with your own files, EXCEPT :
10* iodef.xml
11* icosa.xml
12* context_lmdz.xml
13* run.def
14* start.def
15
16The above files CAN NOT be used 'as is' because they contain keywords that must be replaced by acceptable values. This substitution is made by the scripts described below (see "Procedure"). The keywords are :
17    CE0L         : true if the simulation is a 'CE0L' run that creates the limit.nc file
18    FIRST        : true if the simulation is the first run in a series (after a 'CE0L' run)
19    NEXT         : true if the simulation is a restart of a run of type 'FIRST' or 'NEXT'
20    DOM_OUT      : dom_glo if CE0L, dom_regular otherwise
21    USING_SERVER : false if CE0L, true otherwise
22    ETAT0        : start_file if NEXT, held_suarez otherwise
23    IFLAG_PHYS   : 103 if CE0L, 1 otherwise
24    READ_START   : no if CE0L, yes otherwise
25
26For 'CE0L' XIOS is run in 'attached' mode. In server mode, xios_server.exe would hang after the dynamico_lmdz.exe MPI processes have aborted.
27For 'START' and 'NEXT', XIOS is run in server mode for flexibility. Especially it allows to restart with a different number of processors, which is not possible in attached mode.
28
29Notice that the definitions of start.def have the highest priority since start.def is the last *.def file included in run.def .
30
31Procedure
32=========
330 - First of all define a few environment variables
34  ARCH : This will select appropriate machine-specific parts of the scripts, especially when generating the shell script to be submitted to the batch scheduler
35  ESM_ROOT : the directory containing the ICOSA_LMDZ directory
36> export ARCH=X64_CURIE
37> export ESM_ROOT=$PWD/../..
38
391 - Edit the .def and .xml files if you want settings that differ from the basis that is proposed here. DO NOT TOUCH the files mentioned above.
40
412 - In order to create a run of type 'ce0l' :
42> ./prepare ce0l MYDIR0 STORE0
43This will create STORE0 and MYDIR0 if necessary and populate MYDIR0 with .xml and .def files, as well as a batch job 'job.sh' to be submitted (on CURIE) as :
44ccc_msub job.sh .
45After successful completion, STORE0 contains all *.nc files produced by the run, especially limit.nc
46
473 - In order to create a one-year run of type 'first'
48> ./prepare first STORE0 MYDIR1 STORE1
49This will create STORE1 and MYDIR1 if necessary and populate MYDIR1 with .xml and .def files, as well as a batch job 'job.sh'. This batch job copies input files from STORE0. Submit MYDIR1/job.sh . After successful completion, STORE1 contains all *.nc files produced by the run, especially start.nc
50
514 - In order to create a one-year run of type NEXT, type
52./prepare first STORE0 STOREPREV MYDIR2 STORE2
53This will create STORE2 and MYDIR2 if necessary and populate MYDIR2 with .xml and .def files, as well as a batch job 'job.sh'. This batch job copies input files from STORE0 and STOREPREV. Submit MYDIR2/job.sh .
54
55Example
56=======
57See example.sh for an example (works on Curie).
Note: See TracBrowser for help on using the repository browser.