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 9568 for branches/UKMO/dev_merge_2017_restart_datestamp_GO6_mixing/NEMOGCM/SETTE/sette_test-cases.sh – NEMO

Ignore:
Timestamp:
2018-05-10T16:27:38+02:00 (6 years ago)
Author:
davestorkey
Message:

Update branch to be relative to rev 9565 of dev_merge_2017.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_merge_2017_restart_datestamp_GO6_mixing/NEMOGCM/SETTE/sette_test-cases.sh

    r9458 r9568  
    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 ####### 
    154 # TESTS FOR OVERFLOW CONFIGURATION 
     152# --------- 
     153#  OVERFLOW 
     154# --------- 
    155155if [ ${config} -eq 1 ] ;  then 
    156156    ## Restartability tests for OVERFLOW 
    157157    export TEST_NAME="LONG" 
    158158    cd ${CONFIG_DIR0} 
    159     . ./makenemo -m ${CMP_NAM} -a TEST_CASES -n OVERFLOW_TESTs -r OVERFLOW -j 8 del_key ${DEL_KEYS} 
     159    . ./makenemo -m ${CMP_NAM} -a TEST_CASES -n OVERFLOW_ST -r OVERFLOW -j 8 del_key ${DEL_KEYS} 
    160160    cd ${SETTE_DIR} 
    161161    . ./param.cfg 
     
    170170    set_namelist namelist_cfg nn_itend 120 
    171171    set_namelist namelist_cfg nn_stock 60 
    172     set_namelist namelist_cfg ln_clobber .true. 
    173172    if [ ${USING_MPMD} == "yes" ] ; then 
    174173       set_xio_using_server iodef.xml true 
     
    189188    set_namelist namelist_cfg ln_rstart .true. 
    190189    set_namelist namelist_cfg nn_rstctl 2 
    191     set_namelist namelist_cfg ln_clobber .true. 
    192     set_namelist namelist_top_cfg ln_rsttr .true. 
    193     set_namelist namelist_top_cfg nn_rsttr 2 
    194190    set_namelist namelist_cfg cn_ocerst_in \"OVF_LONG_00000060_restart\" 
    195191    if [ ${USING_MPMD} == "yes" ] ; then 
     
    228224        if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
    229225        cd ${EXE_DIR} 
    230         set_namelist namelist_cfg ln_clobber .true. 
    231226        if [ ${USING_MPMD} == "yes" ] ; then 
    232227           set_xio_using_server iodef.xml true 
     
    242237fi 
    243238 
    244 # TESTS FOR LOCK_EXCHANGE CONFIGURATION 
     239# -------------- 
     240#  LOCK_EXCHANGE 
     241# -------------- 
    245242if [ ${config} -eq 2 ] ;  then 
    246243    ## Restartability tests for LOCK_EXCHANGE 
    247244    export TEST_NAME="LONG" 
    248245    cd ${CONFIG_DIR0} 
    249     . ./makenemo -m ${CMP_NAM} -a TEST_CASES -n LOCK_EXCHANGE_TESTs -r OVERFLOW -j 8 del_key ${DEL_KEYS} 
     246    . ./makenemo -m ${CMP_NAM} -a TEST_CASES -n LOCK_EXCHANGE_ST -r OVERFLOW -j 8 del_key ${DEL_KEYS} 
    250247    cd ${SETTE_DIR} 
    251248    . ./param.cfg 
     
    260257    set_namelist namelist_cfg nn_stock 60 
    261258    set_namelist namelist_cfg nn_itend 120 
    262     set_namelist namelist_cfg ln_clobber .true. 
    263259    if [ ${USING_MPMD} == "yes" ] ; then 
    264260       set_xio_using_server iodef.xml true 
     
    279275    set_namelist namelist_cfg ln_rstart .true. 
    280276    set_namelist namelist_cfg nn_rstctl 2 
    281     set_namelist namelist_cfg ln_clobber .true. 
    282     set_namelist namelist_top_cfg ln_rsttr .true. 
    283     set_namelist namelist_top_cfg nn_rsttr 2 
    284277    set_namelist namelist_cfg cn_ocerst_in \"LOCK_LONG_00000060_restart\" 
    285278    if [ ${USING_MPMD} == "yes" ] ; then 
     
    317310        if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
    318311        cd ${EXE_DIR} 
    319         set_namelist namelist_cfg ln_clobber .true. 
    320312        if [ ${USING_MPMD} == "yes" ] ; then 
    321313           set_xio_using_server iodef.xml true 
     
    331323fi 
    332324 
    333 # TESTS FOR VORTEX CONFIGURATION 
     325# --------- 
     326# VORTEX 
     327# --------- 
    334328if [ ${config} -eq 3 ] ;  then 
    335329    ## Restartability tests for VORTEX 
    336330    export TEST_NAME="LONG" 
    337331    cd ${CONFIG_DIR0} 
    338     . ./makenemo -m ${CMP_NAM} -a TEST_CASES -n VORTEX_TESTs -r VORTEX -j 8 del_key ${DEL_KEYS} 
     332    . ./makenemo -m ${CMP_NAM} -a TEST_CASES -n VORTEX_ST -r VORTEX -j 8 del_key ${DEL_KEYS} 
    339333    cd ${SETTE_DIR} 
    340334    . ./param.cfg 
     
    349343    set_namelist namelist_cfg nn_stock 60 
    350344    set_namelist namelist_cfg nn_itend 120 
    351     set_namelist namelist_cfg ln_clobber .true. 
    352345    if [ ${USING_MPMD} == "yes" ] ; then 
    353346       set_xio_using_server iodef.xml true 
     
    368361    set_namelist namelist_cfg ln_rstart .true. 
    369362    set_namelist namelist_cfg nn_rstctl 2 
    370     set_namelist namelist_cfg ln_clobber .true. 
    371     set_namelist namelist_top_cfg ln_rsttr .true. 
    372     set_namelist namelist_top_cfg nn_rsttr 2 
    373363    set_namelist namelist_cfg cn_ocerst_in \"VORTEX_LONG_00000060_restart\" 
    374364    if [ ${USING_MPMD} == "yes" ] ; then 
     
    407397        if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
    408398        cd ${EXE_DIR} 
    409         set_namelist namelist_cfg ln_clobber .true. 
    410399        if [ ${USING_MPMD} == "yes" ] ; then 
    411400           set_xio_using_server iodef.xml true 
     
    422411 
    423412 
    424 #--clem: 
    425 # TESTS FOR SAS_BIPER CONFIGURATION 
     413# --------- 
     414# SAS_BIPER 
     415# --------- 
    426416if [ ${config} -eq 5 ] ;  then  
    427     ## Restartability tests for SAS_BIPER 
     417## Restartability tests for SAS_BIPER 
    428418    export TEST_NAME="LONG" 
    429419    cd ${CONFIG_DIR0} 
     
    441431    set_namelist namelist_cfg nn_itend 200 
    442432    set_namelist namelist_cfg nn_stock 100 
    443     set_namelist namelist_cfg ln_clobber .true. 
    444 #    set_namelist namelist_cfg nn_fsbc 1        
    445     set_namelist namelist_cfg jpni 1 
    446     set_namelist namelist_cfg jpnj 1 
    447     set_namelist namelist_cfg jpnij 1 
    448      
    449     set_namelist namelist_ice_cfg ln_icethd .true. 
     433     
     434    #set_namelist namelist_ice_cfg ln_icethd .true. 
    450435    set_namelist namelist_ice_cfg ln_icedyn .true. 
    451436    set_namelist namelist_ice_cfg ln_dynFULL .true. 
    452437    set_namelist namelist_ice_cfg ln_dynRHGADV .false. 
    453438    set_namelist namelist_ice_cfg ln_dynADV .false. 
    454     set_namelist namelist_ice_cfg ln_adv_Pra .false. 
    455     set_namelist namelist_ice_cfg ln_adv_UMx .true. 
    456     set_namelist namelist_ice_cfg ln_icediachk .true. 
    457439     
    458440    set_namelist 1_namelist_cfg cn_exp \"SAS_BIPER_LONG\" 
     
    460442    set_namelist 1_namelist_cfg nn_itend 600 
    461443    set_namelist 1_namelist_cfg nn_stock 300 
    462     set_namelist 1_namelist_cfg ln_clobber .true. 
    463     set_namelist 1_namelist_cfg jpni 1 
    464     set_namelist 1_namelist_cfg jpnj 1 
    465     set_namelist 1_namelist_cfg jpnij 1 
    466      
    467     set_namelist 1_namelist_ice_cfg ln_icethd .true. 
     444     
     445    #set_namelist 1_namelist_ice_cfg ln_icethd .true. 
    468446    set_namelist 1_namelist_ice_cfg ln_icedyn .true. 
    469447    set_namelist 1_namelist_ice_cfg ln_dynFULL .true. 
    470448    set_namelist 1_namelist_ice_cfg ln_dynRHGADV .false. 
    471449    set_namelist 1_namelist_ice_cfg ln_dynADV .false. 
    472     set_namelist 1_namelist_ice_cfg ln_adv_Pra .false. 
    473     set_namelist 1_namelist_ice_cfg ln_adv_UMx .true. 
    474 #    set_namelist 1_namelist_ice_cfg ln_icediachk .true. 
    475450    if [ ${USING_MPMD} == "yes" ] ; then 
    476451        set_xio_using_server iodef.xml true 
     
    491466    set_namelist namelist_cfg ln_rstart .true. 
    492467    set_namelist namelist_cfg nn_rstctl 2 
    493     set_namelist namelist_cfg ln_clobber .true. 
    494     set_namelist namelist_cfg jpni 1 
    495     set_namelist namelist_cfg jpnj 1 
    496     set_namelist namelist_cfg jpnij 1 
    497      
    498     set_namelist namelist_ice_cfg ln_icethd .true. 
     468     
     469    #set_namelist namelist_ice_cfg ln_icethd .true. 
    499470    set_namelist namelist_ice_cfg ln_icedyn .true. 
    500471    set_namelist namelist_ice_cfg ln_dynFULL .true. 
    501472    set_namelist namelist_ice_cfg ln_dynRHGADV .false. 
    502473    set_namelist namelist_ice_cfg ln_dynADV .false. 
    503     set_namelist namelist_ice_cfg ln_adv_Pra .false. 
    504     set_namelist namelist_ice_cfg ln_adv_UMx .true. 
    505     set_namelist namelist_ice_cfg ln_icediachk .true. 
    506474    set_namelist namelist_cfg cn_ocerst_in \"SAS_BIPER_LONG_00000100_restart\" 
    507475    set_namelist namelist_ice_cfg cn_icerst_in \"SAS_BIPER_LONG_00000100_restart_ice\" 
     
    513481    set_namelist 1_namelist_cfg ln_rstart .true. 
    514482    set_namelist 1_namelist_cfg nn_rstctl 2 
    515     set_namelist 1_namelist_cfg ln_clobber .true. 
    516     set_namelist 1_namelist_cfg jpni 1 
    517     set_namelist 1_namelist_cfg jpnj 1 
    518     set_namelist 1_namelist_cfg jpnij 1 
    519      
    520     set_namelist 1_namelist_ice_cfg ln_icethd .true. 
     483     
     484    #set_namelist 1_namelist_ice_cfg ln_icethd .true. 
    521485    set_namelist 1_namelist_ice_cfg ln_icedyn .true. 
    522486    set_namelist 1_namelist_ice_cfg ln_dynFULL .true. 
    523487    set_namelist 1_namelist_ice_cfg ln_dynRHGADV .false. 
    524488    set_namelist 1_namelist_ice_cfg ln_dynADV .false. 
    525     set_namelist 1_namelist_ice_cfg ln_adv_Pra .false. 
    526     set_namelist 1_namelist_ice_cfg ln_adv_UMx .true. 
    527 #    set_namelist 1_namelist_ice_cfg ln_icediachk .true. 
    528489    set_namelist 1_namelist_cfg cn_ocerst_in \"SAS_BIPER_LONG_00000300_restart\" 
    529490    set_namelist 1_namelist_ice_cfg cn_icerst_in \"SAS_BIPER_LONG_00000300_restart_ice\" 
     
    582543fi 
    583544 
     545# ------ 
     546# ISOMIP 
     547# ------ 
     548if [ ${config} -eq 6 ] ;  then 
     549## Restartability tests 
     550    export TEST_NAME="LONG" 
     551    cd ${CONFIG_DIR0} 
     552    . ./makenemo -m ${CMP_NAM} -n ISOMIP_ST -r ISOMIP -a TEST_CASES -j 8 del_key ${DEL_KEYS} 
     553    cd ${SETTE_DIR} 
     554    . ./param.cfg 
     555    . ./all_functions.sh 
     556    . ./prepare_exe_dir.sh 
     557    JOB_FILE=${EXE_DIR}/run_job.sh 
     558    NPROC=15 
     559    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
     560    cd ${EXE_DIR} 
     561    set_namelist namelist_cfg cn_exp \"ISOMIP_LONG\" 
     562    set_namelist namelist_cfg nn_it000 1 
     563    set_namelist namelist_cfg nn_itend 96 
     564    set_namelist namelist_cfg nn_stock 48 
     565    set_namelist namelist_cfg jpni 5 
     566    set_namelist namelist_cfg jpnj 3 
     567    set_namelist namelist_cfg jpnij 15 
     568    if [ ${USING_MPMD} == "yes" ] ; then 
     569       set_xio_using_server iodef.xml true 
     570    else 
     571       set_xio_using_server iodef.xml false 
     572    fi 
     573    cd ${SETTE_DIR} 
     574    . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
     575 
     576    cd ${SETTE_DIR} 
     577    export TEST_NAME="SHORT" 
     578    . ./prepare_exe_dir.sh 
     579    cd ${EXE_DIR} 
     580    set_namelist namelist_cfg cn_exp \"ISOMIP_SHORT\" 
     581    set_namelist namelist_cfg nn_it000 49 
     582    set_namelist namelist_cfg nn_itend 96 
     583    set_namelist namelist_cfg nn_stock 48 
     584    set_namelist namelist_cfg ln_rstart .true. 
     585    set_namelist namelist_cfg nn_rstctl 2 
     586    set_namelist namelist_cfg jpni 5 
     587    set_namelist namelist_cfg jpnj 3 
     588    set_namelist namelist_cfg jpnij 15 
     589    set_namelist namelist_cfg cn_ocerst_in \"ISOMIP_LONG_00000048_restart\" 
     590    if [ ${USING_MPMD} == "yes" ] ; then 
     591       set_xio_using_server iodef.xml true 
     592    else 
     593       set_xio_using_server iodef.xml false 
     594    fi 
     595    for (( i=1; i<=$NPROC; i++)) ; do 
     596        L_NPROC=$(( $i - 1 )) 
     597        L_NPROC=`printf "%04d\n" ${L_NPROC}` 
     598        ln -sf ../LONG/ISOMIP_LONG_00000048_restart_${L_NPROC}.nc . 
     599    done 
     600    if [ ${USING_MPMD} == "yes" ] ; then 
     601       set_xio_using_server iodef.xml true 
     602    else 
     603       set_xio_using_server iodef.xml false 
     604    fi 
     605    cd ${SETTE_DIR} 
     606    . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
     607    cd ${SETTE_DIR} 
     608    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
     609 
     610## Reproducibility tests 
     611    export TEST_NAME="REPRO_7_3" 
     612    cd ${CONFIG_DIR0} 
     613    cd ${SETTE_DIR} 
     614    . ./param.cfg 
     615    . ./all_functions.sh 
     616    . ./prepare_exe_dir.sh 
     617    JOB_FILE=${EXE_DIR}/run_job.sh 
     618    NPROC=21 
     619    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
     620    cd ${EXE_DIR} 
     621    set_namelist namelist_cfg cn_exp \"ISOMIP_73\" 
     622    set_namelist namelist_cfg nn_it000 1 
     623    set_namelist namelist_cfg nn_itend 48 
     624    set_namelist namelist_cfg jpni 7 
     625    set_namelist namelist_cfg jpnj 3 
     626    set_namelist namelist_cfg jpnij 21 
     627    if [ ${USING_MPMD} == "yes" ] ; then 
     628       set_xio_using_server iodef.xml true 
     629    else 
     630       set_xio_using_server iodef.xml false 
     631    fi 
     632    cd ${SETTE_DIR} 
     633    . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
     634    cd ${SETTE_DIR} 
     635    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
     636 
     637    cd ${SETTE_DIR} 
     638    export TEST_NAME="REPRO_8_4" 
     639    . ./prepare_exe_dir.sh 
     640    JOB_FILE=${EXE_DIR}/run_job.sh 
     641    NPROC=32 
     642    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
     643    cd ${EXE_DIR} 
     644    set_namelist namelist_cfg cn_exp \"ISOMIP_84\" 
     645    set_namelist namelist_cfg nn_it000 1 
     646    set_namelist namelist_cfg nn_itend 48 
     647    set_namelist namelist_cfg jpni 8 
     648    set_namelist namelist_cfg jpnj 4 
     649    set_namelist namelist_cfg jpnij 32 
     650    if [ ${USING_MPMD} == "yes" ] ; then 
     651       set_xio_using_server iodef.xml true 
     652    else 
     653       set_xio_using_server iodef.xml false 
     654    fi 
     655    cd ${SETTE_DIR} 
     656    . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
     657    cd ${SETTE_DIR} 
     658    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
     659 
     660fi 
     661 
    584662#---- 
    585663done 
Note: See TracChangeset for help on using the changeset viewer.