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 10747 for NEMO/branches/2019/fix_sette_ticket2239/sette_reference-configurations.sh – NEMO

Ignore:
Timestamp:
2019-03-12T18:00:52+01:00 (5 years ago)
Author:
smueller
Message:

Addition of configurability of the set of active test configurations, see comment 14 of ticket #2239

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/fix_sette_ticket2239/sette_reference-configurations.sh

    r10732 r10747  
    141141cd ${SETTE_DIR} 
    142142cp BATCH_TEMPLATE/${JOB_PREFIX}-${COMPILER} job_batch_template || exit 
    143 # Description of configuration tested: 
    144 # GYRE_PISCES       :  1  
    145 # ORCA2_ICE_PISCES  :  2  
    146 # ORCA2_OFF_PISCES  :  3  
    147 # AMM12             :  4  
    148 # SAS               :  5 
    149 # ORCA2_ICE_OBS     :  6 
    150 # AGRIF             :  7 & 8  test AGRIF in a double zoom configuration in the nordic seas + 1 zoom in the eq. Pacific (AGRIF_DEMO) 
    151 #                               and check that key_agrif without zoom = no key_agrif 
    152 # SPITZ12           :  9      regional configuration including sea-ice and tides (Spitzbergen) 
    153  
    154 for config in 1 2 3 4 5 6 7 8 9 
     143# Description of available configurations: 
     144# GYRE_PISCES       : 
     145# ORCA2_ICE_PISCES  : 
     146# ORCA2_OFF_PISCES  : 
     147# AMM12             : 
     148# SAS               : 
     149# ORCA2_ICE_OBS     : 
     150# AGRIF             : test AGRIF in a double zoom configuration in the nordic seas + 1 zoom in the eq. Pacific (AGRIF_DEMO) 
     151#                       and check that key_agrif without zoom = no key_agrif 
     152# SPITZ12           : regional configuration including sea-ice and tides (Spitzbergen) 
     153 
     154for config in ${TEST_CONFIGS} 
    155155do 
    156156 
     
    158158# GYRE_PISCES 
    159159# ----------- 
    160 if [ ${config} -eq 1 ] ;  then 
     160if [ ${config} == "GYRE_PISCES" ] ;  then 
    161161## Restartability tests for GYRE_PISCES 
    162162    export TEST_NAME="LONG" 
     
    294294# ORCA2_ICE_PISCES 
    295295# ----------------- 
    296 if [ ${config} -eq 2 ] ;  then 
     296if [ ${config} == "ORCA2_ICE_PISCES" ] ;  then 
    297297## Restartability tests for ORCA2_ICE_PISCES 
    298298    export TEST_NAME="LONG" 
     
    531531# ORCA2_OFF_PISCES 
    532532# ---------------- 
    533 if [ ${config} -eq 3 ] ;  then 
     533if [ ${config} == "ORCA2_OFF_PISCES" ] ;  then 
    534534## Restartability tests for ORCA2_OFF_PISCES 
    535535    export TEST_NAME="LONG" 
     
    717717# AMM12 
    718718# ----- 
    719 if [ ${config} -eq 4 ] ;  then 
     719if [ ${config} == "AMM12" ] ;  then 
    720720    ## Restartability tests for AMM12 
    721721    export TEST_NAME="LONG" 
     
    840840# ORCA2_SAS 
    841841# --------- 
    842 if [ ${config} -eq 5 ] ;  then 
     842if [ ${config} == "SAS" ] ;  then 
    843843## Restartability tests 
    844844    export TEST_NAME="LONG" 
     
    970970## Test assimilation interface code, OBS and ASM for reproducibility 
    971971## Restartability not tested (ASM code not restartable while increments are being applied) 
    972 if [ ${config} -eq 6 ] ; then 
     972if [ ${config} == "ORCA2_ICE_OBS" ] ; then 
    973973## Reproducibility tests 
    974974    export TEST_NAME="REPRO_4_8" 
     
    10861086# AGRIF ICE 
    10871087# ----------- 
    1088 if [ ${config} -eq 7 ] ;  then 
     1088if [ ${config} == "AGRIF" ] ;  then 
    10891089## Restartability tests 
    10901090    export TEST_NAME="LONG" 
     
    13511351 
    13521352## test code corruption with AGRIF (phase 2) ==> Compile without key_agrif (to be compared with AGRIF_DEMO_ST/ORCA2) 
    1353 if [ ${config} -eq 8 ] ;  then 
     1353if [ ${config} == "AGRIF" ] ;  then 
    13541354    export TEST_NAME="ORCA2" 
    13551355    cd ${MAIN_DIR} 
     
    13861386# SPITZ12 
    13871387# ------- 
    1388 if [ ${config} -eq 9 ] ;  then 
     1388if [ ${config} == "SPITZ12" ] ;  then 
    13891389## Restartability tests 
    13901390    export TEST_NAME="LONG" 
Note: See TracChangeset for help on using the changeset viewer.