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 7715 for trunk/NEMOGCM/SETTE/sette.sh – NEMO

Ignore:
Timestamp:
2017-02-22T15:20:01+01:00 (7 years ago)
Author:
flavoni
Message:

#1850 commit new list of REFERENCE CONFIGURATIONS, and SETTE tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/SETTE/sette.sh

    r7698 r7715  
    9595   COMPILER=ifort_athena_xios_omp 
    9696 else 
    97    COMPILER=ifort_athena_xios 
     97   COMPILER=X64_ADA 
    9898 fi 
    9999export BATCH_COMMAND_PAR="llsubmit" 
     
    139139SETTE_DIR=$(cd $(dirname "$0"); pwd) 
    140140MAIN_DIR=$(dirname $SETTE_DIR) 
    141 CONFIG_DIR=${MAIN_DIR}/CONFIG 
     141CONFIG_DIR0=${MAIN_DIR}/CONFIG 
    142142TOOLS_DIR=${MAIN_DIR}/TOOLS 
    143143COMPIL_DIR=${TOOLS_DIR}/COMPILE 
     
    148148cp BATCH_TEMPLATE/${JOB_PREFIX}-${COMPILER} job_batch_template || exit 
    149149# Description of configuration tested: 
    150 # GYRE              :  1 &  2 
    151 # ORCA2_LIM3        :  3 &  4 
    152 # ORCA2_LIM3_PISCES :  5 &  6 
    153 # ORCA2_OFF_PISCES  :  7 &  8 
    154 # AMM12             :  9 & 10  
    155 # SAS               : 11     fos SAS there is no solver so is useless to test REPRO 
    156 # ISOMIP            : 12 & 13 
    157 # ORCA2_LIM3_OBS    : 14 
    158 # ORCA2_AGRIF_LIM   : 15 & 16  
    159 #                     17 & 18  
    160  
    161 for config in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 
     150# GYRE_PISCES       :  1 &  2 
     151# ORCA2_LIM3_PISCES :  3 &  4 
     152# ORCA2_OFF_PISCES  :  5 &  6 
     153# AMM12             :  7 &  8  
     154# SAS               :  9     fos SAS there is no solver so is useless to test REPRO 
     155# ISOMIP            : 10 & 11 
     156# ORCA2_LIM3_OBS    : 12 
     157# ORCA2_AGRIF_LIM3  : 13 & 14  
     158#                     15 & 16  
     159 
     160for config in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 
    162161 
    163162do 
    164163 
    165 # TESTS FOR GYRE CONFIGURATION 
     164# TESTS FOR GYRE_PISCES CONFIGURATION 
    166165if [ ${config} -eq 1 ] ;  then 
    167     ## Restartability tests for GYRE 
     166    ## Restartability tests for GYRE_PISCES 
    168167    export TEST_NAME="LONG" 
    169     cd ${CONFIG_DIR} 
    170     . ./makenemo -m ${CMP_NAM} -n GYRE_LONG -r GYRE -j 8 del_key ${DEL_KEYS} 
     168    cd ${CONFIG_DIR0} 
     169    . ./makenemo -m ${CMP_NAM} -n GYREPIS_LONG -r GYRE_PISCES -j 8 del_key ${DEL_KEYS} 
    171170    cd ${SETTE_DIR} 
    172171    . ./param.cfg 
     
    177176    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
    178177    cd ${EXE_DIR}   
    179     set_namelist namelist_cfg cn_exp \"GYRE_LONG\" 
     178    set_namelist namelist_cfg cn_exp \"GYREPIS_LONG\" 
    180179    set_namelist namelist_cfg nn_it000 1 
    181180    set_namelist namelist_cfg nn_itend 120 
     
    200199    . ./prepare_exe_dir.sh 
    201200    cd ${EXE_DIR} 
    202     set_namelist namelist_cfg cn_exp \"GYRE_SHORT\" 
     201    set_namelist namelist_cfg cn_exp \"GYREPIS_SHORT\" 
    203202    set_namelist namelist_cfg nn_it000 61 
    204203    set_namelist namelist_cfg nn_itend 120 
     
    213212    set_namelist namelist_cfg jpnj 8 
    214213    set_namelist namelist_cfg jpnij 32 
    215     set_namelist namelist_cfg cn_ocerst_in \"GYRE_LONG_00000060_restart\" 
     214    set_namelist namelist_cfg cn_ocerst_in \"GYREPIS_LONG_00000060_restart\" 
    216215    if [ ${USING_MPMD} == "yes" ] ; then 
    217216       set_xio_using_server iodef.xml true 
     
    222221        L_NPROC=$(( $i - 1 )) 
    223222        L_NPROC=`printf "%04d\n" ${L_NPROC}` 
    224         ln -sf ../LONG/GYRE_LONG_00000060_restart_${L_NPROC}.nc . 
     223        ln -sf ../LONG/GYREPIS_LONG_00000060_restart_${L_NPROC}.nc . 
    225224    done 
    226225    if [ ${USING_MPMD} == "yes" ] ; then 
     
    236235 
    237236if [ ${config} -eq 2 ] ;  then 
    238     ## Reproducibility tests for GYRE 
     237    ## Reproducibility tests for GYRE_PISCES 
    239238    export TEST_NAME="REPRO_4_8" 
    240     cd ${CONFIG_DIR} 
    241     . ./makenemo -m ${CMP_NAM} -n GYRE_32 -r GYRE -j 8 del_key ${DEL_KEYS} 
    242     cd ${SETTE_DIR} 
    243     . ./param.cfg 
    244     . ./all_functions.sh 
    245     . ./prepare_exe_dir.sh 
    246     JOB_FILE=${EXE_DIR}/run_job.sh 
    247     NPROC=32 
    248     if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
    249     cd ${EXE_DIR} 
    250     set_namelist namelist_cfg cn_exp \"GYRE_48\" 
     239    cd ${CONFIG_DIR0} 
     240    . ./makenemo -m ${CMP_NAM} -n GYREPIS_32 -r GYRE_PISCES -j 8 del_key ${DEL_KEYS} 
     241    cd ${SETTE_DIR} 
     242    . ./param.cfg 
     243    . ./all_functions.sh 
     244    . ./prepare_exe_dir.sh 
     245    JOB_FILE=${EXE_DIR}/run_job.sh 
     246    NPROC=32 
     247    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
     248    cd ${EXE_DIR} 
     249    set_namelist namelist_cfg cn_exp \"GYREPIS_48\" 
    251250    set_namelist namelist_cfg nn_it000 1 
    252251    set_namelist namelist_cfg nn_itend 60 
     
    276275    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
    277276    cd ${EXE_DIR} 
    278     set_namelist namelist_cfg cn_exp \"GYRE_84\" 
     277    set_namelist namelist_cfg cn_exp \"GYREPIS_84\" 
    279278    set_namelist namelist_cfg nn_it000 1 
    280279    set_namelist namelist_cfg nn_itend 60 
     
    299298fi 
    300299 
    301 # TESTS FOR ORCA2_LIM3 CONFIGURATION 
     300# TESTS FOR ORCA2_LIM3_PISCES CONFIGURATION 
    302301if [ ${config} -eq 3 ] ;  then 
    303     ## Restartability tests for ORCA2_LIM3 
    304     export TEST_NAME="LONG" 
    305     cd ${CONFIG_DIR} 
    306     . ./makenemo -m ${CMP_NAM} -n ORCA2LIM3_LONG -r ORCA2_LIM3 -j 8 del_key ${DEL_KEYS} 
    307     cd ${SETTE_DIR} 
    308     . ./param.cfg 
    309     . ./all_functions.sh 
    310     . ./prepare_exe_dir.sh 
    311     JOB_FILE=${EXE_DIR}/run_job.sh 
    312     NPROC=4 
    313     if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
    314     cd ${EXE_DIR} 
    315     set_namelist namelist_cfg cn_exp \"O2L3_LONG\" 
    316     set_namelist namelist_cfg nn_it000 1 
    317     set_namelist namelist_cfg nn_itend 150 
    318     set_namelist namelist_cfg nn_stock 75 
    319     set_namelist namelist_cfg ln_clobber .true. 
    320     set_namelist namelist_cfg ln_read_cfg .true. 
    321     set_namelist namelist_cfg ln_linssh .false. 
    322     set_namelist namelist_cfg ln_icebergs .true. 
    323     set_namelist namelist_cfg nn_fwb 0 
    324     set_namelist namelist_cfg jpni 2 
    325     set_namelist namelist_cfg jpnj 2 
    326     set_namelist namelist_cfg jpnij 4 
    327     if [ ${USING_MPMD} == "yes" ] ; then 
    328        set_xio_using_server iodef.xml true 
    329     else 
    330        set_xio_using_server iodef.xml false 
    331     fi 
    332     cd ${SETTE_DIR} 
    333     . ./prepare_job.sh input_ORCA2_LIM3.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} 
    334  
    335     cd ${SETTE_DIR} 
    336     export TEST_NAME="SHORT" 
    337     . ./prepare_exe_dir.sh 
    338     cd ${EXE_DIR} 
    339     set_namelist namelist_cfg cn_exp \"O2L3_SHORT\" 
    340     set_namelist namelist_cfg nn_it000 76 
    341     set_namelist namelist_cfg nn_itend 150 
    342     set_namelist namelist_cfg nn_stock 75 
    343     set_namelist namelist_cfg ln_rstart .true. 
    344     set_namelist namelist_cfg nn_rstctl 2 
    345     set_namelist namelist_cfg ln_clobber .true. 
    346     set_namelist namelist_cfg ln_read_cfg .true. 
    347     set_namelist namelist_cfg ln_linssh .false. 
    348     set_namelist namelist_cfg ln_icebergs .true. 
    349     set_namelist namelist_cfg nn_fwb 0 
    350     set_namelist namelist_cfg jpni 2 
    351     set_namelist namelist_cfg jpnj 2 
    352     set_namelist namelist_cfg jpnij 4 
    353     set_namelist namelist_cfg cn_ocerst_in \"O2L3_LONG_00000075_restart\" 
    354     set_namelist namelist_ice_cfg cn_icerst_in \"O2L3_LONG_00000075_restart_ice\" 
    355     for (( i=1; i<=$NPROC; i++)) ; do 
    356         L_NPROC=$(( $i - 1 )) 
    357         L_NPROC=`printf "%04d\n" ${L_NPROC}` 
    358         ln -sf ../LONG/O2L3_LONG_00000075_restart_${L_NPROC}.nc . 
    359         ln -sf ../LONG/O2L3_LONG_00000075_restart_ice_${L_NPROC}.nc . 
    360         ln -sf ../LONG/O2L3_LONG_icebergs_00000075_restart_${L_NPROC}.nc O2L3_LONG_00000075_restart_icebergs_${L_NPROC}.nc 
    361     done 
    362     if [ ${USING_MPMD} == "yes" ] ; then 
    363        set_xio_using_server iodef.xml true 
    364     else 
    365        set_xio_using_server iodef.xml false 
    366     fi 
    367     cd ${SETTE_DIR} 
    368     . ./prepare_job.sh input_ORCA2_LIM3.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} 
    369     cd ${SETTE_DIR} 
    370     . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    371 fi 
    372  
    373 if [ ${config} -eq 4 ] ;  then 
    374     ## Reproducibility tests for ORCA2_LIM3 
    375     export TEST_NAME="REPRO_8_4" 
    376     cd ${CONFIG_DIR} 
    377     . ./makenemo -m ${CMP_NAM} -n ORCA2LIM3_32 -r ORCA2_LIM3 -j 8 del_key ${DEL_KEYS} 
    378     cd ${SETTE_DIR} 
    379     . ./param.cfg 
    380     . ./all_functions.sh 
    381     . ./prepare_exe_dir.sh 
    382     JOB_FILE=${EXE_DIR}/run_job.sh 
    383     NPROC=32 
    384     if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
    385     cd ${EXE_DIR} 
    386     set_namelist namelist_cfg nn_it000 1 
    387     set_namelist namelist_cfg nn_itend 75 
    388     set_namelist namelist_cfg nn_fwb 0 
    389     set_namelist namelist_cfg ln_ctl .false. 
    390     set_namelist namelist_cfg ln_clobber .true. 
    391     set_namelist namelist_cfg ln_read_cfg .true. 
    392     set_namelist namelist_cfg ln_linssh .false. 
    393     set_namelist namelist_cfg ln_icebergs .true. 
    394     set_namelist namelist_cfg jpni 8 
    395     set_namelist namelist_cfg jpnj 4 
    396     set_namelist namelist_cfg jpnij 32 
    397     if [ ${USING_MPMD} == "yes" ] ; then 
    398        set_xio_using_server iodef.xml true 
    399     else 
    400        set_xio_using_server iodef.xml false 
    401     fi 
    402     cd ${SETTE_DIR} 
    403     . ./prepare_job.sh input_ORCA2_LIM3.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} 
    404     cd ${SETTE_DIR} 
    405     . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    406  
    407  
    408     cd ${SETTE_DIR} 
    409     export TEST_NAME="REPRO_4_8" 
    410     . ./prepare_exe_dir.sh 
    411     JOB_FILE=${EXE_DIR}/run_job.sh 
    412     NPROC=32 
    413     if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
    414     cd ${EXE_DIR} 
    415     set_namelist namelist_cfg nn_it000 1 
    416     set_namelist namelist_cfg nn_itend 75 
    417     set_namelist namelist_cfg ln_clobber .true. 
    418     set_namelist namelist_cfg ln_read_cfg .true. 
    419     set_namelist namelist_cfg ln_linssh .false. 
    420     set_namelist namelist_cfg ln_icebergs .true. 
    421     set_namelist namelist_cfg nn_fwb 0 
    422     set_namelist namelist_cfg jpni 4 
    423     set_namelist namelist_cfg jpnj 8 
    424     set_namelist namelist_cfg jpnij 32 
    425     if [ ${USING_MPMD} == "yes" ] ; then 
    426        set_xio_using_server iodef.xml true 
    427     else 
    428        set_xio_using_server iodef.xml false 
    429     fi 
    430  
    431     cd ${SETTE_DIR} 
    432     . ./prepare_job.sh input_ORCA2_LIM3.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} 
    433     cd ${SETTE_DIR} 
    434     . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    435 fi 
    436  
    437 # TESTS FOR ORCA2_LIM3_PISCES CONFIGURATION 
    438 if [ ${config} -eq 5 ] ;  then 
    439302    ## Restartability tests for ORCA2_LIM3_PISCES 
    440303    export TEST_NAME="LONG" 
    441     cd ${CONFIG_DIR} 
     304    cd ${CONFIG_DIR0} 
    442305    . ./makenemo -m ${CMP_NAM} -n ORCA2LIM3PIS_LONG -r ORCA2_LIM3_PISCES -j 8 del_key ${DEL_KEYS} 
    443306    cd ${SETTE_DIR} 
     
    493356    set_namelist namelist_cfg ln_read_cfg .true. 
    494357    set_namelist namelist_cfg ln_linssh .false. 
     358    set_namelist namelist_cfg ln_icebergs .true. 
    495359    set_namelist namelist_cfg nn_fwb 0 
    496360    set_namelist namelist_cfg jpni 4 
     
    521385        ln -sf ../LONG/O2L3P_LONG_00000075_restart_trc_${L_NPROC}.nc . 
    522386        ln -sf ../LONG/O2L3P_LONG_00000075_restart_ice_${L_NPROC}.nc . 
     387        ln -sf ../LONG/O2L3P_LONG_icebergs_00000075_restart_${L_NPROC}.nc O2L3P_LONG_00000075_restart_icebergs_${L_NPROC}.nc 
    523388    done 
    524389    if [ ${USING_MPMD} == "yes" ] ; then 
     
    533398fi 
    534399 
    535 if [ ${config} -eq 6 ] ;  then 
     400if [ ${config} -eq 4 ] ;  then 
    536401    ## Reproducibility tests for ORCA2_LIM3_PISCES 
    537402    export TEST_NAME="REPRO_4_8" 
    538     cd ${CONFIG_DIR} 
     403    cd ${CONFIG_DIR0} 
    539404    . ./makenemo -m ${CMP_NAM} -n ORCA2LIM3PIS_32 -r ORCA2_LIM3_PISCES -j 8 del_key ${DEL_KEYS} 
    540405    cd ${SETTE_DIR} 
     
    553418    set_namelist namelist_cfg ln_read_cfg .true. 
    554419    set_namelist namelist_cfg ln_linssh .false. 
     420    set_namelist namelist_cfg ln_icebergs .true. 
    555421    set_namelist namelist_cfg jpni 4 
    556422    set_namelist namelist_cfg jpnj 8 
     
    591457    set_namelist namelist_cfg ln_clobber .true. 
    592458    set_namelist namelist_cfg ln_read_cfg .true. 
    593     set_namelist namelist_cfg ln_linssh .false. 
     459    set_namelist namelist_cfg ln_linssh .false. 
     460    set_namelist namelist_cfg ln_icebergs .true. 
    594461    set_namelist namelist_cfg nn_fwb 0 
    595462    set_namelist namelist_cfg jpni 8 
     
    622489 
    623490# TESTS FOR ORCA2_OFF_PISCES CONFIGURATION 
    624 if [ ${config} -eq 7 ] ;  then 
     491if [ ${config} -eq 5 ] ;  then 
    625492    ## Restartability tests for ORCA2_OFF_PISCES 
    626493    export TEST_NAME="LONG" 
    627     cd ${CONFIG_DIR} 
     494    cd ${CONFIG_DIR0} 
    628495    . ./makenemo -m ${CMP_NAM} -n ORCA2OFFPIS_LONG -r ORCA2_OFF_PISCES -j 8 del_key ${DEL_KEYS} 
    629496    cd ${SETTE_DIR} 
     
    713580fi 
    714581 
    715 if [ ${config} -eq 8 ] ;  then 
     582if [ ${config} -eq 6 ] ;  then 
    716583    ## Reproducibility tests for ORCA2_OFF_PISCES 
    717584    export TEST_NAME="REPRO_4_8" 
    718     cd ${CONFIG_DIR} 
     585    cd ${CONFIG_DIR0} 
    719586    . ./makenemo -m ${CMP_NAM} -n ORCA2OFFPIS_32 -r ORCA2_OFF_PISCES -j 8 del_key ${DEL_KEYS} 
    720587    cd ${SETTE_DIR} 
     
    801668 
    802669# TESTS FOR AMM12 CONFIGURATION 
    803 if [ ${config} -eq 9 ] ;  then 
     670if [ ${config} -eq 7 ] ;  then 
    804671    ## Restartability tests for AMM12 
    805672    export TEST_NAME="LONG" 
    806     cd ${CONFIG_DIR} 
     673    cd ${CONFIG_DIR0} 
    807674    . ./makenemo -m ${CMP_NAM} -n AMM12_LONG -r AMM12 -j 8 add_key "key_tide" del_key ${DEL_KEYS} 
    808675    cd ${SETTE_DIR} 
     
    867734fi 
    868735 
    869 if [ ${config} -eq 10 ] ;  then 
     736if [ ${config} -eq 8 ] ;  then 
    870737## Reproducibility tests for AMM12 
    871738    export TEST_NAME="REPRO_8_4" 
    872     cd ${CONFIG_DIR} 
     739    cd ${CONFIG_DIR0} 
    873740    . ./makenemo -m ${CMP_NAM} -n AMM12_32 -r AMM12 -j 8 del_key ${DEL_KEYS} 
    874741    cd ${SETTE_DIR} 
     
    929796 
    930797# TESTS FOR ORCA2_SAS_LIM3 CONFIGURATION 
    931 if [ ${config} -eq 11 ] ;  then 
     798if [ ${config} -eq 9 ] ;  then 
    932799    ## Restartability tests for SAS 
    933800    export TEST_NAME="LONG" 
    934     cd ${CONFIG_DIR} 
     801    cd ${CONFIG_DIR0} 
    935802    . ./makenemo -m ${CMP_NAM} -n SAS_LONG -r ORCA2_SAS_LIM3 -j 8 del_key ${DEL_KEYS} 
    936803    cd ${SETTE_DIR} 
     
    997864 
    998865# TESTS FOR ISOMIP CONFIGURATION 
    999 if [ ${config} -eq 12 ] ;  then 
     866if [ ${config} -eq 10 ] ;  then 
    1000867    ## Restartability tests for ISOMIP 
    1001868    export TEST_NAME="LONG" 
    1002     cd ${CONFIG_DIR} 
    1003     . ./makenemo -m ${CMP_NAM} -n ISOMIP_LONG -r ISOMIP -j 8 del_key ${DEL_KEYS} 
     869    cd ${CONFIG_DIR0} 
     870    . ./makenemo -m ${CMP_NAM} -n ISOMIP_LONG -r ISOMIP -a TEST_CASES -j 8 del_key ${DEL_KEYS} 
    1004871    cd ${SETTE_DIR} 
    1005872    . ./param.cfg 
     
    1015882    set_namelist namelist_cfg nn_stock 48 
    1016883    set_namelist namelist_cfg ln_clobber .true. 
    1017     set_namelist namelist_cfg ln_read_cfg .true. 
    1018     set_namelist namelist_cfg ln_linssh .true. 
    1019     set_namelist namelist_cfg nn_fwb 0 
     884    set_namelist namelist_cfg ln_read_cfg .false. 
    1020885    set_namelist namelist_cfg jpni 4 
    1021886    set_namelist namelist_cfg jpnj 8 
     
    1040905    set_namelist namelist_cfg nn_rstctl 2 
    1041906    set_namelist namelist_cfg ln_clobber .true. 
    1042     set_namelist namelist_cfg ln_read_cfg .true. 
    1043     set_namelist namelist_cfg ln_linssh .true. 
    1044     set_namelist namelist_cfg nn_fwb 0 
     907    set_namelist namelist_cfg ln_read_cfg .false. 
    1045908    set_namelist namelist_cfg jpni 4 
    1046909    set_namelist namelist_cfg jpnj 8 
     
    1067930    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    1068931fi 
    1069 if [ ${config} -eq 13 ] ;  then 
     932if [ ${config} -eq 11 ] ;  then 
    1070933    ## Reproducibility tests for ISOMIP 
    1071934    export TEST_NAME="REPRO_4_8" 
    1072     cd ${CONFIG_DIR} 
    1073     . ./makenemo -m ${CMP_NAM} -n ISOMIP_32 -r ISOMIP -j 8 del_key ${DEL_KEYS} 
     935    cd ${CONFIG_DIR0} 
     936    . ./makenemo -m ${CMP_NAM} -n ISOMIP_32 -r ISOMIP -a TEST_CASES -j 8 del_key ${DEL_KEYS} 
    1074937    cd ${SETTE_DIR} 
    1075938    . ./param.cfg 
     
    1085948    set_namelist namelist_cfg ln_ctl .false. 
    1086949    set_namelist namelist_cfg ln_clobber .true. 
    1087     set_namelist namelist_cfg ln_read_cfg .true. 
    1088     set_namelist namelist_cfg ln_linssh .true. 
    1089     set_namelist namelist_cfg nn_fwb 0 
     950    set_namelist namelist_cfg ln_read_cfg .false. 
    1090951    set_namelist namelist_cfg jpni 4 
    1091952    set_namelist namelist_cfg jpnj 8 
     
    1113974    set_namelist namelist_cfg ln_ctl .false. 
    1114975    set_namelist namelist_cfg ln_clobber .true. 
    1115     set_namelist namelist_cfg ln_read_cfg .true. 
    1116     set_namelist namelist_cfg ln_linssh .true. 
    1117     set_namelist namelist_cfg nn_fwb 0 
     976    set_namelist namelist_cfg ln_read_cfg .false. 
    1118977    set_namelist namelist_cfg jpni 8 
    1119978    set_namelist namelist_cfg jpnj 4 
     
    1133992## Test assimilation interface code, OBS and ASM for reproducibility 
    1134993## Restartability not tested (ASM code not restartable while increments are being applied) 
    1135 if [ ${config} -eq 14 ] ; then 
    1136    ## Reproducibility tests for ORCA2_LIM_OBS 
     994if [ ${config} -eq 12 ] ; then 
     995   ## Reproducibility tests for ORCA2_LIM3_OBS 
    1137996    export TEST_NAME="REPRO_4_8" 
    1138     cd ${CONFIG_DIR} 
    1139     . ./makenemo -m ${CMP_NAM} -n ORCA2_LIM3_OBS -r ORCA2_LIM3 -j 8 add_key "key_asminc" del_key ${DEL_KEYS} 
     997    cd ${CONFIG_DIR0} 
     998    . ./makenemo -m ${CMP_NAM} -n ORCA2_LIM3_OBS -r ORCA2_LIM3_PISCES -j 8 add_key "key_asminc" del_key "key_top" 
    1140999    cd ${SETTE_DIR} 
    11411000    . ./param.cfg 
     
    11681027    set_namelist namelist_cfg ln_sshinc .true. 
    11691028    set_namelist namelist_cfg ln_asmiau .true. 
     1029    rm namelist_top_cfg 
     1030    rm namelist_top_ref 
     1031    rm namelist_pisces_cfg 
     1032    rm namelist_pisces_ref 
    11701033    if [ ${USING_MPMD} == "yes" ] ; then 
    11711034       set_xio_using_server iodef.xml true 
     
    12071070    set_namelist namelist_cfg ln_sshinc .true. 
    12081071    set_namelist namelist_cfg ln_asmiau .true. 
     1072    rm namelist_top_cfg 
     1073    rm namelist_top_ref 
     1074    rm namelist_pisces_cfg 
     1075    rm namelist_pisces_ref 
    12091076    if [ ${USING_MPMD} == "yes" ] ; then 
    12101077       set_xio_using_server iodef.xml true 
     
    12171084    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    12181085fi 
    1219 # TEST FOR ORCA2_LIM_AGRIF : simple test of running AGRIF (no restartability neither reproducibility tests) 
    1220 if [ ${config} -eq 15 ] ;  then 
    1221     ## ORCA2_LIM with Agulhas AGRIF zoom in MPI 
     1086# TEST FOR ORCA2_LIM3_AGRIF : simple test of running AGRIF (no restartability neither reproducibility tests) 
     1087if [ ${config} -eq 13 ] ;  then 
     1088    ## ORCA2_LIM3 with Agulhas AGRIF zoom in MPI 
    12221089    export TEST_NAME="SHORT" 
    1223     cd ${CONFIG_DIR} 
    1224     . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_1_2 -r ORCA2_LIM -j 8 add_key "key_agrif" del_key "key_zdftmx" del_key ${DEL_KEYS} 
     1090    cd ${CONFIG_DIR0} 
     1091    . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_1_2 -r ORCA2_LIM3_PISCES -j 8 add_key "key_agrif" del_key "key_zdftmx" del_key "key_top" 
    12251092    cd ${SETTE_DIR} 
    12261093    . ./param.cfg 
     
    12431110    set_namelist namelist_cfg jpnj 2 
    12441111    set_namelist namelist_cfg jpnij 2 
     1112    rm namelist_top_cfg 
     1113    rm namelist_top_ref 
     1114    rm namelist_pisces_cfg 
     1115    rm namelist_pisces_ref 
    12451116    set_namelist 1_namelist_cfg nn_it000 1 
    12461117    set_namelist 1_namelist_cfg nn_itend 150 
     
    12571128    fi 
    12581129    cd ${SETTE_DIR} 
    1259     . ./prepare_job.sh input_ORCA2_LIM_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} 
     1130    . ./prepare_job.sh input_ORCA2_LIM3_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} 
    12601131    cd ${SETTE_DIR} 
    12611132    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
     
    12631134 
    12641135# test code corruption with AGRIF 
    1265 # Compile and run with or without AGRIF ORCA2_LIM 
    1266 if [ ${config} -eq 16 ] ;  then 
     1136# Compile and run with or without AGRIF ORCA2_LIM3 
     1137if [ ${config} -eq 14 ] ;  then 
    12671138    # First run same as 15 but without zoom 
    12681139    export TEST_NAME="SHORT_NOZOOM" 
    1269     cd ${CONFIG_DIR} 
    1270     . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_2_2 -r ORCA2_LIM -j 8 add_key "key_agrif" del_key "key_zdftmx" del_key ${DEL_KEYS} 
     1140    cd ${CONFIG_DIR0} 
     1141    . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_2_2 -r ORCA2_LIM3_PISCES -j 8 add_key "key_agrif" del_key "key_zdftmx" del_key "key_top" 
    12711142    cd ${SETTE_DIR} 
    12721143    . ./param.cfg 
     
    12891160    set_namelist namelist_cfg jpnj 2 
    12901161    set_namelist namelist_cfg jpnij 4 
     1162    rm namelist_top_cfg 
     1163    rm namelist_top_ref 
     1164    rm namelist_pisces_cfg 
     1165    rm namelist_pisces_ref 
    12911166#  
    12921167#   Set the number of fine grids to zero:     
     
    12991174    fi 
    13001175    cd ${SETTE_DIR} 
    1301     . ./prepare_job.sh input_ORCA2_LIM_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} 
     1176    . ./prepare_job.sh input_ORCA2_LIM3_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} 
    13021177    cd ${SETTE_DIR} 
    13031178    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    13041179 
    13051180    export TEST_NAME="SHORT_NOAGRIF" 
    1306     cd ${CONFIG_DIR} 
    1307     . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_2_2_NAG -r ORCA2_LIM -j 8 del_key "key_zdftmx" del_key ${DEL_KEYS} 
     1181    cd ${CONFIG_DIR0} 
     1182    . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_2_2_NAG -r ORCA2_LIM3_PISCES -j 8 del_key "key_zdftmx" del_key "key_top" 
    13081183    cd ${SETTE_DIR} 
    13091184    . ./param.cfg 
     
    13261201    set_namelist namelist_cfg jpnj 2 
    13271202    set_namelist namelist_cfg jpnij 4 
    1328 # 
    1329     if [ ${USING_MPMD} == "yes" ] ; then 
    1330        set_xio_using_server iodef.xml true 
    1331     else 
    1332        set_xio_using_server iodef.xml false 
    1333     fi 
    1334     cd ${SETTE_DIR} 
    1335     . ./prepare_job.sh input_ORCA2_LIM_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} 
    1336     cd ${SETTE_DIR} 
    1337     . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    1338  
    1339 fi 
    1340  
    1341 ## Restartability tests for ORCA2_LIM_AGRIF  
    1342 if [ ${config} -eq 17 ] ;  then 
     1203    rm namelist_top_cfg 
     1204    rm namelist_top_ref 
     1205    rm namelist_pisces_cfg 
     1206    rm namelist_pisces_ref 
     1207# 
     1208    if [ ${USING_MPMD} == "yes" ] ; then 
     1209       set_xio_using_server iodef.xml true 
     1210    else 
     1211       set_xio_using_server iodef.xml false 
     1212    fi 
     1213    cd ${SETTE_DIR} 
     1214    . ./prepare_job.sh input_ORCA2_LIM3_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} 
     1215    cd ${SETTE_DIR} 
     1216    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
     1217 
     1218fi 
     1219 
     1220## Restartability tests for ORCA2_LIM3_AGRIF  
     1221if [ ${config} -eq 15 ] ;  then 
    13431222    export TEST_NAME="LONG" 
    1344     cd ${CONFIG_DIR} 
    1345     . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_LONG -r ORCA2_LIM -j 8 add_key "key_agrif" del_key "key_zdftmx" del_key ${DEL_KEYS} 
     1223    cd ${CONFIG_DIR0} 
     1224    . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_LONG -r ORCA2_LIM3_PISCES -j 8 add_key "key_agrif" del_key "key_zdftmx" del_key "key_top" 
    13461225    cd ${SETTE_DIR} 
    13471226    . ./param.cfg 
     
    13751254    set_namelist 1_namelist_cfg ln_hpg_sco .false. 
    13761255    set_namelist 1_namelist_cfg ln_hpg_zps .true.  
    1377 # 
    1378     if [ ${USING_MPMD} == "yes" ] ; then 
    1379        set_xio_using_server iodef.xml true 
    1380     else 
    1381        set_xio_using_server iodef.xml false 
    1382     fi 
    1383     cd ${SETTE_DIR} 
    1384     . ./prepare_job.sh input_ORCA2_LIM_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} 
     1256    rm namelist_top_cfg 
     1257    rm namelist_top_ref 
     1258    rm namelist_pisces_cfg 
     1259    rm namelist_pisces_ref 
     1260# 
     1261    if [ ${USING_MPMD} == "yes" ] ; then 
     1262       set_xio_using_server iodef.xml true 
     1263    else 
     1264       set_xio_using_server iodef.xml false 
     1265    fi 
     1266    cd ${SETTE_DIR} 
     1267    . ./prepare_job.sh input_ORCA2_LIM3_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} 
    13851268     
    13861269    cd ${SETTE_DIR} 
     
    14021285    set_namelist namelist_cfg jpni 2 
    14031286    set_namelist namelist_cfg jpnj 2 
    1404  
    14051287    set_namelist namelist_cfg jpnij 4 
    1406 #   set_namelist namelist_cfg nn_solv 2 
     1288    rm namelist_top_cfg 
     1289    rm namelist_top_ref 
     1290    rm namelist_pisces_cfg 
     1291    rm namelist_pisces_ref 
    14071292    set_namelist 1_namelist_cfg cn_exp \"O2LP_SHORT\" 
    14081293    set_namelist 1_namelist_cfg nn_it000 151 
     
    14181303    set_namelist namelist_cfg cn_ocerst_in \"O2LP_LONG_00000075_restart\" 
    14191304    set_namelist namelist_ice_cfg cn_icerst_in \"O2LP_LONG_00000075_restart_ice\" 
    1420  
    14211305    set_namelist 1_namelist_cfg cn_ocerst_in \"O2LP_LONG_00000150_restart\" 
    14221306 
     
    14341318    fi 
    14351319    cd ${SETTE_DIR} 
    1436     . ./prepare_job.sh input_ORCA2_LIM_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} 
    1437     cd ${SETTE_DIR} 
    1438     . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    1439 fi 
    1440  
    1441 ## Reproducibility tests for ORCA2_LIM_AGRIF 
    1442 if [ ${config} -eq 18 ] ;  then 
     1320    . ./prepare_job.sh input_ORCA2_LIM3_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} 
     1321    cd ${SETTE_DIR} 
     1322    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
     1323fi 
     1324 
     1325## Reproducibility tests for ORCA2_LIM3_AGRIF 
     1326if [ ${config} -eq 16 ] ;  then 
    14431327    export TEST_NAME="REPRO_4_4" 
    1444     cd ${CONFIG_DIR} 
    1445     . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_16 -r ORCA2_LIM -j 8 add_key "key_agrif" del_key "key_zdftmx" del_key ${DEL_KEYS} 
     1328    cd ${CONFIG_DIR0} 
     1329    . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_16 -r ORCA2_LIM3_PISCES -j 8 add_key "key_agrif" del_key "key_zdftmx" del_key "key_top" 
    14461330    cd ${SETTE_DIR} 
    14471331    . ./param.cfg 
     
    14641348    set_namelist namelist_cfg jpnj 4 
    14651349    set_namelist namelist_cfg jpnij 16 
     1350    rm namelist_top_cfg 
     1351    rm namelist_top_ref 
     1352    rm namelist_pisces_cfg 
     1353    rm namelist_pisces_ref 
    14661354    set_namelist 1_namelist_cfg nn_it000 1 
    14671355    set_namelist 1_namelist_cfg nn_itend 150 
     
    14791367    fi 
    14801368    cd ${SETTE_DIR} 
    1481     . ./prepare_job.sh input_ORCA2_LIM_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} 
     1369    . ./prepare_job.sh input_ORCA2_LIM3_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} 
    14821370    cd ${SETTE_DIR} 
    14831371    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
     
    15021390    set_namelist namelist_cfg jpnj 8 
    15031391    set_namelist namelist_cfg jpnij 16 
     1392    rm namelist_top_cfg 
     1393    rm namelist_top_ref 
     1394    rm namelist_pisces_cfg 
     1395    rm namelist_pisces_ref 
    15041396    set_namelist 1_namelist_cfg nn_it000 1 
    15051397    set_namelist 1_namelist_cfg nn_itend 150 
     
    15171409    fi 
    15181410    cd ${SETTE_DIR} 
    1519     . ./prepare_job.sh input_ORCA2_LIM_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} 
     1411    . ./prepare_job.sh input_ORCA2_LIM3_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} 
    15201412    cd ${SETTE_DIR} 
    15211413    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
Note: See TracChangeset for help on using the changeset viewer.