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 9518 – NEMO

Changeset 9518


Ignore:
Timestamp:
2018-04-27T17:59:40+02:00 (7 years ago)
Author:
clem
Message:

update sette tests so that all configurations are tested and the report includes the test cases if any

Location:
branches/2017/dev_merge_2017/NEMOGCM/SETTE
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/NEMOGCM/SETTE/sette.sh

    r9507 r9518  
    137137# ORCA2_OFF_PISCES  :  3  
    138138# AMM12             :  4  
    139 # SAS               :  5     fos SAS there is no run.stat so is useless to test REPRO 
    140 # ISOMIP            :  6 
    141 # ORCA2_LIM3_OBS    :  7 
    142 # ORCA2_AGRIF_LIM3  :  8  
    143 # ORCA2AGR          :  9 & 10  AGRIF active with no zoom, compared to no AGRIF cpp key 
    144 # AGRIF             :  11 & 12  test AGRIF in a double zoom configuration (AGRIF_NORDIC) 
     139# SAS               :  5 
     140# ORCA2_LIM3_OBS    :  6 
     141# AGRIF             :  7 & 8  test AGRIF in a double zoom configuration (AGRIF_NORDIC) 
    145142#                               and check that key_agrif without zoom = no key_agrif 
    146143 
    147 for config in 1 2 3 4 5 6 7 8 9 10 11 12 
     144for config in 1 2 3 4 5 6 7 8  
    148145do 
    149146 
    150 # TESTS FOR GYRE_PISCES CONFIGURATION 
     147# ----------- 
     148# GYRE_PISCES 
     149# ----------- 
    151150if [ ${config} -eq 1 ] ;  then 
    152     ## Restartability tests for GYRE_PISCES 
     151## Restartability tests for GYRE_PISCES 
    153152    export TEST_NAME="LONG" 
    154153    cd ${CONFIG_DIR0} 
     
    166165    set_namelist namelist_cfg nn_itend 120 
    167166    set_namelist namelist_cfg nn_stock 60 
    168     set_namelist namelist_cfg ln_clobber .true. 
    169167    set_namelist namelist_cfg ln_linssh .true. 
    170     set_namelist namelist_cfg ln_read_cfg .false. 
    171     set_namelist namelist_cfg nn_fwb 0 
    172168    set_namelist namelist_cfg jpni 4 
    173169    set_namelist namelist_cfg jpnj 8 
     
    191187    set_namelist namelist_cfg ln_rstart .true. 
    192188    set_namelist namelist_cfg nn_rstctl 2 
    193     set_namelist namelist_cfg ln_clobber .true. 
    194189    set_namelist namelist_cfg ln_linssh .true. 
    195     set_namelist namelist_cfg ln_read_cfg .false. 
    196     set_namelist namelist_cfg nn_fwb 0 
    197190    set_namelist namelist_cfg jpni 4 
    198191    set_namelist namelist_cfg jpnj 8 
     
    223216    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    224217 
    225     ## Reproducibility tests for GYRE_PISCES 
     218## Reproducibility tests for GYRE_PISCES 
    226219    export TEST_NAME="REPRO_4_8" 
    227220    cd ${CONFIG_DIR0} 
     
    237230    set_namelist namelist_cfg nn_it000 1 
    238231    set_namelist namelist_cfg nn_itend 60 
    239     set_namelist namelist_cfg nn_fwb 0 
    240     set_namelist namelist_cfg ln_ctl .false. 
    241     set_namelist namelist_cfg ln_clobber .true. 
    242232    set_namelist namelist_cfg ln_linssh .true. 
    243     set_namelist namelist_cfg ln_read_cfg .false. 
    244233    set_namelist namelist_cfg jpni 4 
    245234    set_namelist namelist_cfg jpnj 8 
     
    265254    set_namelist namelist_cfg nn_it000 1 
    266255    set_namelist namelist_cfg nn_itend 60 
    267     set_namelist namelist_cfg nn_fwb 0 
    268     set_namelist namelist_cfg ln_ctl .false. 
    269     set_namelist namelist_cfg ln_clobber .true. 
    270256    set_namelist namelist_cfg ln_linssh .true. 
    271     set_namelist namelist_cfg ln_read_cfg .false. 
    272257    set_namelist namelist_cfg jpni 8 
    273258    set_namelist namelist_cfg jpnj 4 
     
    285270fi 
    286271 
    287 # TESTS FOR ORCA2_LIM3_PISCES CONFIGURATION 
     272# ----------------- 
     273# ORCA2_LIM3_PISCES 
     274# ----------------- 
    288275if [ ${config} -eq 2 ] ;  then 
    289     ## Restartability tests for ORCA2_LIM3_PISCES 
     276## Restartability tests for ORCA2_LIM3_PISCES 
    290277    export TEST_NAME="LONG" 
    291278    cd ${CONFIG_DIR0} 
     
    301288    set_namelist namelist_cfg cn_exp \"O2L3P_LONG\" 
    302289    set_namelist namelist_cfg nn_it000 1 
    303     set_namelist namelist_cfg nn_itend 150 
    304     set_namelist namelist_cfg nn_stock 75 
    305     set_namelist namelist_cfg ln_clobber .true. 
    306     set_namelist namelist_cfg ln_read_cfg .true. 
    307     set_namelist namelist_cfg ln_linssh .false. 
    308     set_namelist namelist_cfg ln_icebergs .true. 
    309     set_namelist namelist_cfg nn_fwb 0 
     290    set_namelist namelist_cfg nn_itend 1000 
     291    set_namelist namelist_cfg nn_stock 500 
    310292    set_namelist namelist_cfg jpni 4 
    311293    set_namelist namelist_cfg jpnj 8 
    312294    set_namelist namelist_cfg jpnij 32 
    313295    set_namelist namelist_ice_cfg ln_icediachk .true. 
    314 ##    set_namelist namelist_ice_cfg ln_icediahsb .true. 
    315296    set_namelist namelist_top_cfg ln_trcdta .false. 
    316297    # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false 
     
    340321    cd ${EXE_DIR} 
    341322    set_namelist namelist_cfg cn_exp \"O2L3P_SHORT\" 
    342     set_namelist namelist_cfg nn_it000 76 
    343     set_namelist namelist_cfg nn_itend 150 
    344     set_namelist namelist_cfg nn_stock 75 
     323    set_namelist namelist_cfg nn_it000 501 
     324    set_namelist namelist_cfg nn_itend 1000 
     325    set_namelist namelist_cfg nn_stock 500 
    345326    set_namelist namelist_cfg ln_rstart .true. 
    346327    set_namelist namelist_cfg nn_rstctl 2 
    347     set_namelist namelist_cfg ln_clobber .true. 
    348     set_namelist namelist_cfg ln_read_cfg .true. 
    349     set_namelist namelist_cfg ln_linssh .false. 
    350     set_namelist namelist_cfg ln_icebergs .true. 
    351     set_namelist namelist_cfg nn_fwb 0 
    352     set_namelist namelist_cfg jpni 4 
    353     set_namelist namelist_cfg jpnj 8 
    354     set_namelist namelist_cfg jpnij 32 
    355     set_namelist namelist_ice_cfg ln_icediachk .true. 
    356 ##    set_namelist namelist_ice_cfg ln_icediahsb .true. 
     328    set_namelist namelist_cfg jpni 4 
     329    set_namelist namelist_cfg jpnj 8 
     330    set_namelist namelist_cfg jpnij 32 
    357331    set_namelist namelist_top_cfg ln_rsttr .true. 
    358332    set_namelist namelist_top_cfg nn_rsttr 2 
    359     set_namelist namelist_cfg cn_ocerst_in \"O2L3P_LONG_00000075_restart\" 
    360     set_namelist namelist_top_cfg cn_trcrst_in \"O2L3P_LONG_00000075_restart_trc\" 
    361     set_namelist namelist_ice_cfg cn_icerst_in \"O2L3P_LONG_00000075_restart_ice\" 
     333    set_namelist namelist_cfg cn_ocerst_in \"O2L3P_LONG_00000500_restart\" 
     334    set_namelist namelist_top_cfg cn_trcrst_in \"O2L3P_LONG_00000500_restart_trc\" 
     335    set_namelist namelist_ice_cfg cn_icerst_in \"O2L3P_LONG_00000500_restart_ice\" 
    362336    # put ln_ironsed, ln_river, ln_ndepo, ln_dust 
    363337    # if not you need input files, and for tests is not necessary 
     
    376350        L_NPROC=$(( $i - 1 )) 
    377351        L_NPROC=`printf "%04d\n" ${L_NPROC}` 
    378         ln -sf ../LONG/O2L3P_LONG_00000075_restart_${L_NPROC}.nc . 
    379         ln -sf ../LONG/O2L3P_LONG_00000075_restart_trc_${L_NPROC}.nc . 
    380         ln -sf ../LONG/O2L3P_LONG_00000075_restart_ice_${L_NPROC}.nc . 
    381         ln -sf ../LONG/O2L3P_LONG_icebergs_00000075_restart_${L_NPROC}.nc O2L3P_LONG_00000075_restart_icebergs_${L_NPROC}.nc 
     352        ln -sf ../LONG/O2L3P_LONG_00000500_restart_${L_NPROC}.nc . 
     353        ln -sf ../LONG/O2L3P_LONG_00000500_restart_trc_${L_NPROC}.nc . 
     354        ln -sf ../LONG/O2L3P_LONG_00000500_restart_ice_${L_NPROC}.nc . 
     355        ln -sf ../LONG/O2L3P_LONG_icebergs_00000500_restart_${L_NPROC}.nc O2L3P_LONG_00000500_restart_icebergs_${L_NPROC}.nc 
    382356    done 
    383357    if [ ${USING_MPMD} == "yes" ] ; then 
     
    391365    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    392366 
    393     ## Reproducibility tests for ORCA2_LIM3_PISCES 
     367## Reproducibility tests for ORCA2_LIM3_PISCES 
    394368    export TEST_NAME="REPRO_4_8" 
    395369    cd ${CONFIG_DIR0} 
     
    404378    set_namelist namelist_cfg cn_exp \"O2L3P_48\" 
    405379    set_namelist namelist_cfg nn_it000 1 
    406     set_namelist namelist_cfg nn_itend 75 
    407     set_namelist namelist_cfg ln_ctl .false. 
    408     set_namelist namelist_cfg ln_clobber .true. 
    409     set_namelist namelist_cfg ln_read_cfg .true. 
    410     set_namelist namelist_cfg ln_linssh .false. 
    411     set_namelist namelist_cfg ln_icebergs .true. 
    412     set_namelist namelist_cfg nn_fwb 0 
    413     set_namelist namelist_cfg jpni 4 
    414     set_namelist namelist_cfg jpnj 8 
    415     set_namelist namelist_cfg jpnij 32 
    416     set_namelist namelist_ice_cfg ln_icediachk .true. 
    417 ##    set_namelist namelist_ice_cfg ln_icediahsb .true. 
     380    set_namelist namelist_cfg nn_itend 450 
     381    set_namelist namelist_cfg jpni 4 
     382    set_namelist namelist_cfg jpnj 8 
     383    set_namelist namelist_cfg jpnij 32 
    418384    set_namelist namelist_top_cfg ln_trcdta .false. 
    419385    # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false 
     
    449415    set_namelist namelist_cfg cn_exp \"O2L3P_84\" 
    450416    set_namelist namelist_cfg nn_it000 1 
    451     set_namelist namelist_cfg nn_itend 75 
    452     set_namelist namelist_cfg ln_clobber .true. 
    453     set_namelist namelist_cfg ln_read_cfg .true. 
    454     set_namelist namelist_cfg ln_linssh .false. 
    455     set_namelist namelist_cfg ln_icebergs .true. 
    456     set_namelist namelist_cfg nn_fwb 0 
     417    set_namelist namelist_cfg nn_itend 450 
    457418    set_namelist namelist_cfg jpni 8 
    458419    set_namelist namelist_cfg jpnj 4 
    459420    set_namelist namelist_cfg jpnij 32 
    460     set_namelist namelist_ice_cfg ln_icediachk .true. 
    461 ##    set_namelist namelist_ice_cfg ln_icediahsb .true. 
    462421    set_namelist namelist_top_cfg ln_trcdta .false. 
    463422    # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false 
     
    485444fi 
    486445 
    487 # TESTS FOR ORCA2_OFF_PISCES CONFIGURATION 
     446# ---------------- 
     447# ORCA2_OFF_PISCES 
     448# ---------------- 
    488449if [ ${config} -eq 3 ] ;  then 
    489     ## Restartability tests for ORCA2_OFF_PISCES 
     450## Restartability tests for ORCA2_OFF_PISCES 
    490451    export TEST_NAME="LONG" 
    491452    cd ${CONFIG_DIR0} 
     
    503464    set_namelist namelist_cfg nn_itend 40 
    504465    set_namelist namelist_cfg nn_stock 20 
    505     set_namelist namelist_cfg ln_clobber .true. 
    506     set_namelist namelist_cfg ln_read_cfg .true. 
    507     set_namelist namelist_cfg ln_linssh .true. 
    508466    set_namelist namelist_cfg jpni 4 
    509467    set_namelist namelist_cfg jpnj 8 
     
    539497    set_namelist namelist_cfg nn_itend 40 
    540498    set_namelist namelist_cfg nn_stock 20 
    541     set_namelist namelist_cfg ln_clobber .true. 
    542     set_namelist namelist_cfg ln_read_cfg .true. 
    543     set_namelist namelist_cfg ln_linssh .true. 
    544499    set_namelist namelist_cfg jpni 4 
    545500    set_namelist namelist_cfg jpnj 8 
     
    576531    . ./fcm_job.sh $NPROC  ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    577532 
    578     ## Reproducibility tests for ORCA2_OFF_PISCES 
     533## Reproducibility tests for ORCA2_OFF_PISCES 
    579534    export TEST_NAME="REPRO_4_8" 
    580535    cd ${CONFIG_DIR0} 
     
    590545    set_namelist namelist_cfg nn_it000 1 
    591546    set_namelist namelist_cfg nn_itend 40 
    592     set_namelist namelist_cfg ln_ctl .false. 
    593     set_namelist namelist_cfg ln_clobber .true. 
    594     set_namelist namelist_cfg ln_read_cfg .true. 
    595     set_namelist namelist_cfg ln_linssh .true. 
    596547    set_namelist namelist_cfg jpni 4 
    597548    set_namelist namelist_cfg jpnj 8 
     
    631582    set_namelist namelist_cfg nn_it000 1 
    632583    set_namelist namelist_cfg nn_itend 40 
    633     set_namelist namelist_cfg ln_ctl .false. 
    634     set_namelist namelist_cfg ln_clobber .true. 
    635     set_namelist namelist_cfg ln_read_cfg .true. 
    636     set_namelist namelist_cfg ln_linssh .true. 
    637584    set_namelist namelist_cfg jpni 8 
    638585    set_namelist namelist_cfg jpnj 4 
     
    663610fi 
    664611 
    665 # TESTS FOR AMM12 CONFIGURATION 
     612# ----- 
     613# AMM12 
     614# ----- 
    666615if [ ${config} -eq 4 ] ;  then 
    667616    ## Restartability tests for AMM12 
     
    681630    set_namelist namelist_cfg nn_itend 576 
    682631    set_namelist namelist_cfg nn_stock 288 
    683     set_namelist namelist_cfg nn_fwb 0 
    684     set_namelist namelist_cfg ln_ctl .false. 
    685     set_namelist namelist_cfg ln_clobber .true. 
    686     set_namelist namelist_cfg ln_read_cfg .true. 
    687     set_namelist namelist_cfg ln_linssh .false. 
    688 ##SF  
    689     set_namelist namelist_cfg ln_lin .true. 
    690     set_namelist namelist_cfg ln_loglayer .false. 
    691 ##SF 
    692632    set_namelist namelist_cfg jpni 4 
    693633    set_namelist namelist_cfg jpnj 8 
     
    708648    set_namelist namelist_cfg nn_it000 289 
    709649    set_namelist namelist_cfg nn_itend 576 
    710     set_namelist namelist_cfg nn_fwb 0 
    711     set_namelist namelist_cfg ln_ctl .false. 
    712     set_namelist namelist_cfg ln_clobber .true. 
    713     set_namelist namelist_cfg ln_read_cfg .true. 
    714     set_namelist namelist_cfg ln_linssh .false. 
    715 ##SF  
    716     set_namelist namelist_cfg ln_lin .true. 
    717     set_namelist namelist_cfg ln_loglayer .false. 
    718 ##SF 
    719650    set_namelist namelist_cfg jpni 4 
    720651    set_namelist namelist_cfg jpnj 8 
     
    753684    set_namelist namelist_cfg nn_it000 1 
    754685    set_namelist namelist_cfg nn_itend 576 
    755     set_namelist namelist_cfg nn_fwb 0 
    756     set_namelist namelist_cfg ln_ctl .false. 
    757     set_namelist namelist_cfg ln_clobber .true. 
    758     set_namelist namelist_cfg ln_read_cfg .true. 
    759     set_namelist namelist_cfg ln_linssh .false. 
    760 ##SF  
    761     set_namelist namelist_cfg ln_lin .true. 
    762     set_namelist namelist_cfg ln_loglayer .false. 
    763 ##SF 
    764686    set_namelist namelist_cfg jpni 8 
    765687    set_namelist namelist_cfg jpnj 4 
     
    784706    set_namelist namelist_cfg nn_it000 1 
    785707    set_namelist namelist_cfg nn_itend 576 
    786     set_namelist namelist_cfg nn_fwb 0 
    787     set_namelist namelist_cfg ln_ctl .false. 
    788     set_namelist namelist_cfg ln_clobber .true. 
    789     set_namelist namelist_cfg ln_read_cfg .true. 
    790     set_namelist namelist_cfg ln_linssh .false. 
    791 ##SF  
    792     set_namelist namelist_cfg ln_lin .true. 
    793     set_namelist namelist_cfg ln_loglayer .false. 
    794 ##SF 
    795708    set_namelist namelist_cfg jpni 4 
    796709    set_namelist namelist_cfg jpnj 8 
     
    808721 
    809722 
    810 # TESTS FOR ORCA2_SAS_LIM3 CONFIGURATION 
     723# --------- 
     724# ORCA2_SAS 
     725# --------- 
    811726if [ ${config} -eq 5 ] ;  then 
    812     ## Restartability tests for SAS 
     727## Restartability tests 
    813728    export TEST_NAME="LONG" 
    814729    cd ${CONFIG_DIR0} 
     
    826741    set_namelist namelist_cfg nn_itend 240 
    827742    set_namelist namelist_cfg nn_stock 120 
    828     set_namelist namelist_cfg ln_ctl .false. 
    829     set_namelist namelist_cfg ln_clobber .true. 
    830     set_namelist namelist_cfg ln_read_cfg .true. 
    831     set_namelist namelist_cfg ln_linssh .true. 
    832     set_namelist namelist_cfg nn_fwb 0 
    833743    set_namelist namelist_cfg jpni 4 
    834744    set_namelist namelist_cfg jpnj 8 
     
    850760    set_namelist namelist_cfg nn_it000 121 
    851761    set_namelist namelist_cfg nn_itend 240 
    852     set_namelist namelist_cfg ln_ctl .false. 
    853     set_namelist namelist_cfg ln_clobber .true. 
    854     set_namelist namelist_cfg ln_read_cfg .true. 
    855     set_namelist namelist_cfg ln_linssh .true. 
    856     set_namelist namelist_cfg nn_fwb 0 
    857762    set_namelist namelist_cfg jpni 4 
    858763    set_namelist namelist_cfg jpnj 8 
     
    878783    cd ${SETTE_DIR} 
    879784    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    880 fi 
    881  
    882 # TESTS FOR ISOMIP CONFIGURATION 
    883 if [ ${config} -eq 6 ] ;  then 
    884     ## Restartability tests for ISOMIP 
    885     export TEST_NAME="LONG" 
    886     cd ${CONFIG_DIR0} 
    887     . ./makenemo -m ${CMP_NAM} -n ISOMIP_ST -r ISOMIP -a TEST_CASES -j 8 del_key ${DEL_KEYS} 
    888     cd ${SETTE_DIR} 
    889     . ./param.cfg 
    890     . ./all_functions.sh 
    891     . ./prepare_exe_dir.sh 
    892     JOB_FILE=${EXE_DIR}/run_job.sh 
    893     NPROC=15 
    894     if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
    895     cd ${EXE_DIR} 
    896     set_namelist namelist_cfg cn_exp \"ISOMIP_LONG\" 
    897     set_namelist namelist_cfg nn_it000 1 
    898     set_namelist namelist_cfg nn_itend 96 
    899     set_namelist namelist_cfg nn_stock 48 
    900     set_namelist namelist_cfg ln_clobber .true. 
    901     set_namelist namelist_cfg ln_read_cfg .false. 
    902     set_namelist namelist_cfg ln_icebergs .false. 
    903     set_namelist namelist_cfg ln_bergdia .false. 
    904     set_namelist namelist_cfg jpni 5 
    905     set_namelist namelist_cfg jpnj 3 
    906     set_namelist namelist_cfg jpnij 15 
    907     if [ ${USING_MPMD} == "yes" ] ; then 
    908        set_xio_using_server iodef.xml true 
    909     else 
    910        set_xio_using_server iodef.xml false 
    911     fi 
    912     cd ${SETTE_DIR} 
    913     . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
    914  
    915     cd ${SETTE_DIR} 
    916     export TEST_NAME="SHORT" 
    917     . ./prepare_exe_dir.sh 
    918     cd ${EXE_DIR} 
    919     set_namelist namelist_cfg cn_exp \"ISOMIP_SHORT\" 
    920     set_namelist namelist_cfg nn_it000 49 
    921     set_namelist namelist_cfg nn_itend 96 
    922     set_namelist namelist_cfg nn_stock 48 
    923     set_namelist namelist_cfg ln_rstart .true. 
    924     set_namelist namelist_cfg nn_rstctl 2 
    925     set_namelist namelist_cfg ln_clobber .true. 
    926     set_namelist namelist_cfg ln_read_cfg .false. 
    927     set_namelist namelist_cfg ln_bergdia .false. 
    928     set_namelist namelist_cfg jpni 5 
    929     set_namelist namelist_cfg jpnj 3 
    930     set_namelist namelist_cfg jpnij 15 
    931     set_namelist namelist_cfg cn_ocerst_in \"ISOMIP_LONG_00000048_restart\" 
    932     if [ ${USING_MPMD} == "yes" ] ; then 
    933        set_xio_using_server iodef.xml true 
    934     else 
    935        set_xio_using_server iodef.xml false 
    936     fi 
    937     for (( i=1; i<=$NPROC; i++)) ; do 
    938         L_NPROC=$(( $i - 1 )) 
    939         L_NPROC=`printf "%04d\n" ${L_NPROC}` 
    940         ln -sf ../LONG/ISOMIP_LONG_00000048_restart_${L_NPROC}.nc . 
    941     done 
    942     if [ ${USING_MPMD} == "yes" ] ; then 
    943        set_xio_using_server iodef.xml true 
    944     else 
    945        set_xio_using_server iodef.xml false 
    946     fi 
    947     cd ${SETTE_DIR} 
    948     . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
    949     cd ${SETTE_DIR} 
    950     . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    951  
    952     ## Reproducibility tests for ISOMIP 
    953     export TEST_NAME="REPRO_7_3" 
    954     cd ${CONFIG_DIR0} 
    955     cd ${SETTE_DIR} 
    956     . ./param.cfg 
    957     . ./all_functions.sh 
    958     . ./prepare_exe_dir.sh 
    959     JOB_FILE=${EXE_DIR}/run_job.sh 
    960     NPROC=21 
    961     if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
    962     cd ${EXE_DIR} 
    963     set_namelist namelist_cfg cn_exp \"ISOMIP_73\" 
    964     set_namelist namelist_cfg nn_it000 1 
    965     set_namelist namelist_cfg nn_itend 48 
    966     set_namelist namelist_cfg ln_ctl .false. 
    967     set_namelist namelist_cfg ln_clobber .true. 
    968     set_namelist namelist_cfg ln_read_cfg .false. 
    969     set_namelist namelist_cfg ln_bergdia .false. 
    970     set_namelist namelist_cfg jpni 7 
    971     set_namelist namelist_cfg jpnj 3 
    972     set_namelist namelist_cfg jpnij 21 
    973     if [ ${USING_MPMD} == "yes" ] ; then 
    974        set_xio_using_server iodef.xml true 
    975     else 
    976        set_xio_using_server iodef.xml false 
    977     fi 
    978     cd ${SETTE_DIR} 
    979     . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
     785 
     786## Reproducibility tests 
     787    export TEST_NAME="REPRO_4_8" 
     788    cd ${CONFIG_DIR0} 
     789    cd ${SETTE_DIR} 
     790    . ./param.cfg 
     791    . ./all_functions.sh 
     792    . ./prepare_exe_dir.sh 
     793    JOB_FILE=${EXE_DIR}/run_job.sh 
     794    NPROC=32 
     795    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
     796    cd ${EXE_DIR} 
     797    set_namelist namelist_cfg cn_exp \"SAS_48\" 
     798    set_namelist namelist_cfg nn_it000 1 
     799    set_namelist namelist_cfg nn_itend 75 
     800    set_namelist namelist_cfg jpni 4 
     801    set_namelist namelist_cfg jpnj 8 
     802    set_namelist namelist_cfg jpnij 32 
     803    if [ ${USING_MPMD} == "yes" ] ; then 
     804       set_xio_using_server iodef.xml true 
     805    else 
     806       set_xio_using_server iodef.xml false 
     807    fi 
     808    cd ${SETTE_DIR} 
     809    . ./prepare_job.sh input_SAS.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
    980810    cd ${SETTE_DIR} 
    981811    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
     
    988818    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
    989819    cd ${EXE_DIR} 
    990     set_namelist namelist_cfg cn_exp \"ISOMIP_84\" 
    991     set_namelist namelist_cfg nn_it000 1 
    992     set_namelist namelist_cfg nn_itend 48 
    993     set_namelist namelist_cfg ln_ctl .false. 
    994     set_namelist namelist_cfg ln_clobber .true. 
    995     set_namelist namelist_cfg ln_read_cfg .false. 
    996     set_namelist namelist_cfg ln_bergdia .false. 
     820    set_namelist namelist_cfg cn_exp \"SAS_84\" 
     821    set_namelist namelist_cfg nn_it000 1 
     822    set_namelist namelist_cfg nn_itend 75 
    997823    set_namelist namelist_cfg jpni 8 
    998824    set_namelist namelist_cfg jpnj 4 
     
    1004830    fi 
    1005831    cd ${SETTE_DIR} 
    1006     . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
     832    . ./prepare_job.sh input_SAS.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
    1007833    cd ${SETTE_DIR} 
    1008834    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
     
    1010836fi 
    1011837 
     838 
     839# -------------- 
     840# ORCA2_LIM3_OBS 
     841# -------------- 
    1012842## Test assimilation interface code, OBS and ASM for reproducibility 
    1013843## Restartability not tested (ASM code not restartable while increments are being applied) 
    1014 if [ ${config} -eq 7 ] ; then 
    1015    ## Reproducibility tests for ORCA2_LIM3_OBS 
     844if [ ${config} -eq 6 ] ; then 
     845## Reproducibility tests 
    1016846    export TEST_NAME="REPRO_4_8" 
    1017847    cd ${CONFIG_DIR0} 
     
    1028858    set_namelist namelist_cfg nn_it000 1 
    1029859    set_namelist namelist_cfg nn_itend 75 
    1030     set_namelist namelist_cfg nn_fwb 0 
    1031     set_namelist namelist_cfg ln_ctl .false. 
    1032     set_namelist namelist_cfg ln_clobber .true. 
    1033860    set_namelist namelist_cfg ln_read_cfg .true. 
    1034     set_namelist namelist_cfg ln_linssh .false. 
    1035     set_namelist namelist_cfg ln_icebergs .false. 
    1036861    set_namelist namelist_cfg jpni 4 
    1037862    set_namelist namelist_cfg jpnj 8 
     
    1082907    set_namelist namelist_cfg nn_it000 1 
    1083908    set_namelist namelist_cfg nn_itend 75 
    1084     set_namelist namelist_cfg nn_fwb 0 
    1085     set_namelist namelist_cfg ln_ctl .false. 
    1086     set_namelist namelist_cfg ln_clobber .true. 
    1087909    set_namelist namelist_cfg ln_read_cfg .true. 
    1088     set_namelist namelist_cfg ln_linssh .false. 
    1089     set_namelist namelist_cfg ln_icebergs .false. 
    1090910    set_namelist namelist_cfg jpni 8 
    1091911    set_namelist namelist_cfg jpnj 4 
     
    1126946    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    1127947fi 
    1128 # TEST FOR ORCA2_LIM3_AGRIF : AGULHAS AGRIF 
    1129 if [ ${config} -eq 8 ] ;  then 
    1130 ## Restartability tests 
    1131     export TEST_NAME="LONG" 
    1132     cd ${CONFIG_DIR0} 
    1133     . ./makenemo -m ${CMP_NAM} -n ORCA2AGR_ST -r ORCA2_LIM3_PISCES -d "OPA_SRC LIM_SRC_3 NST_SRC" -j 8 add_key "key_agrif" del_key "key_top" 
    1134     cd ${SETTE_DIR} 
    1135     . ./param.cfg 
    1136     . ./all_functions.sh 
    1137     . ./prepare_exe_dir.sh 
    1138     JOB_FILE=${EXE_DIR}/run_job.sh 
    1139     NPROC=4 
    1140     if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
    1141     cd ${EXE_DIR} 
    1142     set_namelist namelist_cfg cn_exp \"O2AGRIF_LONG\" 
    1143     set_namelist namelist_cfg nn_it000 1 
    1144     set_namelist namelist_cfg nn_itend 150 
    1145     set_namelist namelist_cfg nn_stock 75 
    1146     set_namelist namelist_cfg ln_clobber .true. 
    1147     set_namelist namelist_cfg ln_read_cfg .true. 
    1148     set_namelist namelist_cfg nn_fwb 0 
    1149     set_namelist namelist_cfg jpni 2 
    1150     set_namelist namelist_cfg jpnj 2 
    1151     set_namelist namelist_cfg jpnij 4 
    1152     set_namelist 1_namelist_cfg cn_exp \"O2AGRIF_LONG\" 
    1153     set_namelist 1_namelist_cfg nn_it000 1 
    1154     set_namelist 1_namelist_cfg nn_itend 300 
    1155     set_namelist 1_namelist_cfg nn_stock 150 
    1156     set_namelist 1_namelist_cfg nn_fsbc 1 
    1157     set_namelist 1_namelist_cfg ln_ctl .false. 
    1158     set_namelist 1_namelist_cfg ln_clobber .true. 
    1159     set_namelist 1_namelist_cfg ln_read_cfg .true. 
    1160     set_namelist 1_namelist_cfg ln_linssh .false. 
    1161     set_namelist 1_namelist_cfg ln_zdfiwm .false. 
    1162     set_namelist 1_namelist_cfg ln_hpg_sco .true. 
    1163     set_namelist 1_namelist_cfg ln_hpg_zps .false.  
    1164 # 
    1165     if [ ${USING_MPMD} == "yes" ] ; then 
    1166        set_xio_using_server iodef.xml true 
    1167     else 
    1168        set_xio_using_server iodef.xml false 
    1169     fi 
    1170     cd ${SETTE_DIR} 
    1171     . ./prepare_job.sh input_ORCA2_LIM3_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
    1172      
    1173     cd ${SETTE_DIR} 
    1174     export TEST_NAME="SHORT" 
    1175     . ./prepare_exe_dir.sh 
    1176     cd ${EXE_DIR} 
    1177     set_namelist namelist_cfg cn_exp \"O2AGRIF_SHORT\" 
    1178     set_namelist namelist_cfg nn_it000 76 
    1179     set_namelist namelist_cfg nn_itend 150 
    1180     set_namelist namelist_cfg nn_stock 75 
    1181     set_namelist namelist_cfg ln_rstart .true. 
    1182     set_namelist namelist_cfg nn_rstctl 2 
    1183     set_namelist namelist_cfg ln_clobber .true. 
    1184     set_namelist namelist_cfg ln_read_cfg .true. 
    1185     set_namelist namelist_cfg ln_linssh .false. 
    1186     set_namelist namelist_cfg nn_fwb 0 
    1187     set_namelist namelist_cfg jpni 2 
    1188     set_namelist namelist_cfg jpnj 2 
    1189     set_namelist namelist_cfg jpnij 4 
    1190     set_namelist 1_namelist_cfg cn_exp \"O2AGRIF_SHORT\" 
    1191     set_namelist 1_namelist_cfg nn_it000 151 
    1192     set_namelist 1_namelist_cfg nn_itend 300 
    1193     set_namelist 1_namelist_cfg nn_stock 150 
    1194     set_namelist 1_namelist_cfg nn_fsbc 1 
    1195     set_namelist 1_namelist_cfg ln_rstart .true. 
    1196     set_namelist 1_namelist_cfg nn_rstctl 2 
    1197     set_namelist 1_namelist_cfg ln_clobber .true. 
    1198     set_namelist 1_namelist_cfg ln_read_cfg .true. 
    1199     set_namelist 1_namelist_cfg ln_zdfiwm .false. 
    1200     set_namelist 1_namelist_cfg ln_hpg_sco .true. 
    1201     set_namelist 1_namelist_cfg ln_hpg_zps .false.  
    1202     set_namelist namelist_cfg cn_ocerst_in \"O2AGRIF_LONG_00000075_restart\" 
    1203     set_namelist namelist_ice_cfg cn_icerst_in \"O2AGRIF_LONG_00000075_restart_ice\" 
    1204     set_namelist 1_namelist_cfg cn_ocerst_in \"O2AGRIF_LONG_00000150_restart\" 
    1205     set_namelist 1_namelist_ice_cfg cn_icerst_in \"O2AGRIF_LONG_00000150_restart_ice\" 
    1206  
    1207     for (( i=1; i<=$NPROC; i++)) ; do 
    1208         L_NPROC=$(( $i - 1 )) 
    1209         L_NPROC=`printf "%04d\n" ${L_NPROC}` 
    1210         ln -sf ../LONG/O2AGRIF_LONG_00000075_restart_${L_NPROC}.nc . 
    1211         ln -sf ../LONG/O2AGRIF_LONG_00000075_restart_ice_${L_NPROC}.nc . 
    1212         ln -sf ../LONG/1_O2AGRIF_LONG_00000150_restart_${L_NPROC}.nc . 
    1213         ln -sf ../LONG/1_O2AGRIF_LONG_00000150_restart_ice_${L_NPROC}.nc . 
    1214     done 
    1215     if [ ${USING_MPMD} == "yes" ] ; then 
    1216        set_xio_using_server iodef.xml true 
    1217     else 
    1218        set_xio_using_server iodef.xml false 
    1219     fi 
    1220     cd ${SETTE_DIR} 
    1221     . ./prepare_job.sh input_ORCA2_LIM3_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
    1222     cd ${SETTE_DIR} 
    1223     . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    1224  
    1225  
    1226 ## Reproducibility tests for ORCA2_LIM3_AGRIF 
    1227     export TEST_NAME="REPRO_4_4" 
    1228     cd ${CONFIG_DIR0} 
    1229     cd ${SETTE_DIR} 
    1230     . ./param.cfg 
    1231     . ./all_functions.sh 
    1232     . ./prepare_exe_dir.sh 
    1233     JOB_FILE=${EXE_DIR}/run_job.sh 
    1234     NPROC=16 
    1235     if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
    1236     cd ${EXE_DIR} 
    1237     set_namelist namelist_cfg cn_exp \"O2AGRIF_44\" 
    1238     set_namelist namelist_cfg nn_it000 1 
    1239     set_namelist namelist_cfg nn_itend 75 
    1240     set_namelist namelist_cfg ln_ctl .false. 
    1241     set_namelist namelist_cfg ln_clobber .true. 
    1242     set_namelist namelist_cfg ln_read_cfg .true. 
    1243     set_namelist namelist_cfg ln_linssh .false. 
    1244     set_namelist namelist_cfg nn_fwb 0 
    1245     set_namelist namelist_cfg jpni 4 
    1246     set_namelist namelist_cfg jpnj 4 
    1247     set_namelist namelist_cfg jpnij 16 
    1248     set_namelist 1_namelist_cfg nn_it000 1 
    1249     set_namelist 1_namelist_cfg nn_itend 150 
    1250     set_namelist 1_namelist_cfg nn_fsbc 1 
    1251     set_namelist 1_namelist_cfg ln_ctl .false. 
    1252     set_namelist 1_namelist_cfg ln_clobber .true. 
    1253     set_namelist 1_namelist_cfg ln_read_cfg .true. 
    1254     set_namelist 1_namelist_cfg ln_zdfiwm .false. 
    1255     set_namelist 1_namelist_cfg ln_hpg_sco .true. 
    1256     set_namelist 1_namelist_cfg ln_hpg_zps .false.  
    1257  
    1258     if [ ${USING_MPMD} == "yes" ] ; then 
    1259        set_xio_using_server iodef.xml true 
    1260     else 
    1261        set_xio_using_server iodef.xml false 
    1262     fi 
    1263     cd ${SETTE_DIR} 
    1264     . ./prepare_job.sh input_ORCA2_LIM3_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
    1265     cd ${SETTE_DIR} 
    1266     . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    1267  
    1268     cd ${SETTE_DIR} 
    1269     export TEST_NAME="REPRO_2_8" 
    1270     . ./prepare_exe_dir.sh 
    1271     JOB_FILE=${EXE_DIR}/run_job.sh 
    1272     NPROC=16 
    1273     if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
    1274     cd ${EXE_DIR} 
    1275     set_namelist namelist_cfg cn_exp \"O2AGRIF_28\" 
    1276     set_namelist namelist_cfg nn_it000 1 
    1277     set_namelist namelist_cfg nn_itend 75 
    1278     set_namelist namelist_cfg ln_ctl .false. 
    1279     set_namelist namelist_cfg ln_clobber .true. 
    1280     set_namelist namelist_cfg ln_read_cfg .true. 
    1281     set_namelist namelist_cfg ln_linssh .false. 
    1282     set_namelist namelist_cfg nn_fwb 0 
    1283     set_namelist namelist_cfg jpni 2 
    1284     set_namelist namelist_cfg jpnj 8 
    1285     set_namelist namelist_cfg jpnij 16 
    1286     set_namelist 1_namelist_cfg nn_it000 1 
    1287     set_namelist 1_namelist_cfg nn_itend 150 
    1288     set_namelist 1_namelist_cfg nn_fsbc 1 
    1289     set_namelist 1_namelist_cfg ln_ctl .false. 
    1290     set_namelist 1_namelist_cfg nn_fsbc 1 
    1291     set_namelist 1_namelist_cfg ln_clobber .true. 
    1292     set_namelist 1_namelist_cfg ln_read_cfg .true. 
    1293     set_namelist 1_namelist_cfg ln_zdfiwm .false. 
    1294     set_namelist 1_namelist_cfg ln_hpg_sco .true. 
    1295     set_namelist 1_namelist_cfg ln_hpg_zps .false.  
    1296  
    1297     if [ ${USING_MPMD} == "yes" ] ; then 
    1298        set_xio_using_server iodef.xml true 
    1299     else 
    1300        set_xio_using_server iodef.xml false 
    1301     fi 
    1302     cd ${SETTE_DIR} 
    1303     . ./prepare_job.sh input_ORCA2_LIM3_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
    1304     cd ${SETTE_DIR} 
    1305     . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    1306 fi 
    1307  
    1308 # test code corruption with AGRIF 
    1309 if [ ${config} -eq 9 ] ;  then 
    1310  
    1311 # Compile with AGRIF but run with no zoom 
    1312     export TEST_NAME="AGRIFNOZ" 
    1313     cd ${CONFIG_DIR0} 
    1314     . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_NOZOOM_ST -r ORCA2_LIM3_PISCES -d "OPA_SRC LIM_SRC_3 NST_SRC" -j 8 add_key "key_agrif" del_key "key_top" 
    1315     cd ${SETTE_DIR} 
    1316     . ./param.cfg 
    1317     . ./all_functions.sh 
    1318     . ./prepare_exe_dir.sh 
    1319     JOB_FILE=${EXE_DIR}/run_job.sh 
    1320     NPROC=4 
    1321     if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
    1322     cd ${EXE_DIR} 
    1323     set_namelist namelist_cfg cn_exp \"AGRIFNOZ_SHORT\" 
    1324     set_namelist namelist_cfg nn_it000 1 
    1325     set_namelist namelist_cfg nn_itend 75 
    1326     set_namelist namelist_cfg ln_ctl .false. 
    1327     set_namelist namelist_cfg ln_clobber .true. 
    1328     set_namelist namelist_cfg ln_read_cfg .true. 
    1329     set_namelist namelist_cfg ln_linssh .false. 
    1330     set_namelist namelist_cfg ln_hpg_sco .true. 
    1331     set_namelist namelist_cfg ln_hpg_zps .false.  
    1332     set_namelist namelist_cfg nn_fwb 0 
    1333     set_namelist namelist_cfg jpni 2 
    1334     set_namelist namelist_cfg jpnj 2 
    1335     set_namelist namelist_cfg jpnij 4 
    1336     set_namelist namelist_cfg ln_icebergs .false.    
    1337 #  
    1338 #   Set the number of fine grids to zero:     
    1339     sed -i "1s/.*/0/" ${EXE_DIR}/AGRIF_FixedGrids.in 
    1340  
    1341     if [ ${USING_MPMD} == "yes" ] ; then 
    1342        set_xio_using_server iodef.xml true 
    1343     else 
    1344        set_xio_using_server iodef.xml false 
    1345     fi 
    1346     cd ${SETTE_DIR} 
    1347     . ./prepare_job.sh input_ORCA2_LIM3_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
    1348     cd ${SETTE_DIR} 
    1349     . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    1350  
    1351 fi 
    1352  
    1353 if [ ${config} -eq 10 ] ;  then 
    1354 # Compile with same option as 9 = ORCA2AGUL_NOZOOM, except ne key_agrif to check AGRIF does not hurt... 
    1355     export TEST_NAME="AGRIFNO" 
    1356     cd ${CONFIG_DIR0} 
    1357     . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_NOAGR_ST -r ORCA2_LIM3_PISCES -d "OPA_SRC LIM_SRC_3 NST_SRC" -j 8 del_key "key_top" 
    1358     cd ${SETTE_DIR} 
    1359     . ./param.cfg 
    1360     . ./all_functions.sh 
    1361     . ./prepare_exe_dir.sh 
    1362     JOB_FILE=${EXE_DIR}/run_job.sh 
    1363     NPROC=4 
    1364     if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
    1365     cd ${EXE_DIR} 
    1366     set_namelist namelist_cfg cn_exp \"AGRIFNO_SHORT\" 
    1367     set_namelist namelist_cfg nn_it000 1 
    1368     set_namelist namelist_cfg nn_itend 75 
    1369     set_namelist namelist_cfg ln_ctl .false. 
    1370     set_namelist namelist_cfg ln_clobber .true. 
    1371     set_namelist namelist_cfg ln_read_cfg .true. 
    1372     set_namelist namelist_cfg ln_linssh .false. 
    1373     set_namelist namelist_cfg ln_hpg_sco .true. 
    1374     set_namelist namelist_cfg ln_hpg_zps .false.  
    1375     set_namelist namelist_cfg nn_fwb 0 
    1376     set_namelist namelist_cfg jpni 2 
    1377     set_namelist namelist_cfg jpnj 2 
    1378     set_namelist namelist_cfg jpnij 4 
    1379     set_namelist namelist_cfg ln_icebergs .false.        
    1380 # 
    1381     if [ ${USING_MPMD} == "yes" ] ; then 
    1382        set_xio_using_server iodef.xml true 
    1383     else 
    1384        set_xio_using_server iodef.xml false 
    1385     fi 
    1386     cd ${SETTE_DIR} 
    1387     . ./prepare_job.sh input_ORCA2_LIM3_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
    1388     cd ${SETTE_DIR} 
    1389     . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    1390  
    1391 fi 
    1392948 
    1393949# ------------ 
    1394950# AGRIF NORDIC 
    1395951# ----------- 
    1396 if [ ${config} -eq 11 ] ;  then 
    1397 ## Restartability tests AGRIF 
     952if [ ${config} -eq 7 ] ;  then 
     953## Restartability tests 
    1398954    export TEST_NAME="LONG" 
    1399955    cd ${CONFIG_DIR0} 
     
    14771033    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    14781034 
    1479 ## Reproducibility tests AGRIF 
     1035## Reproducibility tests 
    14801036    export TEST_NAME="REPRO_4_8" 
    14811037    cd ${CONFIG_DIR0} 
     
    15801136 
    15811137## test code corruption with AGRIF (phase 2) ==> Compile without key_agrif (to be compared with AGRIF_ST/ORCA2) 
    1582 if [ ${config} -eq 12 ] ;  then 
     1138if [ ${config} -eq 8 ] ;  then 
    15831139    export TEST_NAME="ORCA2" 
    15841140    cd ${CONFIG_DIR0} 
  • branches/2017/dev_merge_2017/NEMOGCM/SETTE/sette_rpt.sh

    r9223 r9518  
    327327    dorv2=`echo $dorv2 | sed -e 's:.*/::'` 
    328328 
    329     rep1=`ls -1rt $vdir/$dir1/$mach/$dorv1/ |  tail -2l | head -1 ` 
     329#    rep1=`ls -1rt $vdir/$dir1/$mach/$dorv1/ |  tail -2l | head -1 ` 
     330    rep1=`ls -1rt $vdir/$dir1/$mach/$dorv1/ |  tail -1l` 
    330331    rep2=`ls -1rt $vdir/$dir2/$mach/$dorv2/ |  tail -1l` 
    331332    f1s=$vdir/$dir1/$mach/$dorv1/$rep1/run.stat 
     
    346347        fi 
    347348      else 
    348         printf "%-20s %s %s %s %s\n" $rep1 $rep2  " for AGRIF, run.stat test FAILED : " $dorv1 $dorv2 
     349        printf "%-20s %s %s %s %s\n" $rep1 $rep2  " AGRIF: run.stat changed - test FAILED : " $dorv1 $dorv2 
    349350# 
    350351# Offer view of differences on the second pass 
     
    401402do 
    402403# 
    403  if [ $pass == 1 ]; then echo "---------------2nd pass------------------";fi 
     404 if [ $pass == 0 ]; then echo "!!---------------1st pass------------------!!";fi 
     405 if [ $pass == 1 ]; then echo "!!---------------2nd pass------------------!!";fi 
    404406# 
    405407 
    406408# Rebuild and restartability test for SAS 
    407 # 
    408  for restart_file in WSAS_ST 
    409  do 
    410    restfile $NEMO_VALID $restart_file $pass 
    411  done 
     409# clem: not needed anymore 
     410# for restart_file in WSAS_ST 
     411# do 
     412#   restfile $NEMO_VALID $restart_file $pass 
     413# done 
    412414# 
    413415# Restartability test 
    414 # 
    415  for restart_test in WGYREPIS_ST WORCA2LIM3PIS_ST WORCA2OFFPIS_ST WAMM12_ST WISOMIP_ST WORCA2AGR_ST 
     416 echo "   !----restart----!   " 
     417 for restart_test in WGYREPIS_ST WORCA2LIM3PIS_ST WORCA2OFFPIS_ST WAMM12_ST WSAS_ST WAGRIF_ST WISOMIP_ST WOVERFLOW_ST WLOCK_EXCHANGE_ST WVORTEX_ST WWAD_ST WSAS_BIPER_ST  
    416418 do 
    417419   resttest $NEMO_VALID $restart_test $pass 
     
    419421# 
    420422# Reproducibility tests 
    421 # 
    422  for repro_test in WGYREPIS_ST WORCA2LIM3PIS_ST WORCA2OFFPIS_ST WAMM12_ST WISOMIP_ST WORCA2_LIM3_OBS_ST WORCA2AGR_ST 
     423 echo "   !----repro----!   " 
     424 for repro_test in WGYREPIS_ST WORCA2LIM3PIS_ST WORCA2OFFPIS_ST WAMM12_ST WSAS_ST WORCA2_LIM3_OBS_ST WAGRIF_ST WISOMIP_ST 
    423425 do 
    424426   reprotest $NEMO_VALID $repro_test $pass 
     
    426428 done 
    427429 
    428  
    429  
    430 # AGRIF special check 
    431  dir1=WORCA2AGUL_NOZOOM_ST 
    432  dir2=WORCA2AGUL_NOAGR_ST 
     430# AGRIF special check to ensure results are unchanged with and without key_agrif 
     431 echo "   !----agrif check----!   " 
     432 dir1=WAGRIF_ST_NOAGRIF 
     433 dir2=WAGRIF_ST 
    433434 identictest $NEMO_VALID $dir1 $dir2 $pass  
    434  
    435435 
    436436done 
  • branches/2017/dev_merge_2017/NEMOGCM/SETTE/sette_test-cases.sh

    r9509 r9518  
    144144# WAD            : 4        
    145145# SAS_BIPER      : 5 
    146  
    147  
    148 for config in 5  
     146# ISOMIP         : 6 
     147 
     148 
     149for config in 1 2 3 4 5 6  
    149150do 
    150151 
    151 ####### 
    152 #### ALL tests tested with only 1 proc ==> no different domain decomposition! 
    153 ####### 
    154152# TESTS FOR OVERFLOW CONFIGURATION 
    155153if [ ${config} -eq 1 ] ;  then 
     
    157155    export TEST_NAME="LONG" 
    158156    cd ${CONFIG_DIR0} 
    159     . ./makenemo -m ${CMP_NAM} -a TEST_CASES -n OVERFLOW_TESTs -r OVERFLOW -j 8 del_key ${DEL_KEYS} 
     157    . ./makenemo -m ${CMP_NAM} -a TEST_CASES -n OVERFLOW_ST -r OVERFLOW -j 8 del_key ${DEL_KEYS} 
    160158    cd ${SETTE_DIR} 
    161159    . ./param.cfg 
     
    247245    export TEST_NAME="LONG" 
    248246    cd ${CONFIG_DIR0} 
    249     . ./makenemo -m ${CMP_NAM} -a TEST_CASES -n LOCK_EXCHANGE_TESTs -r OVERFLOW -j 8 del_key ${DEL_KEYS} 
     247    . ./makenemo -m ${CMP_NAM} -a TEST_CASES -n LOCK_EXCHANGE_ST -r OVERFLOW -j 8 del_key ${DEL_KEYS} 
    250248    cd ${SETTE_DIR} 
    251249    . ./param.cfg 
     
    336334    export TEST_NAME="LONG" 
    337335    cd ${CONFIG_DIR0} 
    338     . ./makenemo -m ${CMP_NAM} -a TEST_CASES -n VORTEX_TESTs -r VORTEX -j 8 del_key ${DEL_KEYS} 
     336    . ./makenemo -m ${CMP_NAM} -a TEST_CASES -n VORTEX_ST -r VORTEX -j 8 del_key ${DEL_KEYS} 
    339337    cd ${SETTE_DIR} 
    340338    . ./param.cfg 
     
    552550fi 
    553551 
     552# ------ 
     553# ISOMIP 
     554# ------ 
     555if [ ${config} -eq 6 ] ;  then 
     556## Restartability tests 
     557    export TEST_NAME="LONG" 
     558    cd ${CONFIG_DIR0} 
     559    . ./makenemo -m ${CMP_NAM} -n ISOMIP_ST -r ISOMIP -a TEST_CASES -j 8 del_key ${DEL_KEYS} 
     560    cd ${SETTE_DIR} 
     561    . ./param.cfg 
     562    . ./all_functions.sh 
     563    . ./prepare_exe_dir.sh 
     564    JOB_FILE=${EXE_DIR}/run_job.sh 
     565    NPROC=15 
     566    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
     567    cd ${EXE_DIR} 
     568    set_namelist namelist_cfg cn_exp \"ISOMIP_LONG\" 
     569    set_namelist namelist_cfg nn_it000 1 
     570    set_namelist namelist_cfg nn_itend 96 
     571    set_namelist namelist_cfg nn_stock 48 
     572    set_namelist namelist_cfg jpni 5 
     573    set_namelist namelist_cfg jpnj 3 
     574    set_namelist namelist_cfg jpnij 15 
     575    if [ ${USING_MPMD} == "yes" ] ; then 
     576       set_xio_using_server iodef.xml true 
     577    else 
     578       set_xio_using_server iodef.xml false 
     579    fi 
     580    cd ${SETTE_DIR} 
     581    . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
     582 
     583    cd ${SETTE_DIR} 
     584    export TEST_NAME="SHORT" 
     585    . ./prepare_exe_dir.sh 
     586    cd ${EXE_DIR} 
     587    set_namelist namelist_cfg cn_exp \"ISOMIP_SHORT\" 
     588    set_namelist namelist_cfg nn_it000 49 
     589    set_namelist namelist_cfg nn_itend 96 
     590    set_namelist namelist_cfg nn_stock 48 
     591    set_namelist namelist_cfg ln_rstart .true. 
     592    set_namelist namelist_cfg nn_rstctl 2 
     593    set_namelist namelist_cfg jpni 5 
     594    set_namelist namelist_cfg jpnj 3 
     595    set_namelist namelist_cfg jpnij 15 
     596    set_namelist namelist_cfg cn_ocerst_in \"ISOMIP_LONG_00000048_restart\" 
     597    if [ ${USING_MPMD} == "yes" ] ; then 
     598       set_xio_using_server iodef.xml true 
     599    else 
     600       set_xio_using_server iodef.xml false 
     601    fi 
     602    for (( i=1; i<=$NPROC; i++)) ; do 
     603        L_NPROC=$(( $i - 1 )) 
     604        L_NPROC=`printf "%04d\n" ${L_NPROC}` 
     605        ln -sf ../LONG/ISOMIP_LONG_00000048_restart_${L_NPROC}.nc . 
     606    done 
     607    if [ ${USING_MPMD} == "yes" ] ; then 
     608       set_xio_using_server iodef.xml true 
     609    else 
     610       set_xio_using_server iodef.xml false 
     611    fi 
     612    cd ${SETTE_DIR} 
     613    . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
     614    cd ${SETTE_DIR} 
     615    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
     616 
     617## Reproducibility tests 
     618    export TEST_NAME="REPRO_7_3" 
     619    cd ${CONFIG_DIR0} 
     620    cd ${SETTE_DIR} 
     621    . ./param.cfg 
     622    . ./all_functions.sh 
     623    . ./prepare_exe_dir.sh 
     624    JOB_FILE=${EXE_DIR}/run_job.sh 
     625    NPROC=21 
     626    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
     627    cd ${EXE_DIR} 
     628    set_namelist namelist_cfg cn_exp \"ISOMIP_73\" 
     629    set_namelist namelist_cfg nn_it000 1 
     630    set_namelist namelist_cfg nn_itend 48 
     631    set_namelist namelist_cfg jpni 7 
     632    set_namelist namelist_cfg jpnj 3 
     633    set_namelist namelist_cfg jpnij 21 
     634    if [ ${USING_MPMD} == "yes" ] ; then 
     635       set_xio_using_server iodef.xml true 
     636    else 
     637       set_xio_using_server iodef.xml false 
     638    fi 
     639    cd ${SETTE_DIR} 
     640    . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
     641    cd ${SETTE_DIR} 
     642    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
     643 
     644    cd ${SETTE_DIR} 
     645    export TEST_NAME="REPRO_8_4" 
     646    . ./prepare_exe_dir.sh 
     647    JOB_FILE=${EXE_DIR}/run_job.sh 
     648    NPROC=32 
     649    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
     650    cd ${EXE_DIR} 
     651    set_namelist namelist_cfg cn_exp \"ISOMIP_84\" 
     652    set_namelist namelist_cfg nn_it000 1 
     653    set_namelist namelist_cfg nn_itend 48 
     654    set_namelist namelist_cfg jpni 8 
     655    set_namelist namelist_cfg jpnj 4 
     656    set_namelist namelist_cfg jpnij 32 
     657    if [ ${USING_MPMD} == "yes" ] ; then 
     658       set_xio_using_server iodef.xml true 
     659    else 
     660       set_xio_using_server iodef.xml false 
     661    fi 
     662    cd ${SETTE_DIR} 
     663    . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
     664    cd ${SETTE_DIR} 
     665    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
     666 
     667fi 
     668 
    554669#---- 
    555670done 
Note: See TracChangeset for help on using the changeset viewer.