Changeset 10750 for NEMO/branches/2019/fix_sette_ticket2239/README
- Timestamp:
- 2019-03-13T19:06:16+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/fix_sette_ticket2239/README
r10732 r10750 2 2 3 3 PRINCIPAL SCRIPT: sette.sh 4 sette.sh is a simple wrapper running test on the reference configuration, test cases and generate the report at the end. 5 User need to set up the param.cfg file correctly and download input file before running the script. 4 * sette.sh is a simple wrapper running test on the reference configuration, test cases and generate the report at the end. 5 * sette.sh is able to take a list of configuration in argument (sette.sh -t "CFG1 CFG2 CFG3"). The list of available configurations is available in running ./sette_list_avail_cfg.sh. 6 The default for sette is to run all of the reference and test configurations. 7 * User need to set up the param.cfg file correctly and download input file before running the script. 6 8 7 9 SECONDARY SCRIPT 8 sette_reference-configuration.sh, sette_test-cases.sh: run sette tests on the reference configurations and test cases respectively 9 sette_rpt.sh: generate the sette report. See below in USER MODIFICATIONS the usage of the script 10 sette_list_avail_rev.sh: generate a listing on all the revision available in the validation directory for each configuration. 10 * sette_reference-configuration.sh: run sette tests on the reference configurations 11 * sette_test-cases.sh : run sette tests on test cases 12 * sette_rpt.sh : generate the sette report. See below in USER MODIFICATIONS the usage of the script 13 * sette_list_avail_rev.sh : generate a listing on all the revision available in the validation directory for each configuration. 14 * sette_list_avail_cfg.sh : generate a listing of all the available configurations. 11 15 12 16 VERY IMPORTANT : for a verbose debug do: … … 15 19 16 20 USER MODIFICATIONS 17 in sette_cfg-ref.sh and sette_test-cases.sh script :21 * in sette_cfg-ref.sh and sette_test-cases.sh script : 18 22 OPTIONAL ARGUMENT : compiler among those available in NEMOGCM/ARCH (if nothing will use the one specified in paramd.cfg) 19 23 BATCH_COMMAND_PAR : command for job submission in batch mode parallel (MMIÂ) specified in param.cfg … … 48 52 and only run short test ===> ./fcm_job 4 SHORT no yes ) 49 53 50 in param.cfg :54 * in param.cfg : 51 55 52 56 COMPILER : compiler among those available in NEMOGCM/ARCH … … 64 68 ADD_NODIGNEDZERO : set "yes" if you need key_nosignedzero to run nemo 65 69 66 in fcm_job.sh :70 * in fcm_job.sh : 67 71 IMPORTANT : control that name of tar file in FORCING directory 68 72 is the same of that in input_REF_CONFIG.cfg, if not change one. … … 71 75 NOTE: if INTERACT_FLAG="no" it is needed a batch_file (see below to create a new one) 72 76 73 in sette_rpt.sh : - if no argument are given, the report will be generated on the last changed revision.77 * in sette_rpt.sh : - if no argument are given, the report will be generated on the last changed revision. 74 78 - if an argument is given (revision number) the report will be generated for this revision 75 79 - if 'old' is given as argument the former behavior is applied (the latest revision is check whatever the current revision … … 97 101 1. add arch-compiler.fcm in NEMOGCM/ARCH directory 98 102 2. makenemo -m new_compiler (see makenemo -h for help) 103 3. add new batch-file 99 104 100 105 TO ADD NEW BATCH-FILE: 101 106 1. see in SETTE/BATCH_TEMPLATE directory existing examples 102 107 2. create you own batch file like: batch-${COMPILER} 103 (note: sette_test-cases.sh and sette_cfg-ref.sh will copy it in job_batch_template if you run tests in INTERACT_FLAG="no")108 (note: sette_test-cases.sh and sette_cfg-ref.sh will copy it in job_batch_template if you run tests in INTERACT_FLAG="no")
Note: See TracChangeset
for help on using the changeset viewer.