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