New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
README in trunk/NEMOGCM/SETTE – NEMO

source: trunk/NEMOGCM/SETTE/README @ 2545

Last change on this file since 2545 was 2545, checked in by flavoni, 12 years ago

improved READE and SETTE.pdf for SETTE, add small debug, see ticket #752

File size: 2.9 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
48
49TO ADD NEW CONFIGURATION:
501. makenemo -n NEW_CONFIG (see makenemo -h for help) OR
512. makenemo -n NEW_CONFIG -r REF_CONFIG (if it is based on another reference configuration)
523. for fcm_job.sh creates a new input_NEW_CONFIG.cfg if you need tar file (if you use same tar file of GYRE, ORCA2_LIM or ORCA2_LIM_PISCES you can use it)
53
54TO ADD NEW MACHINE:
551. add arch-compiler.fcm in NEMOGCM/ARCH directory
562. makenemo -m new_compiler  (see makenemo -h for help)
Note: See TracBrowser for help on using the repository browser.