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 12569 for utils/CI/sette/sette_reference-configurations.sh – NEMO

Ignore:
Timestamp:
2020-03-18T12:22:56+01:00 (4 years ago)
Author:
mathiot
Message:

ticket #2304: merge branch sette_ticket2304 into sette (thank you Simon for the review and all the suggestions you made). It include synchronisation and cleaning option between the REF config and the _ST config to ease the work when the reference configurations are changed and display bug in sette_check_avail_rev

File:
1 edited

Legend:

Unmodified
Added
Removed
  • utils/CI/sette/sette_reference-configurations.sh

    r12474 r12569  
    162162    export TEST_NAME="LONG" 
    163163    cd ${MAIN_DIR} 
     164    # 
     165    # syncronisation if target directory/file exist (not done by makenemo) 
     166    . ${SETTE_DIR}/all_functions.sh 
     167    sync_config  GYRE_PISCES GYRE_PISCES_ST 'cfgs' 
     168    clean_config GYRE_PISCES GYRE_PISCES_ST 'cfgs' 
     169    # 
    164170    . ./makenemo -m ${CMP_NAM} -n GYRE_PISCES_ST -r GYRE_PISCES -j 8 add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 
    165171    cd ${SETTE_DIR} 
     
    298304    export TEST_NAME="LONG" 
    299305    cd ${MAIN_DIR} 
     306    # 
     307    # syncronisation if target directory/file exist (not done by makenemo) 
     308    . ${SETTE_DIR}/all_functions.sh 
     309    sync_config  ORCA2_ICE_PISCES ORCA2_ICE_PISCES_ST 'cfgs' 
     310    clean_config ORCA2_ICE_PISCES ORCA2_ICE_PISCES_ST 'cfgs' 
     311    # 
    300312    . ./makenemo -m ${CMP_NAM} -n ORCA2_ICE_PISCES_ST -r ORCA2_ICE_PISCES -j 8 add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 
    301313    cd ${SETTE_DIR} 
     
    519531    export TEST_NAME="LONG" 
    520532    cd ${MAIN_DIR} 
     533    # 
     534    # syncronisation if target directory/file exist (not done by makenemo) 
     535    . ${SETTE_DIR}/all_functions.sh 
     536    sync_config  ORCA2_OFF_PISCES ORCA2_OFF_PISCES_ST 'cfgs' 
     537    clean_config ORCA2_OFF_PISCES ORCA2_OFF_PISCES_ST 'cfgs' 
     538    # 
    521539    . ./makenemo -m ${CMP_NAM} -n ORCA2_OFF_PISCES_ST -r ORCA2_OFF_PISCES -j 8 add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 
    522540    cd ${SETTE_DIR} 
     
    689707    export TEST_NAME="LONG" 
    690708    cd ${MAIN_DIR} 
     709    # 
     710    # syncronisation if target directory/file exist (not done by makenemo) 
     711    . ${SETTE_DIR}/all_functions.sh 
     712    sync_config  AMM12 AMM12_ST 'cfgs' 
     713    clean_config AMM12 AMM12_ST 'cfgs' 
     714    # 
    691715    . ./makenemo -m ${CMP_NAM} -n AMM12_ST -r AMM12 -j 8 add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 
    692716    cd ${SETTE_DIR} 
     
    812836    export TEST_NAME="LONG" 
    813837    cd ${MAIN_DIR} 
     838    # 
     839    # syncronisation if target directory/file exist (not done by makenemo) 
     840    . ${SETTE_DIR}/all_functions.sh 
     841    sync_config  ORCA2_SAS_ICE ORCA2_SAS_ICE_ST 'cfgs' 
     842    clean_config ORCA2_SAS_ICE ORCA2_SAS_ICE_ST 'cfgs' 
     843    # 
    814844    . ./makenemo -m ${CMP_NAM} -n ORCA2_SAS_ICE_ST -r ORCA2_SAS_ICE -j 8 add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 
    815845    cd ${SETTE_DIR} 
     
    942972    export TEST_NAME="REPRO_4_8" 
    943973    cd ${MAIN_DIR} 
     974    # 
     975    # syncronisation if target directory/file exist (not done by makenemo) 
     976    . ${SETTE_DIR}/all_functions.sh 
     977    sync_config  ORCA2_ICE_PISCES ORCA2_ICE_OBS_ST 'cfgs' 
     978    clean_config ORCA2_ICE_PISCES ORCA2_ICE_OBS_ST 'cfgs' 
     979    # 
    944980    . ./makenemo -m ${CMP_NAM} -n ORCA2_ICE_OBS_ST -r ORCA2_ICE_PISCES -d "OCE ICE"  -j 8 add_key "key_asminc ${ADD_KEYS}" del_key "key_top" 
    945981    cd ${SETTE_DIR} 
     
    10501086    export TEST_NAME="LONG" 
    10511087    cd ${MAIN_DIR} 
     1088    # 
     1089    # syncronisation if target directory/file exist (not done by makenemo) 
     1090    . ${SETTE_DIR}/all_functions.sh 
     1091    sync_config  AGRIF_DEMO AGRIF_DEMO_ST 'cfgs' 
     1092    clean_config AGRIF_DEMO AGRIF_DEMO_ST 'cfgs' 
     1093    # 
    10521094    . ./makenemo -m ${CMP_NAM} -n AGRIF_DEMO_ST -r AGRIF_DEMO -j 8 add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 
    10531095    cd ${SETTE_DIR} 
     
    13021344    export TEST_NAME="ORCA2" 
    13031345    cd ${MAIN_DIR} 
     1346    # 
     1347    # syncronisation if target directory/file exist (not done by makenemo) 
     1348    . ${SETTE_DIR}/all_functions.sh 
     1349    sync_config  AGRIF_DEMO AGRIF_DEMO_NOAGRIF_ST 'cfgs' 
     1350    clean_config AGRIF_DEMO AGRIF_DEMO_NOAGRIF_ST 'cfgs' 
     1351    # 
    13041352    . ./makenemo -m ${CMP_NAM} -n AGRIF_DEMO_NOAGRIF_ST -r AGRIF_DEMO -j 8 add_key "${ADD_KEYS}" del_key "key_agrif" 
    13051353    cd ${SETTE_DIR} 
     
    13381386    export TEST_NAME="LONG" 
    13391387    cd ${MAIN_DIR} 
     1388    # 
     1389    # syncronisation if target directory/file exist (not done by makenemo) 
     1390    . ${SETTE_DIR}/all_functions.sh 
     1391    sync_config  SPITZ12 SPITZ12_ST 'cfgs' 
     1392    clean_config SPITZ12 SPITZ12_ST 'cfgs' 
     1393    # 
    13401394    . ./makenemo -m ${CMP_NAM} -n SPITZ12_ST -r SPITZ12 -j 8 add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 
    13411395    cd ${SETTE_DIR} 
Note: See TracChangeset for help on using the changeset viewer.