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.
Changeset 10750 – NEMO

Changeset 10750


Ignore:
Timestamp:
2019-03-13T19:06:16+01:00 (5 years ago)
Author:
mathiot
Message:

update nn_itend and restart name to fit new time step of ORCA2, add usage to sette.sh, add OVERFLOW in the cfg list in param.cfg and update README (ticket #2239)

Location:
NEMO/branches/2019/fix_sette_ticket2239
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/fix_sette_ticket2239/README

    r10732 r10750  
    22 
    33PRINCIPAL 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. 
    68 
    79SECONDARY 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. 
    1115 
    1216VERY IMPORTANT : for a verbose debug do: 
     
    1519 
    1620USER 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 : 
    1822               OPTIONAL ARGUMENT : compiler among those available in NEMOGCM/ARCH (if nothing will use the one specified in paramd.cfg) 
    1923          BATCH_COMMAND_PAR : command for job submission in batch mode parallel (MMIÂ) specified in param.cfg 
     
    4852         and only run short test ===> ./fcm_job 4 SHORT no    yes   ) 
    4953 
    50  in param.cfg : 
     54 * in param.cfg : 
    5155                
    5256               COMPILER    : compiler among those available in NEMOGCM/ARCH 
     
    6468               ADD_NODIGNEDZERO    : set "yes" if you need key_nosignedzero to run nemo 
    6569 
    66  in fcm_job.sh : 
     70 * in fcm_job.sh : 
    6771               IMPORTANT : control that name of tar file in FORCING directory 
    6872               is the same of that in input_REF_CONFIG.cfg, if not change one. 
     
    7175          NOTE: if INTERACT_FLAG="no" it is needed a batch_file (see below to create a new one) 
    7276 
    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. 
    7478                   - if an argument is given (revision number) the report will be generated for this revision 
    7579                   - if 'old' is given as argument the former behavior is applied (the latest revision is check whatever the current revision 
     
    971011. add arch-compiler.fcm in NEMOGCM/ARCH directory 
    981022. makenemo -m new_compiler  (see makenemo -h for help) 
     1033. add new batch-file 
    99104 
    100105TO ADD NEW BATCH-FILE: 
    1011061. see in SETTE/BATCH_TEMPLATE directory existing examples 
    1021072. 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") 
  • NEMO/branches/2019/fix_sette_ticket2239/param.cfg

    r10747 r10750  
    22# 
    33# Compiler among those in NEMOGCM/ARCH 
    4 COMPILER=X64_ADA 
     4COMPILER=XC40_METO_perso 
    55# 
    66# REFERENCE run.stat tracer.stat you want to compare with 
     
    2020BATCH_NAME=${SETTE_BATCH_NAME:-sette} 
    2121# List of test configurations 
    22 TEST_CONFIGS=${SETTE_TEST_CONFIGS:-"GYRE_PISCES ORCA2_ICE_PISCES ORCA2_OFF_PISCES AMM12 SAS ORCA2_ICE_OBS AGRIF SPITZ12 LOCK_EXCHANGE VORTEX ICE_AGRIF ISOMIP"} 
     22TEST_CONFIGS=${SETTE_TEST_CONFIGS:-"GYRE_PISCES ORCA2_ICE_PISCES ORCA2_OFF_PISCES AMM12 SAS ORCA2_ICE_OBS AGRIF SPITZ12 OVERFLOW LOCK_EXCHANGE VORTEX ICE_AGRIF ISOMIP"} 
    2323# 
    2424#- FORCING files storing 
  • NEMO/branches/2019/fix_sette_ticket2239/sette.sh

    r10747 r10750  
    99#                            (overrides selection made using 
    1010#                            environment variable SETTE_TEST_CONFIGS) 
    11 while getopts t: option; do [ $option == "t" ] && export SETTE_TEST_CONFIGS=$OPTARG; done 
    12 shift $((OPTIND - 1)) 
     11 
     12if [ $# -gt 0 ]; then 
     13  while getopts t: option; do  
     14     case $option in 
     15        t) export SETTE_TEST_CONFIGS=$OPTARG ;; 
     16        h) echo 'sette.sh allow no arguments (all configuration will be tested or -t "CFG1_to_test CFG2_to_test ..."'; exit 42 ;; 
     17     esac 
     18  done 
     19  shift $((OPTIND - 1)) 
     20fi 
    1321 
    1422. ./param.cfg 
  • NEMO/branches/2019/fix_sette_ticket2239/sette_reference-configurations.sh

    r10747 r10750  
    310310    set_namelist namelist_cfg cn_exp \"O2L3P_LONG\" 
    311311    set_namelist namelist_cfg nn_it000 1 
    312     set_namelist namelist_cfg nn_itend 990 
    313     set_namelist namelist_cfg nn_stock 495 
     312    set_namelist namelist_cfg nn_itend 992 
     313    set_namelist namelist_cfg nn_stock 496 
    314314    set_namelist namelist_cfg jpni 4 
    315315    set_namelist namelist_cfg jpnj 8 
     
    358358    cd ${EXE_DIR} 
    359359    set_namelist namelist_cfg cn_exp \"O2L3P_SHORT\" 
    360     set_namelist namelist_cfg nn_it000 496 
    361     set_namelist namelist_cfg nn_itend 990 
    362     set_namelist namelist_cfg nn_stock 495 
     360    set_namelist namelist_cfg nn_it000 497 
     361    set_namelist namelist_cfg nn_itend 992 
     362    set_namelist namelist_cfg nn_stock 496 
    363363    set_namelist namelist_cfg ln_rstart .true. 
    364364    set_namelist namelist_cfg nn_rstctl 2 
     
    383383    set_namelist namelist_top_cfg ln_rsttr .true. 
    384384    set_namelist namelist_top_cfg nn_rsttr 2 
    385     set_namelist namelist_cfg cn_ocerst_in \"O2L3P_LONG_00000495_restart\" 
    386     set_namelist namelist_top_cfg cn_trcrst_in \"O2L3P_LONG_00000495_restart_trc\" 
    387     set_namelist namelist_ice_cfg cn_icerst_in \"O2L3P_LONG_00000495_restart_ice\" 
     385    set_namelist namelist_cfg cn_ocerst_in \"O2L3P_LONG_00000496_restart\" 
     386    set_namelist namelist_top_cfg cn_trcrst_in \"O2L3P_LONG_00000496_restart_trc\" 
     387    set_namelist namelist_ice_cfg cn_icerst_in \"O2L3P_LONG_00000496_restart_ice\" 
    388388    set_namelist namelist_top_cfg ln_trcdta .false. 
    389389    # put ln_ironsed, ln_river, ln_ndepo, ln_dust 
     
    403403        L_NPROC=$(( $i - 1 )) 
    404404        L_NPROC=`printf "%04d\n" ${L_NPROC}` 
    405         ln -sf ../LONG/O2L3P_LONG_00000495_restart_${L_NPROC}.nc . 
    406         ln -sf ../LONG/O2L3P_LONG_00000495_restart_trc_${L_NPROC}.nc . 
    407         ln -sf ../LONG/O2L3P_LONG_00000495_restart_ice_${L_NPROC}.nc . 
     405        ln -sf ../LONG/O2L3P_LONG_00000496_restart_${L_NPROC}.nc . 
     406        ln -sf ../LONG/O2L3P_LONG_00000496_restart_trc_${L_NPROC}.nc . 
     407        ln -sf ../LONG/O2L3P_LONG_00000496_restart_ice_${L_NPROC}.nc . 
    408408        if [ ${USING_ICEBERGS} == "yes" ] 
    409409            then 
    410              ln -sf ../LONG/O2L3P_LONG_icebergs_00000495_restart_${L_NPROC}.nc O2L3P_LONG_00000495_restart_icebergs_${L_NPROC}.nc 
     410             ln -sf ../LONG/O2L3P_LONG_icebergs_00000496_restart_${L_NPROC}.nc O2L3P_LONG_00000496_restart_icebergs_${L_NPROC}.nc 
    411411        fi 
    412412    done 
     
    435435    set_namelist namelist_cfg cn_exp \"O2L3P_48\" 
    436436    set_namelist namelist_cfg nn_it000 1 
    437     set_namelist namelist_cfg nn_itend 990 
     437    set_namelist namelist_cfg nn_itend 992 
    438438    set_namelist namelist_cfg jpni 4 
    439439    set_namelist namelist_cfg jpnj 8 
     
    486486    set_namelist namelist_cfg cn_exp \"O2L3P_84\" 
    487487    set_namelist namelist_cfg nn_it000 1 
    488     set_namelist namelist_cfg nn_itend 990 
     488    set_namelist namelist_cfg nn_itend 992 
    489489    set_namelist namelist_cfg jpni 8 
    490490    set_namelist namelist_cfg jpnj 4 
     
    856856    set_namelist namelist_cfg cn_exp \"SAS\" 
    857857    set_namelist namelist_cfg nn_it000 1 
    858     set_namelist namelist_cfg nn_itend 240 
    859     set_namelist namelist_cfg nn_stock 120 
     858    set_namelist namelist_cfg nn_itend 256 
     859    set_namelist namelist_cfg nn_stock 128 
    860860    set_namelist namelist_cfg jpni 4 
    861861    set_namelist namelist_cfg jpnj 8 
     
    878878    cd ${EXE_DIR} 
    879879    set_namelist namelist_cfg cn_exp \"SAS\" 
    880     set_namelist namelist_cfg nn_it000 121 
    881     set_namelist namelist_cfg nn_itend 240 
     880    set_namelist namelist_cfg nn_it000 129 
     881    set_namelist namelist_cfg nn_itend 256 
    882882    set_namelist namelist_cfg jpni 4 
    883883    set_namelist namelist_cfg jpnj 8 
     
    888888    set_namelist namelist_cfg nn_rstctl 2 
    889889    set_namelist namelist_cfg nn_date0 010109 
    890     set_namelist namelist_cfg cn_ocerst_in \"SAS_00000120_restart\" 
    891     set_namelist namelist_ice_cfg cn_icerst_in \"SAS_00000120_restart_ice\" 
     890    set_namelist namelist_cfg cn_ocerst_in \"SAS_00000128_restart\" 
     891    set_namelist namelist_ice_cfg cn_icerst_in \"SAS_00000128_restart_ice\" 
    892892    if [ ${USING_MPMD} == "yes" ] ; then 
    893893       set_xio_using_server iodef.xml true 
     
    898898        L_NPROC=$(( $i - 1 )) 
    899899        L_NPROC=`printf "%04d\n" ${L_NPROC}` 
    900         ln -sf ../LONG/SAS_00000120_restart_${L_NPROC}.nc . 
    901         ln -sf ../LONG/SAS_00000120_restart_ice_${L_NPROC}.nc . 
     900        ln -sf ../LONG/SAS_00000128_restart_${L_NPROC}.nc . 
     901        ln -sf ../LONG/SAS_00000128_restart_ice_${L_NPROC}.nc . 
    902902    done 
    903903    cd ${SETTE_DIR} 
     
    920920    set_namelist namelist_cfg cn_exp \"SAS_48\" 
    921921    set_namelist namelist_cfg nn_it000 1 
    922     set_namelist namelist_cfg nn_itend 75 
     922    set_namelist namelist_cfg nn_itend 80 
    923923    set_namelist namelist_cfg jpni 4 
    924924    set_namelist namelist_cfg jpnj 8 
     
    946946    set_namelist namelist_cfg cn_exp \"SAS_84\" 
    947947    set_namelist namelist_cfg nn_it000 1 
    948     set_namelist namelist_cfg nn_itend 75 
     948    set_namelist namelist_cfg nn_itend 80 
    949949    set_namelist namelist_cfg jpni 8 
    950950    set_namelist namelist_cfg jpnj 4 
     
    986986    set_namelist namelist_cfg cn_exp \"O2L3OBS_48\" 
    987987    set_namelist namelist_cfg nn_it000 1 
    988     set_namelist namelist_cfg nn_itend 75 
     988    set_namelist namelist_cfg nn_itend 80 
    989989    set_namelist namelist_cfg ln_read_cfg .true. 
    990990    set_namelist namelist_cfg jpni 4 
     
    10391039    set_namelist namelist_cfg cn_exp \"O2L3OBS_84\" 
    10401040    set_namelist namelist_cfg nn_it000 1 
    1041     set_namelist namelist_cfg nn_itend 75 
     1041    set_namelist namelist_cfg nn_itend 80 
    10421042    set_namelist namelist_cfg ln_read_cfg .true. 
    10431043    set_namelist namelist_cfg jpni 8 
Note: See TracChangeset for help on using the changeset viewer.