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

Last change on this file since 4042 was 4042, checked in by dubos, 7 years ago

Aquaplanet : updated README

File size: 3.9 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* start.def
14
15The 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 :
16    CE0L         : true if the simulation is a 'CE0L' run that creates the limit.nc file
17    FIRST        : true if the simulation is the first run in a series (after a 'CE0L' run)
18    NEXT         : true if the simulation is a restart of a run of type 'FIRST' or 'NEXT'
19    DOM_OUT      : dom_glo if CE0L, dom_regular otherwise
20    USING_SERVER : false if CE0L, true otherwise
21    ETAT0        : start_file if NEXT, held_suarez otherwise
22    IFLAG_PHYS   : 103 if CE0L, 1 otherwise
23    READ_START   : no if CE0L, yes otherwise
24
25For 'CE0L' XIOS is run in 'attached' mode. In server mode, xios_server.exe would hang after the dynamico_lmdz.exe MPI processes have aborted.
26For '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.
27
28Notice that the definitions of start.def have the highest priority since start.def is the last *.def file included in run.def .
29
30Procedure using prepare.sh
31==========================
32
330 - First of create a small text file 'config.sh' defining 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
55Procedure using example.sh
56==========================
57The above procedure can be made more automatic using the script example.sh (itself calling prepare.sh).
58
590 - create a directory 'EXP' for your experiment where you wish, probably not in the source tree.
60
611 - Create a subdirectory 'EXP/storedir' or simlink 'storedir' to an empty directory elsewhere. This is where simulations will store their input/output files.
62
632 - cd to 'EXP', and run 'fullpath/example.sh init' where fullpath is the full path to the directory containing this README and example.sh
64
653 - optionnally, edit config.sh and/or *.xml or *.def files .
66
674 - run './example.sh create' . IMPORTANT : DO NOT RUN 'fullpath/example.sh create'. You should now see directories EXP/ce0l, EXP/storedir/ce0l,  EXP/yearXX and EXP/storedir/yearXX .
68
695 - on Curie, run './example.sh submit'. Otherwise, edit the scripts */jobs.sh and submit them manually to your batch scheduler.
Note: See TracBrowser for help on using the repository browser.