Changeset 13406


Ignore:
Timestamp:
2020-08-14T18:28:00+02:00 (16 months ago)
Author:
smueller
Message:

Addition of a SETTE test configuration for the testing of the ORCA2_MEDUSA reference configuration

Location:
branches/NERC/dev_sette_NERC
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/NERC/dev_sette_NERC/param.cfg

    r12135 r13406  
    6868# LIST OF CONFIGURATIONS 
    6969# to be updated if you added an new configuration in sette_test-cases.sh or sette_reference-configuration.sh 
    70 TEST_CONFIGS=${SETTE_TEST_CONFIGS:-"ORCA2_ICE_PISCES ORCA2_OFF_PISCES AMM12 AGRIF SPITZ12 GYRE_PISCES SAS ORCA2_ICE_OBS ICE_AGRIF OVERFLOW LOCK_EXCHANGE VORTEX ISOMIP"} 
     70TEST_CONFIGS=${SETTE_TEST_CONFIGS:-"ORCA2_ICE_PISCES ORCA2_MEDUSA ORCA2_OFF_PISCES AMM12 AGRIF SPITZ12 GYRE_PISCES SAS ORCA2_ICE_OBS ICE_AGRIF OVERFLOW LOCK_EXCHANGE VORTEX ISOMIP"} 
    7171# ------------------------------------------------------------------------------------------ 
  • branches/NERC/dev_sette_NERC/sette_reference-configurations.sh

    r11800 r13406  
    144144# GYRE_PISCES       : 
    145145# ORCA2_ICE_PISCES  : 
     146# ORCA2_MEDUSA      : MEDUSA-enabled ORCA2_ICE configuration 
    146147# ORCA2_OFF_PISCES  : 
    147148# AMM12             : 
     
    295296fi 
    296297 
    297 # ----------------- 
    298 # ORCA2_ICE_PISCES 
    299 # ----------------- 
    300 if [ ${config} == "ORCA2_ICE_PISCES" ] ;  then 
    301 ## Restartability tests for ORCA2_ICE_PISCES 
     298# --------------------------------- 
     299# ORCA2_ICE_PISCES and ORCA2_MEDUSA 
     300# --------------------------------- 
     301if [ ${config} == "ORCA2_ICE_PISCES" -o ${config} == "ORCA2_MEDUSA" ] ;  then 
     302    config_short='O2L3P' 
     303    [ ${config} == "ORCA2_MEDUSA" ] && config_short='O2MED' 
     304## Restartability tests for ORCA2_ICE_PISCES and ORCA2_MEDUSA 
    302305    export TEST_NAME="LONG" 
    303306    cd ${MAIN_DIR} 
    304     . ./makenemo -m ${CMP_NAM} -n ORCA2_ICE_PISCES_ST -r ORCA2_ICE_PISCES -j 8 add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 
    305     cd ${SETTE_DIR} 
    306     . ./param.cfg 
    307     . ./all_functions.sh 
    308     . ./prepare_exe_dir.sh 
    309     set_valid_dir 
    310     clean_valid_dir 
    311     JOB_FILE=${EXE_DIR}/run_job.sh 
    312     NPROC=32 
    313     if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
    314     cd ${EXE_DIR} 
    315     set_namelist namelist_cfg cn_exp \"O2L3P_LONG\" 
     307    . ./makenemo -m ${CMP_NAM} -n ${config}_ST -r ${config} -j 8 add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 
     308    cd ${SETTE_DIR} 
     309    . ./param.cfg 
     310    . ./all_functions.sh 
     311    . ./prepare_exe_dir.sh 
     312    set_valid_dir 
     313    clean_valid_dir 
     314    JOB_FILE=${EXE_DIR}/run_job.sh 
     315    NPROC=32 
     316    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
     317    cd ${EXE_DIR} 
     318    set_namelist namelist_cfg cn_exp \"${config_short}_LONG\" 
    316319    set_namelist namelist_cfg nn_it000 1 
    317320    set_namelist namelist_cfg nn_itend 992 
     
    336339    set_namelist namelist_ice_cfg ln_icediachk .true. 
    337340    set_namelist namelist_top_cfg ln_trcdta .false. 
    338     # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false 
    339     # if not you need input files, and for tests is not necessary 
    340     set_namelist namelist_pisces_cfg ln_presatm .false. 
    341     set_namelist namelist_pisces_cfg ln_varpar .false. 
    342     set_namelist namelist_pisces_cfg ln_dust .false. 
    343     set_namelist namelist_pisces_cfg ln_solub .false. 
    344     set_namelist namelist_pisces_cfg ln_river .false. 
    345     set_namelist namelist_pisces_cfg ln_ndepo .false. 
    346     set_namelist namelist_pisces_cfg ln_ironsed .false. 
    347     set_namelist namelist_pisces_cfg ln_ironice .false. 
    348     set_namelist namelist_pisces_cfg ln_hydrofe .false. 
    349     # put ln_pisdmp to false : no restoring to global mean value 
    350     set_namelist namelist_pisces_cfg ln_pisdmp .false. 
     341    if [ ${config} == "ORCA2_ICE_PISCES" ]; then 
     342        # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false 
     343        # if not you need input files, and for tests is not necessary 
     344   set_namelist namelist_pisces_cfg ln_presatm .false. 
     345   set_namelist namelist_pisces_cfg ln_varpar .false. 
     346   set_namelist namelist_pisces_cfg ln_dust .false. 
     347   set_namelist namelist_pisces_cfg ln_solub .false. 
     348   set_namelist namelist_pisces_cfg ln_river .false. 
     349   set_namelist namelist_pisces_cfg ln_ndepo .false. 
     350   set_namelist namelist_pisces_cfg ln_ironsed .false. 
     351   set_namelist namelist_pisces_cfg ln_ironice .false. 
     352   set_namelist namelist_pisces_cfg ln_hydrofe .false. 
     353        # put ln_pisdmp to false : no restoring to global mean value 
     354   set_namelist namelist_pisces_cfg ln_pisdmp .false. 
     355    fi 
    351356    if [ ${USING_MPMD} == "yes" ] ; then 
    352357       set_xio_using_server iodef.xml true 
     
    363368    clean_valid_dir 
    364369    cd ${EXE_DIR} 
    365     set_namelist namelist_cfg cn_exp \"O2L3P_SHORT\" 
     370    set_namelist namelist_cfg cn_exp \"${config_short}_SHORT\" 
    366371    set_namelist namelist_cfg nn_it000 497 
    367372    set_namelist namelist_cfg nn_itend 992 
     
    389394    set_namelist namelist_top_cfg ln_rsttr .true. 
    390395    set_namelist namelist_top_cfg nn_rsttr 2 
    391     set_namelist namelist_cfg cn_ocerst_in \"O2L3P_LONG_00000496_restart\" 
    392     set_namelist namelist_top_cfg cn_trcrst_in \"O2L3P_LONG_00000496_restart_trc\" 
    393     set_namelist namelist_ice_cfg cn_icerst_in \"O2L3P_LONG_00000496_restart_ice\" 
     396    set_namelist namelist_cfg cn_ocerst_in \"${config_short}_LONG_00000496_restart\" 
     397    set_namelist namelist_top_cfg cn_trcrst_in \"${config_short}_LONG_00000496_restart_trc\" 
     398    set_namelist namelist_ice_cfg cn_icerst_in \"${config_short}_LONG_00000496_restart_ice\" 
    394399    set_namelist namelist_top_cfg ln_trcdta .false. 
    395     # put ln_ironsed, ln_river, ln_ndepo, ln_dust 
    396     # if not you need input files, and for tests is not necessary 
    397     set_namelist namelist_pisces_cfg ln_presatm .false. 
    398     set_namelist namelist_pisces_cfg ln_varpar .false. 
    399     set_namelist namelist_pisces_cfg ln_dust .false. 
    400     set_namelist namelist_pisces_cfg ln_solub .false. 
    401     set_namelist namelist_pisces_cfg ln_river .false. 
    402     set_namelist namelist_pisces_cfg ln_ndepo .false. 
    403     set_namelist namelist_pisces_cfg ln_ironsed .false. 
    404     set_namelist namelist_pisces_cfg ln_ironice .false. 
    405     set_namelist namelist_pisces_cfg ln_hydrofe .false. 
    406     # put ln_pisdmp to false : no restoring to global mean value 
    407     set_namelist namelist_pisces_cfg ln_pisdmp .false. 
     400    if [ ${config} == "ORCA2_ICE_PISCES" ]; then 
     401        # put ln_ironsed, ln_river, ln_ndepo, ln_dust 
     402        # if not you need input files, and for tests is not necessary 
     403   set_namelist namelist_pisces_cfg ln_presatm .false. 
     404   set_namelist namelist_pisces_cfg ln_varpar .false. 
     405   set_namelist namelist_pisces_cfg ln_dust .false. 
     406   set_namelist namelist_pisces_cfg ln_solub .false. 
     407   set_namelist namelist_pisces_cfg ln_river .false. 
     408   set_namelist namelist_pisces_cfg ln_ndepo .false. 
     409   set_namelist namelist_pisces_cfg ln_ironsed .false. 
     410   set_namelist namelist_pisces_cfg ln_ironice .false. 
     411   set_namelist namelist_pisces_cfg ln_hydrofe .false. 
     412        # put ln_pisdmp to false : no restoring to global mean value 
     413   set_namelist namelist_pisces_cfg ln_pisdmp .false. 
     414    fi 
    408415    for (( i=1; i<=$NPROC; i++)) ; do 
    409416        L_NPROC=$(( $i - 1 )) 
    410417        L_NPROC=`printf "%04d\n" ${L_NPROC}` 
    411         ln -sf ../LONG/O2L3P_LONG_00000496_restart_${L_NPROC}.nc . 
    412         ln -sf ../LONG/O2L3P_LONG_00000496_restart_trc_${L_NPROC}.nc . 
    413         ln -sf ../LONG/O2L3P_LONG_00000496_restart_ice_${L_NPROC}.nc . 
     418        ln -sf ../LONG/${config_short}_LONG_00000496_restart_${L_NPROC}.nc . 
     419        ln -sf ../LONG/${config_short}_LONG_00000496_restart_trc_${L_NPROC}.nc . 
     420        ln -sf ../LONG/${config_short}_LONG_00000496_restart_ice_${L_NPROC}.nc . 
    414421        if [ ${USING_ICEBERGS} == "yes" ] 
    415422            then 
    416              ln -sf ../LONG/O2L3P_LONG_icebergs_00000496_restart_${L_NPROC}.nc O2L3P_LONG_00000496_restart_icebergs_${L_NPROC}.nc 
     423             ln -sf ../LONG/${config_short}_LONG_icebergs_00000496_restart_${L_NPROC}.nc ${config_short}_LONG_00000496_restart_icebergs_${L_NPROC}.nc 
    417424        fi 
    418425    done 
     
    427434    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    428435 
    429 ## Reproducibility tests for ORCA2_ICE_PISCES 
     436## Reproducibility tests for ORCA2_ICE_PISCES and ORCA2_MEDUSA 
    430437    export TEST_NAME="REPRO_4_8" 
    431438    cd ${MAIN_DIR} 
     
    440447    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
    441448    cd ${EXE_DIR} 
    442     set_namelist namelist_cfg cn_exp \"O2L3P_48\" 
     449    set_namelist namelist_cfg cn_exp \"${config_short}_48\" 
    443450    set_namelist namelist_cfg nn_it000 1 
    444451    set_namelist namelist_cfg nn_itend 992 
     
    460467 
    461468    set_namelist namelist_top_cfg ln_trcdta .false. 
    462     # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false 
    463     # if not you need input files, and for tests is not necessary 
    464     set_namelist namelist_pisces_cfg ln_presatm .false. 
    465     set_namelist namelist_pisces_cfg ln_varpar .false. 
    466     set_namelist namelist_pisces_cfg ln_dust .false. 
    467     set_namelist namelist_pisces_cfg ln_solub .false. 
    468     set_namelist namelist_pisces_cfg ln_river .false. 
    469     set_namelist namelist_pisces_cfg ln_ndepo .false. 
    470     set_namelist namelist_pisces_cfg ln_ironsed .false. 
    471     set_namelist namelist_pisces_cfg ln_ironice .false. 
    472     set_namelist namelist_pisces_cfg ln_hydrofe .false. 
    473     # put ln_pisdmp to false : no restoring to global mean value 
    474     set_namelist namelist_pisces_cfg ln_pisdmp .false. 
     469    if [ ${config} == "ORCA2_ICE_PISCES" ]; then 
     470        # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false 
     471        # if not you need input files, and for tests is not necessary 
     472   set_namelist namelist_pisces_cfg ln_presatm .false. 
     473   set_namelist namelist_pisces_cfg ln_varpar .false. 
     474   set_namelist namelist_pisces_cfg ln_dust .false. 
     475   set_namelist namelist_pisces_cfg ln_solub .false. 
     476   set_namelist namelist_pisces_cfg ln_river .false. 
     477   set_namelist namelist_pisces_cfg ln_ndepo .false. 
     478   set_namelist namelist_pisces_cfg ln_ironsed .false. 
     479   set_namelist namelist_pisces_cfg ln_ironice .false. 
     480   set_namelist namelist_pisces_cfg ln_hydrofe .false. 
     481        # put ln_pisdmp to false : no restoring to global mean value 
     482   set_namelist namelist_pisces_cfg ln_pisdmp .false. 
     483    fi 
    475484    if [ ${USING_MPMD} == "yes" ] ; then 
    476485       set_xio_using_server iodef.xml true 
     
    492501    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
    493502    cd ${EXE_DIR} 
    494     set_namelist namelist_cfg cn_exp \"O2L3P_84\" 
     503    set_namelist namelist_cfg cn_exp \"${config_short}_84\" 
    495504    set_namelist namelist_cfg nn_it000 1 
    496505    set_namelist namelist_cfg nn_itend 992 
     
    512521 
    513522    set_namelist namelist_top_cfg ln_trcdta .false. 
    514     # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false 
    515     # if not you need input files, and for tests is not necessary 
    516     set_namelist namelist_pisces_cfg ln_presatm .false. 
    517     set_namelist namelist_pisces_cfg ln_varpar .false. 
    518     set_namelist namelist_pisces_cfg ln_dust .false. 
    519     set_namelist namelist_pisces_cfg ln_solub .false. 
    520     set_namelist namelist_pisces_cfg ln_river .false. 
    521     set_namelist namelist_pisces_cfg ln_ndepo .false. 
    522     set_namelist namelist_pisces_cfg ln_ironsed .false. 
    523     set_namelist namelist_pisces_cfg ln_ironice .false. 
    524     set_namelist namelist_pisces_cfg ln_hydrofe .false. 
    525     # put ln_pisdmp to false : no restoring to global mean value 
    526     set_namelist namelist_pisces_cfg ln_pisdmp .false. 
     523    if [ ${config} == "ORCA2_ICE_PISCES" ]; then 
     524        # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false 
     525        # if not you need input files, and for tests is not necessary 
     526   set_namelist namelist_pisces_cfg ln_presatm .false. 
     527   set_namelist namelist_pisces_cfg ln_varpar .false. 
     528   set_namelist namelist_pisces_cfg ln_dust .false. 
     529   set_namelist namelist_pisces_cfg ln_solub .false. 
     530   set_namelist namelist_pisces_cfg ln_river .false. 
     531   set_namelist namelist_pisces_cfg ln_ndepo .false. 
     532   set_namelist namelist_pisces_cfg ln_ironsed .false. 
     533   set_namelist namelist_pisces_cfg ln_ironice .false. 
     534   set_namelist namelist_pisces_cfg ln_hydrofe .false. 
     535        # put ln_pisdmp to false : no restoring to global mean value 
     536   set_namelist namelist_pisces_cfg ln_pisdmp .false. 
     537    fi 
    527538    if [ ${USING_MPMD} == "yes" ] ; then 
    528539       set_xio_using_server iodef.xml true 
  • branches/NERC/dev_sette_NERC/sette_rpt.sh

    r11497 r13406  
    470470 echo "" 
    471471 echo "   !----restart----!   " 
    472  for restart_test in WGYRE_PISCES_ST WORCA2_ICE_PISCES_ST WORCA2_OFF_PISCES_ST WAMM12_ST WORCA2_SAS_ICE_ST WAGRIF_DEMO_ST WSPITZ12_ST WISOMIP_ST WOVERFLOW_ST WLOCK_EXCHANGE_ST WVORTEX_ST WICE_AGRIF_ST  
     472 for restart_test in WGYRE_PISCES_ST WORCA2_ICE_PISCES_ST WORCA2_MEDUSA_ST WORCA2_OFF_PISCES_ST WAMM12_ST WORCA2_SAS_ICE_ST WAGRIF_DEMO_ST WSPITZ12_ST WISOMIP_ST WOVERFLOW_ST WLOCK_EXCHANGE_ST WVORTEX_ST WICE_AGRIF_ST  
    473473 do 
    474474   resttest $NEMO_VALID $restart_test $pass 
     
    478478 echo "" 
    479479 echo "   !----repro----!   " 
    480  for repro_test in WGYRE_PISCES_ST WORCA2_ICE_PISCES_ST WORCA2_OFF_PISCES_ST WAMM12_ST WORCA2_SAS_ICE_ST WORCA2_ICE_OBS_ST WAGRIF_DEMO_ST WSPITZ12_ST WISOMIP_ST WVORTEX_ST WICE_AGRIF_ST 
     480 for repro_test in WGYRE_PISCES_ST WORCA2_ICE_PISCES_ST WORCA2_MEDUSA_ST WORCA2_OFF_PISCES_ST WAMM12_ST WORCA2_SAS_ICE_ST WORCA2_ICE_OBS_ST WAGRIF_DEMO_ST WSPITZ12_ST WISOMIP_ST WVORTEX_ST WICE_AGRIF_ST 
    481481 do 
    482482   reprotest $NEMO_VALID $repro_test $pass 
     
    505505     echo "REFERENCE directory : $NEMO_VALID_REF at rev $NEMO_REV_REF" 
    506506     echo '' 
    507      for repro_test in WGYRE_PISCES_ST WORCA2_ICE_PISCES_ST WORCA2_OFF_PISCES_ST WAMM12_ST WISOMIP_ST WORCA2_SAS_ICE_ST WAGRIF_DEMO_ST WSPITZ12_ST WISOMIP_ST WVORTEX_ST WICE_AGRIF_ST 
     507     for repro_test in WGYRE_PISCES_ST WORCA2_ICE_PISCES_ST WORCA2_MEDUSA_ST WORCA2_OFF_PISCES_ST WAMM12_ST WISOMIP_ST WORCA2_SAS_ICE_ST WAGRIF_DEMO_ST WSPITZ12_ST WISOMIP_ST WVORTEX_ST WICE_AGRIF_ST 
    508508     do 
    509509       runcmpres $NEMO_VALID $repro_test $NEMO_VALID_REF $NEMO_REV_REF $pass 
Note: See TracChangeset for help on using the changeset viewer.