Changeset 12888


Ignore:
Timestamp:
2020-05-07T14:55:05+02:00 (6 months ago)
Author:
mathiot
Message:

ticket #2459: change SPITZ12 by WED025 + minor bug fix in the sync option in SETTE

Location:
utils/CI/sette_ticket2459
Files:
5 edited
1 moved

Legend:

Unmodified
Added
Removed
  • utils/CI/sette_ticket2459/all_functions.sh

    r12569 r12888  
    129129         # rsync keep preserve the modification time stamp. 
    130130         # To avoid case where a file in MY_SRC is replace by an older file, we touch the file 
    131          touch $lCFG/MY_SRC/* 
     131         touch --no-create $lCFG/MY_SRC/* 
    132132      fi 
    133133 
  • utils/CI/sette_ticket2459/input_WED025.cfg

    r12878 r12888  
    1 SPITZ12_v4.0.tar SPITZ12_v4.0 
     1WED025_v4.2.tar WED025_v4.2 
  • utils/CI/sette_ticket2459/param.cfg

    r12878 r12888  
    7474# LIST OF CONFIGURATIONS 
    7575# to be updated if you added an new configuration in sette_test-cases.sh or sette_reference-configuration.sh 
    76 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+"} 
     76TEST_CONFIGS=${SETTE_TEST_CONFIGS:-"ORCA2_ICE_PISCES ORCA2_OFF_PISCES AMM12 AGRIF WED025 GYRE_PISCES SAS ORCA2_ICE_OBS ICE_AGRIF OVERFLOW LOCK_EXCHANGE VORTEX ISOMIP+"} 
    7777# ------------------------------------------------------------------------------------------ 
    7878# 
  • utils/CI/sette_ticket2459/sette_list_avail_cfg.sh

    r12878 r12888  
    99printf "%-15s \n" ORCA2_ICE_OBS 
    1010printf "%-15s \n" AGRIF 
    11 printf "%-15s \n" SPITZ12 
     11printf "%-15s \n" WED025 
    1212echo '' 
    1313echo 'Test cases available are named :' 
  • utils/CI/sette_ticket2459/sette_reference-configurations.sh

    r12569 r12888  
    150150# AGRIF             : test AGRIF in a double zoom configuration in the nordic seas + 1 zoom in the eq. Pacific (AGRIF_DEMO) 
    151151#                       and check that key_agrif without zoom = no key_agrif 
    152 # SPITZ12           : regional configuration including sea-ice and tides (Spitzbergen) 
     152# WED025           : regional configuration including sea-ice and tides (Spitzbergen) 
    153153 
    154154for config in ${TEST_CONFIGS} 
     
    13801380 
    13811381# ------- 
    1382 # SPITZ12 
     1382# WED025 
    13831383# ------- 
    1384 if [ ${config} == "SPITZ12" ] ;  then 
     1384if [ ${config} == "WED025" ] ;  then 
    13851385## Restartability tests 
    13861386    export TEST_NAME="LONG" 
     
    13891389    # syncronisation if target directory/file exist (not done by makenemo) 
    13901390    . ${SETTE_DIR}/all_functions.sh 
    1391     sync_config  SPITZ12 SPITZ12_ST 'cfgs' 
    1392     clean_config SPITZ12 SPITZ12_ST 'cfgs' 
    1393     # 
    1394     . ./makenemo -m ${CMP_NAM} -n SPITZ12_ST -r SPITZ12 -j 8 add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 
    1395     cd ${SETTE_DIR} 
    1396     . ./param.cfg 
    1397     . ./all_functions.sh 
    1398     . ./prepare_exe_dir.sh 
    1399     set_valid_dir 
    1400     clean_valid_dir 
    1401     JOB_FILE=${EXE_DIR}/run_job.sh 
    1402     NPROC=32 
    1403     if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
    1404     cd ${EXE_DIR} 
    1405     set_namelist namelist_cfg cn_exp \"S12_LONG\" 
    1406     set_namelist namelist_cfg nn_it000 1 
    1407     set_namelist namelist_cfg nn_itend 240 
    1408     set_namelist namelist_cfg nn_stock 120 
    1409     set_namelist namelist_cfg nn_date0 20020101 
     1391    sync_config  WED025 WED025_ST 'cfgs' 
     1392    clean_config WED025 WED025_ST 'cfgs' 
     1393    # 
     1394    . ./makenemo -m ${CMP_NAM} -n WED025_ST -r WED025 -j 8 add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 
     1395    cd ${SETTE_DIR} 
     1396    . ./param.cfg 
     1397    . ./all_functions.sh 
     1398    . ./prepare_exe_dir.sh 
     1399    set_valid_dir 
     1400    clean_valid_dir 
     1401    JOB_FILE=${EXE_DIR}/run_job.sh 
     1402    NPROC=32 
     1403    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
     1404    cd ${EXE_DIR} 
     1405    set_namelist namelist_cfg cn_exp \"WED025_LONG\" 
     1406    set_namelist namelist_cfg nn_it000 1 
     1407    set_namelist namelist_cfg nn_itend 720 
     1408    set_namelist namelist_cfg nn_stock 360 
     1409    set_namelist namelist_cfg nn_date0 20000115 
    14101410    set_namelist namelist_cfg jpni 4 
    14111411    set_namelist namelist_cfg jpnj 8 
     
    14191419    fi 
    14201420    cd ${SETTE_DIR} 
    1421     . ./prepare_job.sh input_SPITZ12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} 
     1421    . ./prepare_job.sh input_WED025.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} 
    14221422     
    14231423    cd ${SETTE_DIR} 
     
    14271427    clean_valid_dir 
    14281428    cd ${EXE_DIR} 
    1429     set_namelist namelist_cfg cn_exp \"S12_SHORT\" 
    1430     set_namelist namelist_cfg nn_it000 121 
    1431     set_namelist namelist_cfg nn_itend 240 
    1432     set_namelist namelist_cfg nn_stock 120 
     1429    set_namelist namelist_cfg cn_exp \"WED025_SHORT\" 
     1430    set_namelist namelist_cfg nn_it000 361 
     1431    set_namelist namelist_cfg nn_itend 720 
     1432    set_namelist namelist_cfg nn_stock 360 
    14331433    set_namelist namelist_cfg ln_rstart .true. 
    14341434    set_namelist namelist_cfg nn_rstctl 2 
     
    14371437    set_namelist namelist_cfg sn_cfctl%l_config .true. 
    14381438    set_namelist namelist_cfg sn_cfctl%l_runstat .true. 
    1439     set_namelist namelist_cfg cn_ocerst_in \"S12_LONG_00000120_restart\" 
    1440     set_namelist namelist_ice_cfg cn_icerst_in \"S12_LONG_00000120_restart_ice\" 
     1439    set_namelist namelist_cfg cn_ocerst_in \"WED025_LONG_00000360_restart\" 
     1440    set_namelist namelist_ice_cfg cn_icerst_in \"WED025_LONG_00000360_restart_ice\" 
    14411441    for (( i=1; i<=$NPROC; i++)) ; do 
    14421442        L_NPROC=$(( $i - 1 )) 
    14431443        L_NPROC=`printf "%04d\n" ${L_NPROC}` 
    1444         ln -sf ../LONG/S12_LONG_00000120_restart_${L_NPROC}.nc . 
    1445         ln -sf ../LONG/S12_LONG_00000120_restart_ice_${L_NPROC}.nc . 
     1444        ln -sf ../LONG/WED025_LONG_00000360_restart_${L_NPROC}.nc . 
     1445        ln -sf ../LONG/WED025_LONG_00000360_restart_ice_${L_NPROC}.nc . 
    14461446    done 
    14471447    if [ ${USING_MPMD} == "yes" ] ; then 
     
    14511451    fi 
    14521452    cd ${SETTE_DIR} 
    1453     . ./prepare_job.sh input_SPITZ12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} 
     1453    . ./prepare_job.sh input_WED025.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} 
    14541454    cd ${SETTE_DIR} 
    14551455    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    14561456 
    14571457## Reproducibility tests 
    1458     export TEST_NAME="REPRO_4_8" 
    1459     cd ${MAIN_DIR} 
    1460     cd ${SETTE_DIR} 
    1461     . ./param.cfg 
    1462     . ./all_functions.sh 
    1463     . ./prepare_exe_dir.sh 
    1464     set_valid_dir 
    1465     clean_valid_dir 
    1466     JOB_FILE=${EXE_DIR}/run_job.sh 
    1467     NPROC=32 
    1468     if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
    1469     cd ${EXE_DIR} 
    1470     set_namelist namelist_cfg cn_exp \"S12_48\" 
    1471     set_namelist namelist_cfg nn_it000 1 
    1472     set_namelist namelist_cfg nn_itend 120 
    1473     set_namelist namelist_cfg nn_date0 20020101 
    1474     set_namelist namelist_cfg jpni 4 
    1475     set_namelist namelist_cfg jpnj 8 
    1476     set_namelist namelist_cfg sn_cfctl%l_config .true. 
    1477     set_namelist namelist_cfg sn_cfctl%l_runstat .true. 
    1478     if [ ${USING_MPMD} == "yes" ] ; then 
    1479        set_xio_using_server iodef.xml true 
    1480     else 
    1481        set_xio_using_server iodef.xml false 
    1482     fi 
    1483     cd ${SETTE_DIR} 
    1484     . ./prepare_job.sh input_SPITZ12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} 
     1458    export TEST_NAME="REPRO_5_6" 
     1459    cd ${MAIN_DIR} 
     1460    cd ${SETTE_DIR} 
     1461    . ./param.cfg 
     1462    . ./all_functions.sh 
     1463    . ./prepare_exe_dir.sh 
     1464    set_valid_dir 
     1465    clean_valid_dir 
     1466    JOB_FILE=${EXE_DIR}/run_job.sh 
     1467    NPROC=32 
     1468    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
     1469    cd ${EXE_DIR} 
     1470    set_namelist namelist_cfg cn_exp \"WED025_56\" 
     1471    set_namelist namelist_cfg nn_it000 1 
     1472    set_namelist namelist_cfg nn_itend 720 
     1473    set_namelist namelist_cfg nn_date0 20000115 
     1474    set_namelist namelist_cfg jpni 6 
     1475    set_namelist namelist_cfg jpnj 7 
     1476    set_namelist namelist_cfg sn_cfctl%l_config .true. 
     1477    set_namelist namelist_cfg sn_cfctl%l_runstat .true. 
     1478    if [ ${USING_MPMD} == "yes" ] ; then 
     1479       set_xio_using_server iodef.xml true 
     1480    else 
     1481       set_xio_using_server iodef.xml false 
     1482    fi 
     1483    cd ${SETTE_DIR} 
     1484    . ./prepare_job.sh input_WED025.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} 
    14851485    cd ${SETTE_DIR} 
    14861486    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
     
    14951495    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
    14961496    cd ${EXE_DIR} 
    1497     set_namelist namelist_cfg cn_exp \"S12_84\" 
    1498     set_namelist namelist_cfg nn_it000 1 
    1499     set_namelist namelist_cfg nn_itend 120 
    1500     set_namelist namelist_cfg nn_date0 20020101 
     1497    set_namelist namelist_cfg cn_exp \"WED025_84\" 
     1498    set_namelist namelist_cfg nn_it000 1 
     1499    set_namelist namelist_cfg nn_itend 720 
     1500    set_namelist namelist_cfg nn_date0 20000115 
    15011501    set_namelist namelist_cfg jpni 8 
    15021502    set_namelist namelist_cfg jpnj 4 
     
    15091509    fi 
    15101510    cd ${SETTE_DIR} 
    1511     . ./prepare_job.sh input_SPITZ12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} 
     1511    . ./prepare_job.sh input_WED025.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} 
    15121512    cd ${SETTE_DIR} 
    15131513    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
  • utils/CI/sette_ticket2459/sette_rpt.sh

    r12878 r12888  
    489489 echo "" 
    490490 echo "   !----restart----!   " 
    491  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  
     491 for restart_test in WGYRE_PISCES_ST WORCA2_ICE_PISCES_ST WORCA2_OFF_PISCES_ST WAMM12_ST WORCA2_SAS_ICE_ST WAGRIF_DEMO_ST WWED025_ST WISOMIP+_ST WOVERFLOW_ST WLOCK_EXCHANGE_ST WVORTEX_ST WICE_AGRIF_ST  
    492492 do 
    493493   resttest $NEMO_VALID $restart_test $pass 
     
    497497 echo "" 
    498498 echo "   !----repro----!   " 
    499  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 
     499 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 WWED025_ST WISOMIP+_ST WVORTEX_ST WICE_AGRIF_ST 
    500500 do 
    501501   reprotest $NEMO_VALID $repro_test $pass 
     
    524524     echo "REFERENCE directory : $NEMO_VALID_REF at rev $NEMO_REV_REF" 
    525525     echo '' 
    526      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 
     526     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 WWED025_ST WISOMIP+_ST WVORTEX_ST WICE_AGRIF_ST 
    527527     do 
    528528       runcmpres $NEMO_VALID $repro_test $NEMO_VALID_REF $NEMO_REV_REF $pass 
Note: See TracChangeset for help on using the changeset viewer.