[2494] | 1 | usage of SETTE package: |
---|
| 2 | |
---|
| 3 | principal script is sette.sh (usage: ./sette.sh) |
---|
| 4 | |
---|
[2539] | 5 | VERY IMPORTANT : for a verbose debug do: |
---|
| 6 | ./sette.sh 2>&1 | tee out.sette |
---|
| 7 | this create out.sette file in ${SETTE_DIR} |
---|
| 8 | |
---|
[2494] | 9 | USER MODIFICATIONS |
---|
| 10 | in sette.sh script : |
---|
| 11 | SETTE_DIR : base directory for SETTE |
---|
[2539] | 12 | makenemo -m : machine (compilator); see ./makenemo -m help (in NEMOGCM/CONFIG directory) |
---|
[2494] | 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 | |
---|
| 36 | NOTE: |
---|
| 37 | in case of error you can remove you NEW_CONF directory and all files doing : |
---|
| 38 | ./makenemo -n MY_CONFIG clean_config |
---|
| 39 | |
---|
| 40 | if you want recompile nemo but before you want to clean compiled code do : |
---|
| 41 | ./makenemo clean |
---|
| 42 | |
---|
| 43 | and if you have already compiled you can re-run all sette.sh and compilation part will be by-passed. |
---|
| 44 | |
---|
[2539] | 45 | NOTE 2: |
---|
| 46 | if you want a completly verbose makenemo you can uncomment "set -x" in makenemo script |
---|
| 47 | and then launch ./sette.sh 2>&1 | tee out.sette |
---|