Changeset 7684


Ignore:
Timestamp:
2017-02-15T17:17:04+01:00 (4 years ago)
Author:
mathiot
Message:

update SETTE directory to work with ISOMIP into TEST_CASE/ directory

Location:
branches/2017/dev_r7663_ISOMIP_TEST_CASE/NEMOGCM/SETTE
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_r7663_ISOMIP_TEST_CASE/NEMOGCM/SETTE/input_ISOMIP.cfg

    r7646 r7684  
    1 ISOMIP_v3.7.tar ISOMIP_v3.7 
     1 
  • branches/2017/dev_r7663_ISOMIP_TEST_CASE/NEMOGCM/SETTE/iodef_sette.xml

    r7646 r7684  
    1212============================================================================================================ 
    1313    --> 
    14     <field_definition src="../../SHARED/field_def_nemo-opa.xml"/> 
    15     <field_definition src="../../SHARED/field_def_nemo-lim.xml"/> 
    16     <field_definition src="../../SHARED/field_def_nemo-pisces.xml"/> 
     14    <field_definition src="DEF_SHARED/field_def_nemo-opa.xml"/> 
     15    <field_definition src="DEF_SHARED/field_def_nemo-lim.xml"/> 
     16    <field_definition src="DEF_SHARED/field_def_nemo-pisces.xml"/> 
    1717    <!--  
    1818============================================================================================================ 
     
    165165============================================================================================================ 
    166166    --> 
    167     <field_definition src="../../SHARED/field_def_nemo-opa.xml"/> 
    168     <field_definition src="../../SHARED/field_def_nemo-lim.xml"/> 
    169     <field_definition src="../../SHARED/field_def_nemo-pisces.xml"/> 
     167    <field_definition src="DEF_SHARED/field_def_nemo-opa.xml"/> 
     168    <field_definition src="DEF_SHARED/field_def_nemo-lim.xml"/> 
     169    <field_definition src="DEF_SHARED/field_def_nemo-pisces.xml"/> 
    170170    <!--  
    171171============================================================================================================ 
  • branches/2017/dev_r7663_ISOMIP_TEST_CASE/NEMOGCM/SETTE/prepare_exe_dir.sh

    r7646 r7684  
    7171 
    7272cp -RL ${CONFIG_DIR}/${NEW_CONF}/EXP00/* ${EXE_DIR}/. 
    73 cp -R ${SETTE_DIR}/iodef_sette.xml ${EXE_DIR}/iodef.xml 
     73cat ${SETTE_DIR}/iodef_sette.xml | sed -e"s;DEF_SHARED;${CONFIG_DIR0}/SHARED;" > ${EXE_DIR}/iodef.xml 
    7474cd ${EXE_DIR} 
  • branches/2017/dev_r7663_ISOMIP_TEST_CASE/NEMOGCM/SETTE/prepare_job.sh

    r6140 r7684  
    104104echo "" >> ${SETTE_DIR}/output.sette 
    105105echo "list of cpp_keys: " >> ${SETTE_DIR}/output.sette 
    106 echo "`more ${SETTE_DIR}/../CONFIG/${NEW_CONF}/cpp_${NEW_CONF}.fcm`" >> ${SETTE_DIR}/output.sette 
     106echo "`more ${CONFIG_DIR}/${NEW_CONF}/cpp_${NEW_CONF}.fcm`" >> ${SETTE_DIR}/output.sette 
    107107echo "" >> ${SETTE_DIR}/output.sette 
    108108echo "compiling with: ${CMP_NAM}" >> ${SETTE_DIR}/output.sette 
  • branches/2017/dev_r7663_ISOMIP_TEST_CASE/NEMOGCM/SETTE/sette.sh

    r7646 r7684  
    8888# 
    8989# Compiler among those in NEMOGCM/ARCH 
    90 COMPILER=X64_ADA_DEBUG 
    91 export BATCH_COMMAND_PAR="llsubmit" 
     90COMPILER=XC40_METO 
     91export BATCH_COMMAND_PAR="qsub" 
    9292export BATCH_COMMAND_SEQ=$BATCH_COMMAND_PAR 
    9393export INTERACT_FLAG="no" 
     
    124124SETTE_DIR=$(cd $(dirname "$0"); pwd) 
    125125MAIN_DIR=$(dirname $SETTE_DIR) 
    126 CONFIG_DIR=${MAIN_DIR}/CONFIG 
     126CONFIG_DIR0=${MAIN_DIR}/CONFIG 
    127127TOOLS_DIR=${MAIN_DIR}/TOOLS 
    128128COMPIL_DIR=${TOOLS_DIR}/COMPILE 
     
    151151if [ ${config} -eq 1 ] ;  then 
    152152    ## Restartability tests for GYRE 
     153    unset NEMO_TDIR 
    153154    export TEST_NAME="LONG" 
    154     cd ${CONFIG_DIR} 
     155    cd ${CONFIG_DIR0} 
    155156    . ./makenemo -m ${CMP_NAM} -n GYRE_LONG -r GYRE -j 8 del_key ${DEL_KEYS} 
    156157    cd ${SETTE_DIR} 
     
    222223if [ ${config} -eq 2 ] ;  then 
    223224    ## Reproducibility tests for GYRE 
     225    unset NEMO_TDIR 
    224226    export TEST_NAME="REPRO_4_8" 
    225     cd ${CONFIG_DIR} 
     227    cd ${CONFIG_DIR0} 
    226228    . ./makenemo -m ${CMP_NAM} -n GYRE_32 -r GYRE -j 8 del_key ${DEL_KEYS} 
    227229    cd ${SETTE_DIR} 
     
    287289if [ ${config} -eq 3 ] ;  then 
    288290    ## Restartability tests for ORCA2_LIM3 
     291    unset NEMO_TDIR 
    289292    export TEST_NAME="LONG" 
    290     cd ${CONFIG_DIR} 
     293    cd ${CONFIG_DIR0} 
    291294    . ./makenemo -m ${CMP_NAM} -n ORCA2LIM3_LONG -r ORCA2_LIM3 -j 8 del_key ${DEL_KEYS} 
    292295    cd ${SETTE_DIR} 
     
    358361if [ ${config} -eq 4 ] ;  then 
    359362    ## Reproducibility tests for ORCA2_LIM3 
     363    unset NEMO_TDIR 
    360364    export TEST_NAME="REPRO_8_4" 
    361     cd ${CONFIG_DIR} 
     365    cd ${CONFIG_DIR0} 
    362366    . ./makenemo -m ${CMP_NAM} -n ORCA2LIM3_32 -r ORCA2_LIM3 -j 8 del_key ${DEL_KEYS} 
    363367    cd ${SETTE_DIR} 
     
    423427if [ ${config} -eq 5 ] ;  then 
    424428    ## Restartability tests for ORCA2_LIM3_PISCES 
     429    unset NEMO_TDIR 
    425430    export TEST_NAME="LONG" 
    426     cd ${CONFIG_DIR} 
     431    cd ${CONFIG_DIR0} 
    427432    . ./makenemo -m ${CMP_NAM} -n ORCA2LIM3PIS_LONG -r ORCA2_LIM3_PISCES -j 8 del_key ${DEL_KEYS} 
    428433    cd ${SETTE_DIR} 
     
    520525if [ ${config} -eq 6 ] ;  then 
    521526    ## Reproducibility tests for ORCA2_LIM3_PISCES 
     527    unset NEMO_TDIR 
    522528    export TEST_NAME="REPRO_4_8" 
    523     cd ${CONFIG_DIR} 
     529    cd ${CONFIG_DIR0} 
    524530    . ./makenemo -m ${CMP_NAM} -n ORCA2LIM3PIS_32 -r ORCA2_LIM3_PISCES -j 8 del_key ${DEL_KEYS} 
    525531    cd ${SETTE_DIR} 
     
    609615if [ ${config} -eq 7 ] ;  then 
    610616    ## Restartability tests for ORCA2_OFF_PISCES 
     617    unset NEMO_TDIR 
    611618    export TEST_NAME="LONG" 
    612     cd ${CONFIG_DIR} 
     619    cd ${CONFIG_DIR0} 
    613620    . ./makenemo -m ${CMP_NAM} -n ORCA2OFFPIS_LONG -r ORCA2_OFF_PISCES -j 8 del_key ${DEL_KEYS} 
    614621    cd ${SETTE_DIR} 
     
    700707if [ ${config} -eq 8 ] ;  then 
    701708    ## Reproducibility tests for ORCA2_OFF_PISCES 
     709    unset NEMO_TDIR 
    702710    export TEST_NAME="REPRO_4_8" 
    703     cd ${CONFIG_DIR} 
     711    cd ${CONFIG_DIR0} 
    704712    . ./makenemo -m ${CMP_NAM} -n ORCA2OFFPIS_32 -r ORCA2_OFF_PISCES -j 8 del_key ${DEL_KEYS} 
    705713    cd ${SETTE_DIR} 
     
    788796if [ ${config} -eq 9 ] ;  then 
    789797    ## Restartability tests for AMM12 
     798    unset NEMO_TDIR 
    790799    export TEST_NAME="LONG" 
    791     cd ${CONFIG_DIR} 
     800    cd ${CONFIG_DIR0} 
    792801    . ./makenemo -m ${CMP_NAM} -n AMM12_LONG -r AMM12 -j 8 add_key "key_tide" del_key ${DEL_KEYS} 
    793802    cd ${SETTE_DIR} 
     
    854863if [ ${config} -eq 10 ] ;  then 
    855864## Reproducibility tests for AMM12 
     865    unset NEMO_TDIR 
    856866    export TEST_NAME="REPRO_8_4" 
    857     cd ${CONFIG_DIR} 
     867    cd ${CONFIG_DIR0} 
    858868    . ./makenemo -m ${CMP_NAM} -n AMM12_32 -r AMM12 -j 8 del_key ${DEL_KEYS} 
    859869    cd ${SETTE_DIR} 
     
    916926if [ ${config} -eq 11 ] ;  then 
    917927    ## Restartability tests for SAS 
     928    unset NEMO_TDIR 
    918929    export TEST_NAME="LONG" 
    919     cd ${CONFIG_DIR} 
     930    cd ${CONFIG_DIR0} 
    920931    . ./makenemo -m ${CMP_NAM} -n SAS_LONG -r ORCA2_SAS_LIM3 -j 8 del_key ${DEL_KEYS} 
    921932    cd ${SETTE_DIR} 
     
    984995if [ ${config} -eq 12 ] ;  then 
    985996    ## Restartability tests for ISOMIP 
     997    # to avoid unwanted ISOMIP_?? repository in CONFIG dir, unset NEMO_TDIR is needed 
     998    unset NEMO_TDIR             
    986999    export TEST_NAME="LONG" 
    987     cd ${CONFIG_DIR} 
    988     . ./makenemo -m ${CMP_NAM} -n ISOMIP_LONG -r ISOMIP -j 8 del_key ${DEL_KEYS} 
     1000    cd ${CONFIG_DIR0} 
     1001    . ./makenemo -m ${CMP_NAM} -n ISOMIP_LONG -r ISOMIP -a TEST_CASES -j 8 del_key ${DEL_KEYS} 
    9891002    cd ${SETTE_DIR} 
    9901003    . ./param.cfg 
     
    10001013    set_namelist namelist_cfg nn_stock 48 
    10011014    set_namelist namelist_cfg ln_clobber .true. 
    1002     set_namelist namelist_cfg ln_read_cfg .true. 
    1003     set_namelist namelist_cfg ln_linssh .true. 
    1004     set_namelist namelist_cfg nn_fwb 0 
     1015    set_namelist namelist_cfg ln_read_cfg .false. 
    10051016    set_namelist namelist_cfg jpni 4 
    10061017    set_namelist namelist_cfg jpnj 8 
     
    10251036    set_namelist namelist_cfg nn_rstctl 2 
    10261037    set_namelist namelist_cfg ln_clobber .true. 
    1027     set_namelist namelist_cfg ln_read_cfg .true. 
    1028     set_namelist namelist_cfg ln_linssh .true. 
    1029     set_namelist namelist_cfg nn_fwb 0 
     1038    set_namelist namelist_cfg ln_read_cfg .false. 
    10301039    set_namelist namelist_cfg jpni 4 
    10311040    set_namelist namelist_cfg jpnj 8 
     
    10541063if [ ${config} -eq 13 ] ;  then 
    10551064    ## Reproducibility tests for ISOMIP 
     1065    # to avoid unwanted ISOMIP_?? repository in CONFIG dir, unset NEMO_TDIR is needed 
     1066    unset NEMO_TDIR             
    10561067    export TEST_NAME="REPRO_4_8" 
    1057     cd ${CONFIG_DIR} 
    1058     . ./makenemo -m ${CMP_NAM} -n ISOMIP_32 -r ISOMIP -j 8 del_key ${DEL_KEYS} 
     1068    cd ${CONFIG_DIR0} 
     1069    . ./makenemo -m ${CMP_NAM} -n ISOMIP_32 -r ISOMIP -a TEST_CASES -j 8 del_key ${DEL_KEYS} 
    10591070    cd ${SETTE_DIR} 
    10601071    . ./param.cfg 
     
    10701081    set_namelist namelist_cfg ln_ctl .false. 
    10711082    set_namelist namelist_cfg ln_clobber .true. 
    1072     set_namelist namelist_cfg ln_read_cfg .true. 
    1073     set_namelist namelist_cfg ln_linssh .true. 
    1074     set_namelist namelist_cfg nn_fwb 0 
     1083    set_namelist namelist_cfg ln_read_cfg .false. 
    10751084    set_namelist namelist_cfg jpni 4 
    10761085    set_namelist namelist_cfg jpnj 8 
     
    10981107    set_namelist namelist_cfg ln_ctl .false. 
    10991108    set_namelist namelist_cfg ln_clobber .true. 
    1100     set_namelist namelist_cfg ln_read_cfg .true. 
    1101     set_namelist namelist_cfg ln_linssh .true. 
    1102     set_namelist namelist_cfg nn_fwb 0 
     1109    set_namelist namelist_cfg ln_read_cfg .false. 
    11031110    set_namelist namelist_cfg jpni 8 
    11041111    set_namelist namelist_cfg jpnj 4 
     
    11201127if [ ${config} -eq 14 ] ; then 
    11211128   ## Reproducibility tests for ORCA2_LIM_OBS 
     1129    unset NEMO_TDIR 
    11221130    export TEST_NAME="REPRO_4_8" 
    1123     cd ${CONFIG_DIR} 
     1131    cd ${CONFIG_DIR0} 
    11241132    . ./makenemo -m ${CMP_NAM} -n ORCA2_LIM3_OBS -r ORCA2_LIM3 -j 8 add_key "key_asminc" del_key ${DEL_KEYS} 
    11251133    cd ${SETTE_DIR} 
     
    12051213if [ ${config} -eq 15 ] ;  then 
    12061214    ## ORCA2_LIM with Agulhas AGRIF zoom in MPI 
     1215    unset NEMO_TDIR 
    12071216    export TEST_NAME="SHORT" 
    1208     cd ${CONFIG_DIR} 
     1217    cd ${CONFIG_DIR0} 
    12091218    . ./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} 
    12101219    cd ${SETTE_DIR} 
     
    12511260if [ ${config} -eq 16 ] ;  then 
    12521261    # First run same as 15 but without zoom 
     1262    unset NEMO_TDIR 
    12531263    export TEST_NAME="SHORT_NOZOOM" 
    1254     cd ${CONFIG_DIR} 
     1264    cd ${CONFIG_DIR0} 
    12551265    . ./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} 
    12561266    cd ${SETTE_DIR} 
     
    12881298    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    12891299 
     1300    unset NEMO_TDIR 
    12901301    export TEST_NAME="SHORT_NOAGRIF" 
    1291     cd ${CONFIG_DIR} 
     1302    cd ${CONFIG_DIR0} 
    12921303    . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_2_2_NAG -r ORCA2_LIM -j 8 del_key "key_zdftmx" del_key ${DEL_KEYS} 
    12931304    cd ${SETTE_DIR} 
     
    13261337## Restartability tests for ORCA2_LIM_AGRIF  
    13271338if [ ${config} -eq 17 ] ;  then 
     1339    unset NEMO_TDIR 
    13281340    export TEST_NAME="LONG" 
    1329     cd ${CONFIG_DIR} 
     1341    cd ${CONFIG_DIR0} 
    13301342    . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_LONG -r ORCA2_LIM -j 8 add_key "key_agrif" del_key "key_zdftmx" del_key ${DEL_KEYS} 
    13311343    cd ${SETTE_DIR} 
     
    14261438## Reproducibility tests for ORCA2_LIM_AGRIF 
    14271439if [ ${config} -eq 18 ] ;  then 
     1440    unset NEMO_TDIR 
    14281441    export TEST_NAME="REPRO_4_4" 
    1429     cd ${CONFIG_DIR} 
     1442    cd ${CONFIG_DIR0} 
    14301443    . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_16 -r ORCA2_LIM -j 8 add_key "key_agrif" del_key "key_zdftmx" del_key ${DEL_KEYS} 
    14311444    cd ${SETTE_DIR} 
Note: See TracChangeset for help on using the changeset viewer.