source: trunk/NEMOGCM/SETTE/README @ 2539

Last change on this file since 2539 was 2539, checked in by flavoni, 10 years ago

corrected small bug in sette.sh, see ticket #752

File size: 2.4 KB
Line 
1usage of SETTE package:
2
3principal script is sette.sh (usage: ./sette.sh)
4
5VERY IMPORTANT : for a verbose debug do:
6./sette.sh 2>&1 | tee out.sette
7this create out.sette file in ${SETTE_DIR}
8
9USER MODIFICATIONS
10 in sette.sh script :
11               SETTE_DIR : base directory for SETTE
12               makenemo -m : machine (compilator); see ./makenemo -m help (in NEMOGCM/CONFIG directory)
13                        -n : config name (in examples config_name_nproci_nprocj), see ./makenemo -n help
14                        -r : reference configuration (if you don't give it you have to choise directories to install)
15                        add_key : to add list of keys (for example to test reproductibility: add_key mpp_rep)
16                        del_key : to del list of keys
17               and for more details and options of makenemo see ./makenemo -h
18          set_namelist : to set namelist values
19         (example : to set 75 time steps for one test : namelist nn_itend 75)
20         (      : to change cn_icerst_in name : namelist_ice cn_icerst_in  \"test_00101231_restart_icemod.nc\")
21         (      : to activate control print : namelist ln_ctl \".false.\" )
22               fcm_job.sh needs input: input_CONFIG_NAME and TOTAL NUMBER OF PROCS used
23         (for example if you compile ORCA2_LIM with nproci=2 and nprocj=2 ===> ./fcm_job input_ORCA2_LIM.cfg 4)
24 in param.cfg :
25               EXE_DIR     : directory in which execute jobs (by default CONFIG_DIR)
26               FORCING_DIR : directory where to get input tar file
27               INPUT_DIR   : directory in which store input files
28               TMPDIR      : temporary directory NEEDED ONLY FOR IBM machines (put EXP00 directory)
29               OUTPUT_DIR  : directory in which store output files
30 in fcm_job.sh :
31               IMPORTANT : control that name of tar file in FORCING directory
32               is the same of that in input_REF_CONFIG.cfg, if not change one.
33               change in "RUN OPA" part the command line (some examples are already written)
34
35
36NOTE:
37in case of error you can remove you NEW_CONF directory and all files doing :
38./makenemo -n MY_CONFIG clean_config
39
40if you want recompile nemo but before you want to clean compiled code do :
41./makenemo clean
42
43and if you have already compiled you can re-run all sette.sh and compilation part will be by-passed.
44
45NOTE 2:
46if you want a completly verbose makenemo you can uncomment "set -x" in makenemo script
47and then launch ./sette.sh 2>&1 | tee out.sette
Note: See TracBrowser for help on using the repository browser.