Changeset 4044


Ignore:
Timestamp:
2013-09-25T16:33:22+02:00 (7 years ago)
Author:
clevy
Message:

Configuration setting/add SETTE compatibility, see ticket:#1074

Location:
branches/2013/dev_r3853_CNRS9_ConfSetting
Files:
3 added
1 deleted
27 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/CONFIG/AMM12/EXP00/namelist_cfg

    r3993 r4044  
    66!----------------------------------------------------------------------- 
    77   cn_exp      =  "AMM12"  !  experience name 
     8   nn_it000    =       1   !  first time step 
    89   nn_itend    =    2880   !  last  time step (std 1 day = 288) 
    910   nn_date0    =  20070101 !  date at nit_0000 (format yyyymmdd) used if ln_rstart=F or (ln_rstart=T and nn_rstctl=0 or 1) 
     
    1112   ln_rstart   =  .true.  !  start from rest (F) or from a restart file (T) 
    1213   cn_ocerst_in   = "amm12_restart_oce"   !  suffix of ocean restart name (input) 
    13    cn_ocerst_out  = "AMM12.restart.out"   !  suffix of ocean restart name (input) 
     14   cn_ocerst_out  = "restart_oce_out"   !  suffix of ocean restart name (input) 
    1415   nn_istate   =       1   !  output the initial state (1) or not (0) 
    1516   nn_stock    =     2880  !  frequency of creation of a restart file (modulo referenced to 1) 
  • branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/CONFIG/GYRE/EXP00/namelist_cfg

    r3993 r4044  
    66!----------------------------------------------------------------------- 
    77   cn_exp      =  "GYRE"   !  experience name 
     8   nn_it000    =       1   !  first time step 
    89   nn_itend    =    4320   !  last  time step 
    910   nn_leapy    =      30   !  Leap year calendar (1) or not (0) 
  • branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/CONFIG/GYRE_BFM/EXP00/namelist_cfg

    r3993 r4044  
    1313!----------------------------------------------------------------------- 
    1414   cn_exp      =  "GYRE"   !  experience name 
     15   nn_it000    =       1   !  first time step 
    1516   nn_itend    =    4320   !  last  time step 
    1617   nn_leapy    =      30   !  Leap year calendar (1) or not (0) 
  • branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/CONFIG/GYRE_PISCES/EXP00/namelist_cfg

    r3993 r4044  
    66!----------------------------------------------------------------------- 
    77   cn_exp      =  "GYRE"   !  experience name 
     8   nn_it000    =       1   !  first time step 
    89   nn_itend    =    4320   !  last  time step 
    910   nn_leapy    =      30   !  Leap year calendar (1) or not (0) 
  • branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/CONFIG/ORCA2_LIM/EXP00/1_namelist_cfg

    r4018 r4044  
    1414&namcfg        !   parameters of the configuration 
    1515!----------------------------------------------------------------------- 
    16    cp_cfg      =  "default"               !  name of the configuration 
     16   cp_cfg      =  "default"             !  name of the configuration 
    1717   jp_cfg      =      -1               !  resolution of the configuration 
    1818   jpidta      =     182               !  1st lateral dimension ( >= jpi ) 
     
    2424   jpjzoom     =       1               !  in data domain indices 
    2525   jperio      =       0               !  lateral cond. type (between 0 and 6) 
     26/ 
     27!----------------------------------------------------------------------- 
     28&namzgr        !   vertical coordinate 
     29!----------------------------------------------------------------------- 
     30/ 
     31!----------------------------------------------------------------------- 
     32&namdom        !   space and time domain (bathymetry, mesh, timestep) 
     33!-----------------------------------------------------------------------   
    2634   jphgr_msh   =       0               !  type of horizontal mesh 
    2735   ppglam0     =  999999.0             !  longitude of first raw and column T-point (jphgr_msh = 1) 
     
    4250   ppkth2      =  999999.              ! 
    4351   ppacr2      =  999999.              ! 
    44 / 
    45 !----------------------------------------------------------------------- 
    46 &namzgr        !   vertical coordinate 
    47 !----------------------------------------------------------------------- 
    48 / 
    49 !----------------------------------------------------------------------- 
    50 &namdom        !   space and time domain (bathymetry, mesh, timestep) 
    51 !-----------------------------------------------------------------------    
    5252   rn_rdt      = 2880.     !  time step for the dynamics (and tracer if nn_acc=0) 
    5353   rn_rdtmin   = 14400.          !  minimum time step on tracers (used if nn_acc=1) 
  • branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/CONFIG/ORCA2_LIM/EXP00/namelist_cfg

    r3993 r4044  
    66&namrun        !   parameters of the run 
    77!----------------------------------------------------------------------- 
     8   nn_it000    =       1   !  first time step 
    89   nn_itend    =    100    !  last  time step (std 5475) 
    910   nn_write    =     10    !  frequency of write in the output file   (modulo referenced to nn_it000) 
  • branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/CONFIG/ORCA2_LIM_CFC_C14b/EXP00/namelist_cfg

    r3993 r4044  
    1313!----------------------------------------------------------------------- 
    1414   cn_exp      =  "ORCA2C"  !  experience name  
     15   nn_it000    =       1    !  first time step 
    1516   nn_date0    = 19600101   
    1617/ 
  • branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/CONFIG/ORCA2_LIM_PISCES/EXP00/namelist_cfg

    r3993 r4044  
    66&namrun        !   parameters of the run 
    77!----------------------------------------------------------------------- 
    8    nn_itend    =    100   !  last  time step (std 5475) 
    9    nn_write    =    10     !  frequency of write in the output file   (modulo referenced to nn_it000) 
     8   nn_it000    =      1    !  first time step 
     9   nn_itend    =    100    !  last  time step (std 5475) 
     10   nn_write    =     10    !  frequency of write in the output file   (modulo referenced to nn_it000) 
    1011/ 
    1112!----------------------------------------------------------------------- 
  • branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/CONFIG/ORCA2_OFF_PISCES/EXP00/namelist_cfg

    r3993 r4044  
    66!----------------------------------------------------------------------- 
    77   cn_exp      =  "PISCES"  !  experience name  
    8    nn_itend    =    100   !  last  time step (std 5475) 
    9    nn_stock    =    1460   !  frequency of creation of a restart file (modulo referenced to 1) 
    10    nn_write    =    100   !  frequency of write in the output file   (modulo referenced to nn_it000) 
     8   nn_it000    =       1    !  first time step 
     9   nn_itend    =    100     !  last  time step (std 5475) 
     10   nn_stock    =    1460    !  frequency of creation of a restart file (modulo referenced to 1) 
     11   nn_write    =    100     !  frequency of write in the output file   (modulo referenced to nn_it000) 
    1112/ 
    1213!----------------------------------------------------------------------- 
  • branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/CONFIG/ORCA2_SAS_LIM/EXP00/namelist_cfg

    r3993 r4044  
    66!----------------------------------------------------------------------- 
    77   cn_exp      =  "ORCA2_SAS"  !  experience name  
    8    nn_it000    =       1   !  first time step 
    9    nn_itend    =     100   !  last  time step (std 5475) 
     8   nn_it000    =       1       !  first time step 
     9   nn_itend    =     100       !  last  time step (std 5475) 
    1010/ 
    1111!----------------------------------------------------------------------- 
     
    5050/ 
    5151!----------------------------------------------------------------------- 
     52&namctl        !   Control prints & Benchmark 
     53!----------------------------------------------------------------------- 
     54/ 
     55!----------------------------------------------------------------------- 
    5256&namsbc        !   Surface Boundary Condition (surface module) 
    5357!----------------------------------------------------------------------- 
     
    7781!----------------------------------------------------------------------- 
    7882/ 
    79  
    8083!----------------------------------------------------------------------- 
    8184&nameos        !   ocean physical parameters 
     
    8689!----------------------------------------------------------------------- 
    8790/ 
    88 !----------------------------------------------------------------------- 
    89 &namctl        !   Control prints & Benchmark 
    90 !----------------------------------------------------------------------- 
    91 / 
  • branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/CONFIG/SHARED/1_namelist_ref

    r4025 r4044  
    1111!!              8 - Verical physics  (namzdf, namzdf_ric, namzdf_tke, namzdf_kpp, namzdf_ddm, namzdf_tmx) 
    1212!!              9 - diagnostics      (namnc4, namtrd, namspr, namflo, namptr, namhsb) 
    13 !!             10 - miscellaneous    (namsol, nammpp, nammpp_dyndist, namctl) 
     13!!             10 - miscellaneous    (namsol, nammpp, namctl) 
    1414!!             11 - Obs & Assim      (namobs, nam_asminc) 
    1515!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     
    838838!!====================================================================== 
    839839!!   nammpp            Massively Parallel Processing                    ("key_mpp_mpi) 
    840 !!   nammpp_dyndist    Massively Parallel domain decomposition          ("key_agrif" && "key_mpp_dyndist") 
    841840!!   namctl            Control prints & Benchmark 
    842841!!   namsol            elliptic solver / island / free surface 
     
    866865   jpnj        =   0       !  jpnj   number of processors following j (set automatically if < 1) 
    867866   jpnij       =   0       !  jpnij  number of local domains (set automatically if < 1) 
    868 / 
    869 !----------------------------------------------------------------------- 
    870 &nammpp_dyndist !   Massively Parallel Distribution for AGRIF zoom      ("key_agrif" && "key_mpp_dyndist") 
    871 !----------------------------------------------------------------------- 
    872    jpni        =    1      !  jpni   number of processors following i 
    873    jpnj        =    1      !  jpnj   number of processors following j 
    874    jpnij       =    1      !  jpnij  number of local domains 
    875867/ 
    876868!----------------------------------------------------------------------- 
  • branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/CONFIG/SHARED/namelist_ref

    r3993 r4044  
    1111!!              8 - Verical physics  (namzdf, namzdf_ric, namzdf_tke, namzdf_kpp, namzdf_ddm, namzdf_tmx) 
    1212!!              9 - diagnostics      (namnc4, namtrd, namspr, namflo, namptr, namhsb) 
    13 !!             10 - miscellaneous    (namsol, nammpp, nammpp_dyndist, namctl) 
     13!!             10 - miscellaneous    (namsol, nammpp, namctl) 
    1414!!             11 - Obs & Assim      (namobs, nam_asminc) 
    1515!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     
    840840!!====================================================================== 
    841841!!   nammpp            Massively Parallel Processing                    ("key_mpp_mpi) 
    842 !!   nammpp_dyndist    Massively Parallel domain decomposition          ("key_agrif" && "key_mpp_dyndist") 
    843842!!   namctl            Control prints & Benchmark 
    844843!!   namsol            elliptic solver / island / free surface 
     
    868867   jpnj        =   0       !  jpnj   number of processors following j (set automatically if < 1) 
    869868   jpnij       =   0       !  jpnij  number of local domains (set automatically if < 1) 
    870 / 
    871 !----------------------------------------------------------------------- 
    872 &nammpp_dyndist !   Massively Parallel Distribution for AGRIF zoom      ("key_agrif" && "key_mpp_dyndist") 
    873 !----------------------------------------------------------------------- 
    874    jpni        =    1      !  jpni   number of processors following i 
    875    jpnj        =    1      !  jpnj   number of processors following j 
    876    jpnij       =    1      !  jpnij  number of local domains 
    877869/ 
    878870!----------------------------------------------------------------------- 
  • branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/CONFIG/SHARED/namelist_top_ref

    r3901 r4044  
    9797!---------------------------------------------------------------------- 
    9898   ln_diatrc     =  .true.   !  save additional diag. (T) or not (F) 
     99   ln_diabio     =  .true.   !  output biological trends 
    99100   nn_writedia   =  5475     !  time step frequency for diagnostics 
    100101   nn_writebio   =    10     !: frequency of biological outputs 
  • branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/CONFIG/cfg.txt

    r4025 r4044  
    1111ORCA2_LIM OPA_SRC LIM_SRC_2 NST_SRC 
    1212AGRIF OPA_SRC LIM_SRC_2 NST_SRC 
     13GYRE_LONG OPA_SRC 
     14GYRE_4 OPA_SRC 
     15ORCA2LIMPIS_LONG OPA_SRC LIM_SRC_2 NST_SRC TOP_SRC 
     16ORCA2LIMPIS_16 OPA_SRC LIM_SRC_2 NST_SRC TOP_SRC 
     17ORCA2OFFPIS_LONG OPA_SRC OFF_SRC TOP_SRC 
     18ORCA2OFFPIS_16 OPA_SRC OFF_SRC TOP_SRC 
     19AMM12_LONG OPA_SRC 
     20AMM12_32 OPA_SRC 
     21ORCA2AGUL_1_2 OPA_SRC LIM_SRC_2 NST_SRC 
     22SAS_LONG OPA_SRC SAS_SRC LIM_SRC_2 NST_SRC 
     23SAS_32 OPA_SRC SAS_SRC LIM_SRC_2 NST_SRC 
  • branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/NEMO/NST_SRC/agrif_user.F90

    r4025 r4044  
    7272      ENDIF 
    7373   ENDIF 
    74 PRINT *, " cp_cfg = ",cp_cfg," jp_cfg= ", jp_cfg 
    7574   ! Specific fine grid Initializations 
    7675   ! no tracer damping on fine grids 
  • branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/NEMO/OPA_SRC/DOM/domain.F90

    r3993 r4044  
    152152         WRITE(numout,*) '~~~~~~~ ' 
    153153         WRITE(numout,*) '   Namelist namrun' 
    154          WRITE(numout,*) '      configuration name              cp_cfg     = ', cp_cfg 
    155          WRITE(numout,*) '      configuration resolution        jp_cfg     = ', jp_cfg 
    156          WRITE(numout,*) '      experiment name for output      cn_exp     = ', cn_exp 
    157154         WRITE(numout,*) '      job number                      nn_no      = ', nn_no 
    158155         WRITE(numout,*) '      experiment name for output      cn_exp     = ', cn_exp 
     156         WRITE(numout,*) '      file prefix restart input       cn_ocerst_in= ', cn_ocerst_in 
     157         WRITE(numout,*) '      file prefix restart output      cn_ocerst_out= ', cn_ocerst_out 
    159158         WRITE(numout,*) '      restart logical                 ln_rstart  = ', ln_rstart 
    160159         WRITE(numout,*) '      control of time step            nn_rstctl  = ', nn_rstctl 
  • branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/SETTE/all_functions.sh

    r3294 r4044  
    111111   if [ ${#VAR_NAME} -eq 0 ]  
    112112   then 
    113       echo "doing \"set_namelist $@\". " 
    114       echo "variable: \"$2\" is empty" 
    115       echo "control that variable $2 is in \"${EXE_DIR}/$1\" " 
    116       echo "exit" 
    117       echo "error in executing script : set_namelist $@" >> ${SETTE_DIR}/output.sette 
    118       echo "....." >> ${SETTE_DIR}/output.sette 
    119       exit 1 
     113      echo "doing \"set_namelist $@\". "  >> ${SETTE_DIR}/output.sette 
     114      echo "variable: \"$2\" not found in \"${EXE_DIR}/$1\" "  >> ${SETTE_DIR}/output.sette 
     115                NAMREF=$( basename $1 _cfg )_ref 
     116      echo "doing more : search in ${EXE_DIR}/$NAMREF " >> ${SETTE_DIR}/output.sette 
     117                VAR_NAME=$( supergrep $2 ${EXE_DIR}/$NAMREF ) 
     118           if [ ${#VAR_NAME} -eq 0 ]  
     119           then 
     120                    echo " variable $VAR_NAME not found in ${EXE_DIR}/$1 nor in ${EXE_DIR}/$NAMREF " 
     121                    echo " check your variable name " 
     122            echo "exit" 
     123            echo "error in executing script : set_namelist $@" >> ${SETTE_DIR}/output.sette 
     124            echo "....." >> ${SETTE_DIR}/output.sette 
     125            exit 1 
     126                fi 
     127                LINEVAR=$( grep -s -n "$VAR_NAME" ${EXE_DIR}/$NAMREF | awk -F: '{ { print $1} }' ) 
     128                echo " $VAR_NAME found in ${EXE_DIR}/$NAMREF at line $LINEVAR " >> ${SETTE_DIR}/output.sette 
     129#   search for namelist group name 
     130                NAMGRP=$( head -n$LINEVAR ${EXE_DIR}/$NAMREF | grep --line-buffered "^&nam" | tail -1 | awk -F" " '{ { print $1} }' )  
     131                echo " variable $VAR_NAME will be added in $NAMGRP namelist-group of namelist file ${EXE_DIR}/$1 " >> ${SETTE_DIR}/output.sette 
     132# Add $VARNAME in namelist file ${EXE_DIR}/$1 in namelist group $NAMGRP 
     133 
     134                sed "/${NAMGRP} /a\  
     135${VAR_NAME}  
     136 " ${EXE_DIR}/$1 > ${EXE_DIR}/$1.tmp 
     137# if file not empty replace ${EXE_DIR}/$1 
     138                if [ -s ${EXE_DIR}/$1.tmp ] ; then 
     139                   mv ${EXE_DIR}/$1.tmp ${EXE_DIR}/$1  
     140                else 
     141                echo "file ${EXE_DIR}/$1.tmp is empty. sed command went wrong "; exit 200 
     142                fi 
    120143   fi 
     144 
    121145        sed -e "s:${VAR_NAME}.*:${VAR_NAME}:" ${EXE_DIR}/$1 > ${EXE_DIR}/$1.tmp 
    122146        mv ${EXE_DIR}/$1.tmp ${EXE_DIR}/$1 
     
    151175################################################################ 
    152176# SMALL DEBUG 
     177    if [ ! -r ${EXE_DIR}/ocean.output ] 
     178        then 
     179        grep "E R R O R" ${EXE_DIR}/ocean.output && echo "Some ERRORS at execution time, see ${EXE_DIR}/ocean.output" 
     180        exit 2 
     181    fi 
     182 
    153183    if [ ! -r ${EXE_DIR}/time.step ] 
    154184        then 
     
    158188    else 
    159189        echo "file time.step exists"  >> ${SETTE_DIR}/output.sette 
    160         echo "ok model run"   >> ${SETTE_DIR}/output.sette 
    161     fi 
     190        echo "execution of model time step loop started"   >> ${SETTE_DIR}/output.sette 
     191    fi 
     192 
    162193################################################################ 
    163194 
     
    191222    echo "saving ocean & ice output, solver.stat, tracer.stat files ...." >> ${SETTE_DIR}/output.sette 
    192223    echo "            " >> ${SETTE_DIR}/output.sette 
    193     [ -f ${EXE_DIR}/*ocean.output ] && cp ${EXE_DIR}/*ocean.output ${NEMO_VALID}/. 
    194     [ -f ${EXE_DIR}/*solver.stat ] && cp ${EXE_DIR}/*solver.stat ${NEMO_VALID}/. 
    195     [ -f ${EXE_DIR}/*tracer.stat ] && cp ${EXE_DIR}/*tracer.stat ${NEMO_VALID}/. 
     224    [ -f ${EXE_DIR}/ocean.output ] && cp ${EXE_DIR}/*ocean.output ${NEMO_VALID}/. 
     225    [ -f ${EXE_DIR}/solver.stat ] && cp ${EXE_DIR}/*solver.stat ${NEMO_VALID}/. 
     226    [ -f ${EXE_DIR}/output.namelist.dyn ] && cp ${EXE_DIR}/*output.nam* ${NEMO_VALID}/. 
     227    [ -f ${EXE_DIR}/tracer.stat ] && cp ${EXE_DIR}/*tracer.stat ${NEMO_VALID}/. 
     228 
    196229    if [ -n "$(ls ${NEMO_VALID}/*solver*)" ] ; then 
    197230   echo "moved solver.stat in ${NEMO_VALID} directory"  >> ${SETTE_DIR}/output.sette 
  • branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/SETTE/input_AMM12.cfg

    r3680 r4044  
    1 amm12_inputs_v3_4_spinup.tar  
     1AMM12_v3.5.tar AMM12.v3_5 
  • branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/SETTE/input_ORCA2_LIM.cfg

    r3635 r4044  
    1 ORCA2_LIM_nemo_v3.4.tar 
     1ORCA2_LIM_nemo_v3.4.tar ORCA2_LIM_nemo_v3.4 
  • branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/SETTE/input_ORCA2_LIM_AGRIF.cfg

    r3635 r4044  
    1 ORCA2_LIM_nemo_v3.4.tar 
     1ORCA2_LIM_nemo_v3.4.tar ORCA2_LIM_nemo_v3.4 
  • branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/SETTE/input_ORCA2_LIM_PISCES.cfg

    r3635 r4044  
    1 ORCA2_LIM_nemo_v3.4.tar 
     1ORCA2_LIM_nemo_v3.4.tar ORCA2_LIM_PISCES_v3.5 
     2INPUTS_DYNA_v3.tar ORCA2_LIM_PISCES_v3.5  
     3INPUTS_INIT_v3.tar ORCA2_LIM_PISCES_v3.5 
     4INPUTS_PISCES_v3.5.tar ORCA2_LIM_PISCES_v3.5  
  • branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/SETTE/input_ORCA2_OFF_PISCES.cfg

    r3635 r4044  
    1 INPUTS_DYNA_v3.tar  
     1INPUTS_DYNA_v3.tar ORCA2_OFF_PISCES 
     2INPUTS_INIT_v3.tar ORCA2_OFF_PISCES  
     3INPUTS_PISCES_v3.5.tar ORCA2_OFF_PISCES 
  • branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/SETTE/iodef_sette.xml

    r3764 r4044  
    6767  </context> 
    6868   
     69 <context id="1_nemo" time_origin="1950-01-01 00:00:00" > 
     70     
     71    <!-- $id$ --> 
     72     
     73    <!--  
     74============================================================================================================ 
     75=                                  definition of all existing variables                                    = 
     76=                                            DO NOT CHANGE                                                 = 
     77============================================================================================================ 
     78    --> 
     79    <field_definition src="./field_def.xml"/> 
     80    <!--  
     81============================================================================================================ 
     82=                                           output files definition                                        = 
     83=                                            Define your own files                                         = 
     84=                                         put the variables you want...                                    = 
     85============================================================================================================ 
     86    --> 
     87     
     88    <file_definition type="multiple_file" sync_freq="1d" min_digits="4"> 
     89     
     90      <file_group id="1h" output_freq="1h"  output_level="10" enabled=".FALSE."/> <!-- 1h files --> 
     91      <file_group id="2h" output_freq="2h"  output_level="10" enabled=".FALSE."/> <!-- 2h files --> 
     92      <file_group id="3h" output_freq="3h"  output_level="10" enabled=".FALSE."/> <!-- 3h files -->      
     93      <file_group id="4h" output_freq="4h"  output_level="10" enabled=".FALSE."/> <!-- 4h files --> 
     94      <file_group id="6h" output_freq="6h"  output_level="10" enabled=".FALSE."/> <!-- 6h files --> 
     95      
     96      <file_group id="1d" output_freq="1d"  output_level="10" enabled=".FALSE."> <!-- 1d files --> 
     97 
     98   <file id="1d_grid_T" name="auto" description="ocean T grid variables" > 
     99     <field field_ref="sst"          name="tos"      long_name="sea_surface_temperature"                       /> 
     100     <field field_ref="sss"          name="sos"      long_name="sea_surface_salinity"                          /> 
     101     <field field_ref="ssh"          name="zos"      long_name="sea_surface_height_above_geoid"                /> 
     102   </file> 
     103 
     104   <file id="1d_grid_U" name="auto" description="ocean U grid variables" > 
     105     <field field_ref="suoce"        name="uos"     long_name="sea_surface_x_velocity"    /> 
     106   </file> 
     107    
     108   <file id="1d_grid_V" name="auto" description="ocean V grid variables" > 
     109     <field field_ref="svoce"        name="vos"     long_name="sea_surface_y_velocity"    /> 
     110   </file> 
     111    
     112      </file_group> 
     113      <file_group id="3d" output_freq="3d"  output_level="10" enabled=".FALSE."/> <!-- 3d files -->     
     114 
     115      <file_group id="5d" output_freq="5d"  output_level="10" enabled=".FALSE.">  <!-- 5d files -->    
     116 
     117   <file id="5d_grid_T" name="auto" description="ocean T grid variables" > 
     118     <field field_ref="toce"         name="thetao"   long_name="sea_water_potential_temperature"               /> 
     119     <field field_ref="soce"         name="so"       long_name="sea_water_salinity"                            /> 
     120     <field field_ref="sst"          name="tos"      long_name="sea_surface_temperature"                       /> 
     121     <field field_ref="sst2"         name="tossq"    long_name="square_of_sea_surface_temperature"             /> 
     122     <field field_ref="sss"          name="sos"      long_name="sea_surface_salinity"                          /> 
     123     <field field_ref="ssh"          name="zos"      long_name="sea_surface_height_above_geoid"                /> 
     124     <field field_ref="ssh2"         name="zossq"    long_name="square_of_sea_surface_height_above_geoid"      /> 
     125     <field field_ref="empmr"        name="wfo"      long_name="water_flux_into_sea_water"                     /> 
     126     <field field_ref="qsr"          name="rsntds"   long_name="surface_net_downward_shortwave_flux"           /> 
     127     <field field_ref="qt"           name="tohfls"   long_name="surface_net_downward_total_heat_flux"          /> 
     128     <field field_ref="taum"         /> 
     129     <field field_ref="mldkz5"       /> 
     130     <field field_ref="mldr10_1"     /> 
     131   </file> 
     132    
     133   <file id="5d_grid_U" name="auto" description="ocean U grid variables" > 
     134     <field field_ref="uoce"         name="uo"      long_name="sea_water_x_velocity"      /> 
     135     <field field_ref="suoce"        name="uos"     long_name="sea_surface_x_velocity"    /> 
     136     <field field_ref="utau"         name="tauuo"   long_name="surface_downward_x_stress" /> 
     137   </file> 
     138    
     139   <file id="5d_grid_V" name="auto" description="ocean V grid variables" > 
     140     <field field_ref="voce"         name="vo"      long_name="sea_water_y_velocity"      /> 
     141     <field field_ref="svoce"        name="vos"     long_name="sea_surface_y_velocity"    /> 
     142     <field field_ref="vtau"         name="tauvo"   long_name="surface_downward_y_stress" /> 
     143   </file> 
     144    
     145   <file id="5d_grid_W" name="auto" description="ocean W grid variables" > 
     146     <field field_ref="woce"         name="wo"      long_name="ocean vertical velocity"         /> 
     147     <field field_ref="avt"          name="difvho"  long_name="ocean_vertical_heat_diffusivity" /> 
     148   </file> 
     149    
     150   <file id="5d_icemod" name="auto" description="ice variables" > 
     151     <field field_ref="ice_pres"                     /> 
     152     <field field_ref="snowthic_cea" name="snd"     long_name="surface_snow_thickness"   /> 
     153     <field field_ref="icethic_cea"  name="sit"     long_name="sea_ice_thickness"        /> 
     154     <field field_ref="iceprod_cea"  name="sip"     long_name="sea_ice_thickness"        /> 
     155     <field field_ref="ist_ipa"      /> 
     156     <field field_ref="ioceflxb"     /> 
     157     <field field_ref="uice_ipa"     /> 
     158     <field field_ref="vice_ipa"     /> 
     159     <field field_ref="utau_ice"     /> 
     160     <field field_ref="vtau_ice"     /> 
     161     <field field_ref="qsr_io_cea"   /> 
     162     <field field_ref="qns_io_cea"   /> 
     163     <field field_ref="snowpre"      /> 
     164   </file> 
     165    
     166      </file_group> 
     167 
     168      <file_group id="1m" output_freq="1mo" output_level="10" enabled=".FALSE."/> <!-- real monthly files --> 
     169      <file_group id="2m" output_freq="2mo" output_level="10" enabled=".FALSE."/> <!-- real 2m files --> 
     170      <file_group id="3m" output_freq="3mo" output_level="10" enabled=".FALSE."/> <!-- real 3m files --> 
     171      <file_group id="4m" output_freq="4mo" output_level="10" enabled=".FALSE."/> <!-- real 4m files --> 
     172      <file_group id="6m" output_freq="6mo" output_level="10" enabled=".FALSE."/> <!-- real 6m files --> 
     173 
     174      <file_group id="1y"  output_freq="1y" output_level="10" enabled=".FALSE."/> <!-- real yearly files --> 
     175      <file_group id="2y"  output_freq="2y" output_level="10" enabled=".FALSE."/> <!-- real 2y files --> 
     176      <file_group id="5y"  output_freq="5y" output_level="10" enabled=".FALSE."/> <!-- real 5y files --> 
     177      <file_group id="10y" output_freq="10y" output_level="10" enabled=".FALSE."/> <!-- real 10y files --> 
     178 
     179   </file_definition> 
     180     
     181    <!--  
     182============================================================================================================ 
     183= grid definition = = DO NOT CHANGE = 
     184============================================================================================================ 
     185    --> 
     186     
     187   <axis_definition>   
     188      <axis id="deptht" long_name="Vertical T levels" unit="m" positive="down" /> 
     189      <axis id="depthu" long_name="Vertical U levels" unit="m" positive="down" /> 
     190      <axis id="depthv" long_name="Vertical V levels" unit="m" positive="down" /> 
     191      <axis id="depthw" long_name="Vertical W levels" unit="m" positive="down" /> 
     192      <axis id="nfloat" long_name="Float number"      unit="-"  /> 
     193   </axis_definition>  
     194     
     195   <domain_definition src="./domain_def.xml"/> 
     196    
     197   <grid_definition>     
     198     <grid id="grid_T_2D" domain_ref="grid_T"/> 
     199     <grid id="grid_T_3D" domain_ref="grid_T" axis_ref="deptht"/> 
     200     <grid id="grid_U_2D" domain_ref="grid_U"/> 
     201     <grid id="grid_U_3D" domain_ref="grid_U" axis_ref="depthu"/> 
     202     <grid id="grid_V_2D" domain_ref="grid_V"/> 
     203     <grid id="grid_V_3D" domain_ref="grid_V" axis_ref="depthv"/> 
     204     <grid id="grid_W_2D" domain_ref="grid_W"/> 
     205     <grid id="grid_W_3D" domain_ref="grid_W" axis_ref="depthw"/> 
     206    </grid_definition>    
     207  </context> 
     208 
     209 
    69210  <context id="xios"> 
    70211 
  • branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/SETTE/param.cfg

    r3694 r4044  
    11#- forcing files storing  
    2 FORCING_DIR=~/FORCING 
     2FORCING_DIR=~/Documents/WORK/FORCING 
    33#- input files storing  
    44INPUT_DIR=${CONFIG_DIR}/${NEW_CONF}/EXP00 
     
    66#TMPDIR=${CONFIG_DIR}/${NEW_CONF}/EXP00 
    77#- VALIDATION files storing  
    8 NEMO_VALIDATION_DIR=~/NEMO_VALIDATION 
     8NEMO_VALIDATION_DIR=~/Documents/WORK/NEMO_VALIDATION 
  • branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/SETTE/prepare_job.sh

    r3680 r4044  
    9696# export EXE_DIR. This directory is used to execute model  
    9797# 
    98 export EXE_DIR 
    9998# 
    10099# 
     
    112111 
    113112################################################################ 
    114 # SET INPUT 
     113# SET INPUT  
    115114# get the input tarfile if needed 
    116 tar_file=$(sed -ne "1,1p" ${SETTE_DIR}/$INPUTARFILE) 
    117 if [ "$(cat ${SETTE_DIR}/$INPUTARFILE | grep -c ".tar" )" -ne 0 ] ; then 
    118    echo "looking for tar file" >> ${SETTE_DIR}/output.sette 
    119    echo "            " >> ${SETTE_DIR}/output.sette 
    120    cp ${FORCING_DIR}/${tar_file} ${INPUT_DIR}/. 
    121    echo "file in ${INPUT_DIR}" 
    122    if [ ! -f ${INPUT_DIR}/${tar_file} ] ; then  
    123       echo "PROBLEM during copy of tar file" >> ${SETTE_DIR}/output.sette 
    124       echo "tar file IS NOT present in ${INPUT_DIR} directory " >> ${SETTE_DIR}/output.sette 
    125       echo "            " >> ${SETTE_DIR}/output.sette 
    126       echo "PROBLEM during copy of tar file"  
    127       exit 1 
    128    else   
    129       cd ${EXE_DIR} ; tar xvof ${INPUT_DIR}/*.tar ; gunzip -f *gz 
    130    fi 
    131 fi  
    132  
    133 if [ ! -f ${EXE_DIR}/namelist_ice ] ; then  
    134 if [ -f ${EXE_DIR}/namelist_ice_lim2 ] ; then  
    135    echo "choosing for namelist ice " >> ${SETTE_DIR}/output.sette 
    136    echo "            " >> ${SETTE_DIR}/output.sette 
    137    cp ${EXE_DIR}/namelist_ice_lim2 ${EXE_DIR}/namelist_ice 
    138 elif  [ -f ${EXE_DIR}/namelist_ice_lim3 ] ; then  
    139    cp ${EXE_DIR}/namelist_ice_lim3 ${EXE_DIR}/namelist_ice 
    140 fi 
    141 fi 
    142  
    143  
    144 if [ "$(cat ${CONFIG_DIR}/${NEW_CONF}/cpp_${NEW_CONF}.fcm | grep -c "agrif" )" -ne 0 ] ; then 
    145    #- Namelist for ocean and ice (agrif fine grid) 
    146       echo "choosing for namelist for AGRIF" >> ${SETTE_DIR}/output.sette 
    147       echo "            " >> ${SETTE_DIR}/output.sette 
    148    cp ${EXE_DIR}/1_namelist_ice_lim2 ${EXE_DIR}/1_namelist_ice  
     115if [ "$(cat ${SETTE_DIR}/$INPUTARFILE | wc -w)" -ne 0 ] ; then 
     116   echo "looking for input files in ${SETTE_DIR}/$INPUTARFILE " >> ${SETTE_DIR}/output.sette 
     117# number of tarfiles: NBTAR 
     118   NBTAR=`cat ${SETTE_DIR}/$INPUTARFILE |wc -l`  
     119   echo "NB of tarfiles ${NBTAR} " >> ${SETTE_DIR}/output.sette 
     120# loop on tarfiles 
     121   for nbtar_file in ${NBTAR} ; do 
     122# read file name and directory in FORCING dir 
     123      read tar_file dir_conf_forc < ${SETTE_DIR}/$INPUTARFILE 
     124      echo looking for tarfile ${tar_file} and directory ${FORCING_DIR}/${dir_conf_forc} ; echo looking for tarfile ${tar_file} and directory ${FORCING_DIR}/${dir_conf_forc} >> ${SETTE_DIR}/output.sette 
     125      if [ -f ${FORCING_DIR}/${tar_file} ] && [ -d ${FORCING_DIR}/${dir_conf_forc} ] ; then 
     126# Tarfile and input dir ar there, only check the links 
     127         echo "Tarfile and input dir ar there, only check the links" >> ${SETTE_DIR}/output.sette 
     128# extract tarfile 
     129      else  
     130 
     131if [ ! -f ${FORCING_DIR}/${tar_file} ] ; then   
     132     echo "tarfile  ${FORCING_DIR}/${tar_file} cannot be found we stop " ; exit 2 ; fi  
     133 
     134echo "mkdir ${FORCING_DIR}/${dir_conf_forc}" >> ${SETTE_DIR}/output.sette 
     135         mkdir ${FORCING_DIR}/${dir_conf_forc}   
     136         cd    ${FORCING_DIR}/${dir_conf_forc} 
     137echo " extract from tarfile ${FORCING_DIR}/${tar_file} in  ${FORCING_DIR}/${dir_conf_forc}" >> ${SETTE_DIR}/output.sette 
     138         tar xvof ${FORCING_DIR}/${tar_file} ; gunzip -f `find . -name "*.gz"`  
     139      fi 
     140# Tarfile and input dir ar there, only check the links 
     141      cd ${FORCING_DIR}/${dir_conf_forc} 
     142      for fida in * 
     143         do 
     144           [ -f ${EXE_DIR}/${fida} ] || ln -s ${FORCING_DIR}/${dir_conf_forc}/${fida} ${EXE_DIR}/${fida} 
     145         done 
     146    done 
     147 
     148else 
     149  echo "no input file to be searched " 
    149150fi 
    150151################################################################ 
  • branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/SETTE/sette.sh

    r3708 r4044  
    131131#- 
    132132# Compiler among those in NEMOGCM/ARCH 
    133 COMPILER=PW6_VARGAS 
     133COMPILER=macport_osx 
    134134export BATCH_COMMAND_PAR="llsubmit" 
    135135export BATCH_COMMAND_SEQ=$BATCH_COMMAND_PAR 
    136 export INTERACT_FLAG="no" 
     136export INTERACT_FLAG="yes" 
    137137export MPIRUN_FLAG="yes" 
    138138# IF YOU DON'T WANT TO USE XIOS : (this is a list of keys to be delete) 
    139 export KEY_XIOS="key_iomput" 
     139#export KEY_XIOS="key_iomput" 
    140140# IF YOU WANT TO USE XIOS : 
    141 #export KEY_XIOS="" 
     141export KEY_XIOS="" 
    142142 
    143143 
     
    154154cp BATCH_TEMPLATE/batch-${COMPILER} job_batch_template || exit 
    155155 
    156 for config in 1 2 3 4 5 6 7 8 9 
     156for config in 1 2 3 4 5 6 7 8 9 10 11 
     157 
    157158do 
    158159 
     
    161162    ## Restartability tests for GYRE 
    162163    export TEST_NAME="LONG" 
    163     cd ${SETTE_DIR} 
    164     . ../CONFIG/makenemo -m ${CMP_NAM} -n GYRE_LONG -r GYRE -j 8 add_key "key_mpp_mpi" del_key ${KEY_XIOS} 
     164    cd ${CONFIG_DIR} 
     165    . ./makenemo -m ${CMP_NAM} -n GYRE_LONG -r GYRE -j 8 add_key "key_mpp_mpi" del_key ${KEY_XIOS} 
    165166    cd ${SETTE_DIR} 
    166167    . param.cfg 
     
    170171    NPROC=4 
    171172    \rm ${JOB_FILE} 
    172     cd ${EXE_DIR} 
    173     set_namelist namelist cn_exp \"GYRE_LONG\" 
    174     set_namelist namelist nn_it000 1 
    175     set_namelist namelist nn_itend 120 
    176     set_namelist namelist nn_stock 60 
    177     set_namelist namelist ln_clobber .true. 
    178     set_namelist namelist nn_solv 2 
    179     set_namelist namelist jpni 2 
    180     set_namelist namelist jpnj 2 
    181     set_namelist namelist jpnij 4 
    182     cd ${SETTE_DIR} 
     173    cd ${EXE_DIR}   
     174    set_namelist namelist_cfg cn_exp \"GYRE_LONG\" 
     175    set_namelist namelist_cfg nn_it000 1 
     176    set_namelist namelist_cfg nn_itend 120 
     177    set_namelist namelist_cfg nn_stock 60 
     178    set_namelist namelist_cfg ln_clobber .true. 
     179    set_namelist namelist_cfg nn_solv 2 
     180    set_namelist namelist_cfg jpni 2 
     181    set_namelist namelist_cfg jpnj 2 
     182    set_namelist namelist_cfg jpnij 4 
     183    cd ${SETTE_DIR}  
    183184    . ./prepare_job.sh input_GYRE.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 
    184185 
     
    187188    . prepare_exe_dir.sh 
    188189    cd ${EXE_DIR} 
    189     set_namelist namelist cn_exp \"GYRE_SHORT\" 
    190     set_namelist namelist nn_it000 61 
    191     set_namelist namelist nn_itend 120 
    192     set_namelist namelist nn_stock 60 
    193     set_namelist namelist ln_rstart .true. 
    194     set_namelist namelist nn_rstctl 2 
    195     set_namelist namelist ln_clobber .true. 
    196     set_namelist namelist nn_solv 2 
    197     set_namelist namelist jpni 2 
    198     set_namelist namelist jpnj 2 
    199     set_namelist namelist jpnij 4 
    200     set_namelist namelist cn_ocerst_in \"GYRE_LONG_00000060_restart\" 
     190    set_namelist namelist_cfg cn_exp \"GYRE_SHORT\" 
     191    set_namelist namelist_cfg nn_it000 61 
     192    set_namelist namelist_cfg nn_itend 120 
     193    set_namelist namelist_cfg nn_stock 60 
     194    set_namelist namelist_cfg ln_rstart .true. 
     195    set_namelist namelist_cfg nn_rstctl 2 
     196    set_namelist namelist_cfg ln_clobber .true. 
     197    set_namelist namelist_cfg nn_solv 2 
     198    set_namelist namelist_cfg jpni 2 
     199    set_namelist namelist_cfg jpnj 2 
     200    set_namelist namelist_cfg jpnij 4 
     201    set_namelist namelist_cfg cn_ocerst_in \"GYRE_LONG_00000060_restart\" 
    201202    for (( i=1; i<=$NPROC; i++)) ; do 
    202203        L_NPROC=$(( $i - 1 )) 
     
    213214    ## Reproducibility tests for GYRE 
    214215    export TEST_NAME="REPRO_1_4" 
    215     cd ${SETTE_DIR} 
    216     . ../CONFIG/makenemo -m ${CMP_NAM} -n GYRE_4 -r GYRE -j 8 add_key "key_mpp_mpi key_mpp_rep" del_key ${KEY_XIOS} 
     216    cd ${CONFIG_DIR} 
     217    . ./makenemo -m ${CMP_NAM} -n GYRE_4 -r GYRE -j 8 add_key "key_mpp_mpi key_mpp_rep" del_key ${KEY_XIOS} 
    217218    cd ${SETTE_DIR} 
    218219    . param.cfg 
     
    223224    \rm ${JOB_FILE} 
    224225    cd ${EXE_DIR} 
    225     set_namelist namelist cn_exp \"GYRE_14\" 
    226     set_namelist namelist nn_it000 1 
    227     set_namelist namelist nn_itend 60 
    228     set_namelist namelist nn_fwb 0 
    229     set_namelist namelist nn_bench 0 
    230     set_namelist namelist ln_ctl .false. 
    231     set_namelist namelist ln_clobber .true. 
    232     set_namelist namelist nn_solv 2 
    233     set_namelist namelist jpni 1 
    234     set_namelist namelist jpnj 4 
    235     set_namelist namelist jpnij 4 
     226    set_namelist namelist_cfg cn_exp \"GYRE_14\" 
     227    set_namelist namelist_cfg nn_it000 1 
     228    set_namelist namelist_cfg nn_itend 60 
     229    set_namelist namelist_cfg nn_fwb 0 
     230    set_namelist namelist_cfg nn_bench 0 
     231    set_namelist namelist_cfg ln_ctl .false. 
     232    set_namelist namelist_cfg ln_clobber .true. 
     233    set_namelist namelist_cfg nn_solv 2 
     234    set_namelist namelist_cfg jpni 1 
     235    set_namelist namelist_cfg jpnj 4 
     236    set_namelist namelist_cfg jpnij 4 
    236237    cd ${SETTE_DIR} 
    237238    . ./prepare_job.sh input_GYRE.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 
     
    246247    \rm $JOB_FILE 
    247248    cd ${EXE_DIR} 
    248     set_namelist namelist cn_exp \"GYRE_22\" 
    249     set_namelist namelist nn_it000 1 
    250     set_namelist namelist nn_itend 60 
    251     set_namelist namelist nn_fwb 0 
    252     set_namelist namelist ln_ctl .false. 
    253     set_namelist namelist ln_clobber .true. 
    254     set_namelist namelist nn_solv 2 
    255     set_namelist namelist jpni 2 
    256     set_namelist namelist jpnj 2 
    257     set_namelist namelist jpnij 4 
     249    set_namelist namelist_cfg cn_exp \"GYRE_22\" 
     250    set_namelist namelist_cfg nn_it000 1 
     251    set_namelist namelist_cfg nn_itend 60 
     252    set_namelist namelist_cfg nn_fwb 0 
     253    set_namelist namelist_cfg ln_ctl .false. 
     254    set_namelist namelist_cfg ln_clobber .true. 
     255    set_namelist namelist_cfg nn_solv 2 
     256    set_namelist namelist_cfg jpni 2 
     257    set_namelist namelist_cfg jpnj 2 
     258    set_namelist namelist_cfg jpnij 4 
    258259    cd ${SETTE_DIR} 
    259260    . ./prepare_job.sh input_GYRE.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 
     
    267268    ## Restartability tests for ORCA2_LIM_PISCES 
    268269    export TEST_NAME="LONG" 
    269     cd ${SETTE_DIR} 
    270     . ../CONFIG/makenemo -m ${CMP_NAM} -n ORCA2LIMPIS_LONG -r ORCA2_LIM_PISCES -j 8 add_key "key_mpp_mpi" del_key ${KEY_XIOS} 
     270    cd ${CONFIG_DIR} 
     271    . ./makenemo -m ${CMP_NAM} -n ORCA2LIMPIS_LONG -r ORCA2_LIM_PISCES -j 8 add_key "key_mpp_mpi" del_key ${KEY_XIOS} 
    271272    cd ${SETTE_DIR} 
    272273    . param.cfg 
     
    277278    \rm ${JOB_FILE} 
    278279    cd ${EXE_DIR} 
    279     set_namelist namelist cn_exp \"O2LP_LONG\" 
    280     set_namelist namelist nn_it000 1 
    281     set_namelist namelist nn_itend 150 
    282     set_namelist namelist nn_stock 75 
    283     set_namelist namelist ln_clobber .true. 
    284     set_namelist namelist jpni 2 
    285     set_namelist namelist jpnj 2 
    286     set_namelist namelist jpnij 4 
    287     set_namelist namelist nn_solv 2 
    288     set_namelist namelist_top ln_trcdta .false. 
    289     set_namelist namelist_top ln_diatrc .false. 
     280    set_namelist namelist_cfg cn_exp \"O2LP_LONG\" 
     281    set_namelist namelist_cfg nn_it000 1 
     282    set_namelist namelist_cfg nn_itend 150 
     283    set_namelist namelist_cfg nn_stock 75 
     284    set_namelist namelist_cfg ln_clobber .true. 
     285    set_namelist namelist_cfg jpni 2 
     286    set_namelist namelist_cfg jpnj 2 
     287    set_namelist namelist_cfg jpnij 4 
     288    set_namelist namelist_cfg nn_solv 2 
     289    set_namelist namelist_top_cfg ln_trcdta .false. 
     290    set_namelist namelist_top_cfg ln_diatrc .false. 
    290291    # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false 
    291292    # if not you need input files, and for tests is not necessary 
    292     set_namelist namelist_pisces ln_presatm .false. 
    293     set_namelist namelist_pisces ln_varpar .false. 
    294     set_namelist namelist_pisces ln_dust .false. 
    295     set_namelist namelist_pisces ln_solub .false. 
    296     set_namelist namelist_pisces ln_river .false. 
    297     set_namelist namelist_pisces ln_ndepo .false. 
    298     set_namelist namelist_pisces ln_ironsed .false. 
    299     set_namelist namelist_pisces ln_hydrofe .false. 
     293    set_namelist namelist_pisces_cfg ln_presatm .false. 
     294    set_namelist namelist_pisces_cfg ln_varpar .false. 
     295    set_namelist namelist_pisces_cfg ln_dust .false. 
     296    set_namelist namelist_pisces_cfg ln_solub .false. 
     297    set_namelist namelist_pisces_cfg ln_river .false. 
     298    set_namelist namelist_pisces_cfg ln_ndepo .false. 
     299    set_namelist namelist_pisces_cfg ln_ironsed .false. 
     300    set_namelist namelist_pisces_cfg ln_hydrofe .false. 
    300301    cd ${SETTE_DIR} 
    301302    . ./prepare_job.sh input_ORCA2_LIM_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 
     
    305306    . prepare_exe_dir.sh 
    306307    cd ${EXE_DIR} 
    307     set_namelist namelist cn_exp \"O2LP_SHORT\" 
    308     set_namelist namelist nn_it000 76 
    309     set_namelist namelist nn_itend 150 
    310     set_namelist namelist nn_stock 75 
    311     set_namelist namelist ln_rstart .true. 
    312     set_namelist namelist nn_rstctl 2 
    313     set_namelist namelist ln_clobber .true. 
    314     set_namelist namelist jpni 2 
    315     set_namelist namelist jpnj 2 
    316     set_namelist namelist jpnij 4 
    317     set_namelist namelist nn_solv 2 
    318     set_namelist namelist_top ln_diatrc .false. 
    319     set_namelist namelist_top ln_rsttr .true. 
    320     set_namelist namelist_top nn_rsttr 2 
    321     set_namelist namelist cn_ocerst_in \"O2LP_LONG_00000075_restart\" 
    322     set_namelist namelist_ice cn_icerst_in \"O2LP_LONG_00000075_restart_ice\" 
    323     set_namelist namelist_top cn_trcrst_in \"O2LP_LONG_00000075_restart_trc\" 
     308    set_namelist namelist_cfg cn_exp \"O2LP_SHORT\" 
     309    set_namelist namelist_cfg nn_it000 76 
     310    set_namelist namelist_cfg nn_itend 150 
     311    set_namelist namelist_cfg nn_stock 75 
     312    set_namelist namelist_cfg ln_rstart .true. 
     313    set_namelist namelist_cfg nn_rstctl 2 
     314    set_namelist namelist_cfg ln_clobber .true. 
     315    set_namelist namelist_cfg jpni 2 
     316    set_namelist namelist_cfg jpnj 2 
     317    set_namelist namelist_cfg jpnij 4 
     318    set_namelist namelist_cfg nn_solv 2 
     319    set_namelist namelist_top_cfg ln_diatrc .false. 
     320    set_namelist namelist_top_cfg ln_rsttr .true. 
     321    set_namelist namelist_top_cfg nn_rsttr 2 
     322    set_namelist namelist_cfg cn_ocerst_in \"O2LP_LONG_00000075_restart\" 
     323    set_namelist namelist_ice_cfg cn_icerst_in \"O2LP_LONG_00000075_restart_ice\" 
     324    set_namelist namelist_top_cfg cn_trcrst_in \"O2LP_LONG_00000075_restart_trc\" 
    324325    # put ln_ironsed, ln_river, ln_ndepo, ln_dust 
    325326    # if not you need input files, and for tests is not necessary 
    326     set_namelist namelist_pisces ln_presatm .false. 
    327     set_namelist namelist_pisces ln_varpar .false. 
    328     set_namelist namelist_pisces ln_dust .false. 
    329     set_namelist namelist_pisces ln_solub .false. 
    330     set_namelist namelist_pisces ln_river .false. 
    331     set_namelist namelist_pisces ln_ndepo .false. 
    332     set_namelist namelist_pisces ln_ironsed .false. 
    333     set_namelist namelist_pisces ln_hydrofe .false. 
     327    set_namelist namelist_pisces_cfg ln_presatm .false. 
     328    set_namelist namelist_pisces_cfg ln_varpar .false. 
     329    set_namelist namelist_pisces_cfg ln_dust .false. 
     330    set_namelist namelist_pisces_cfg ln_solub .false. 
     331    set_namelist namelist_pisces_cfg ln_river .false. 
     332    set_namelist namelist_pisces_cfg ln_ndepo .false. 
     333    set_namelist namelist_pisces_cfg ln_ironsed .false. 
     334    set_namelist namelist_pisces_cfg ln_hydrofe .false. 
    334335    # put ln_pisdmp to false : no restoring to global mean value 
    335     set_namelist namelist_pisces ln_pisdmp .false. 
     336    set_namelist namelist_pisces_cfg ln_pisdmp .false. 
    336337    for (( i=1; i<=$NPROC; i++)) ; do 
    337338        L_NPROC=$(( $i - 1 )) 
     
    350351    ## Reproducibility tests for ORCA2_LIM_PISCES 
    351352    export TEST_NAME="REPRO_4_4" 
    352     cd ${SETTE_DIR} 
    353     . ../CONFIG/makenemo -m ${CMP_NAM} -n ORCA2LIMPIS_16 -r ORCA2_LIM_PISCES -j 8 add_key "key_mpp_mpi key_mpp_rep" del_key ${KEY_XIOS} 
     353    cd ${CONFIG_DIR} 
     354    . ./makenemo -m ${CMP_NAM} -n ORCA2LIMPIS_16 -r ORCA2_LIM_PISCES -j 8 add_key "key_mpp_mpi key_mpp_rep" del_key ${KEY_XIOS} 
    354355    cd ${SETTE_DIR} 
    355356    . param.cfg 
     
    360361    \rm $JOB_FILE 
    361362    cd ${EXE_DIR} 
    362     set_namelist namelist nn_it000 1 
    363     set_namelist namelist nn_itend 75 
    364     set_namelist namelist nn_fwb 0 
    365     set_namelist namelist ln_ctl .false. 
    366     set_namelist namelist ln_clobber .true. 
    367     set_namelist namelist jpni 4 
    368     set_namelist namelist jpnj 4 
    369     set_namelist namelist jpnij 16 
    370     set_namelist namelist nn_solv 2 
    371     set_namelist namelist_top ln_trcdta .false. 
    372     set_namelist namelist_top ln_diatrc .false. 
     363    set_namelist namelist_cfg nn_it000 1 
     364    set_namelist namelist_cfg nn_itend 75 
     365    set_namelist namelist_cfg nn_fwb 0 
     366    set_namelist namelist_cfg ln_ctl .false. 
     367    set_namelist namelist_cfg ln_clobber .true. 
     368    set_namelist namelist_cfg jpni 4 
     369    set_namelist namelist_cfg jpnj 4 
     370    set_namelist namelist_cfg jpnij 16 
     371    set_namelist namelist_cfg nn_solv 2 
     372    set_namelist namelist_top_cfg ln_trcdta .false. 
     373    set_namelist namelist_top_cfg ln_diatrc .false. 
    373374    # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false 
    374375    # if not you need input files, and for tests is not necessary 
    375     set_namelist namelist_pisces ln_presatm .false. 
    376     set_namelist namelist_pisces ln_varpar .false. 
    377     set_namelist namelist_pisces ln_dust .false. 
    378     set_namelist namelist_pisces ln_solub .false. 
    379     set_namelist namelist_pisces ln_river .false. 
    380     set_namelist namelist_pisces ln_ndepo .false. 
    381     set_namelist namelist_pisces ln_ironsed .false. 
    382     set_namelist namelist_pisces ln_hydrofe .false. 
     376    set_namelist namelist_pisces_cfg ln_presatm .false. 
     377    set_namelist namelist_pisces_cfg ln_varpar .false. 
     378    set_namelist namelist_pisces_cfg ln_dust .false. 
     379    set_namelist namelist_pisces_cfg ln_solub .false. 
     380    set_namelist namelist_pisces_cfg ln_river .false. 
     381    set_namelist namelist_pisces_cfg ln_ndepo .false. 
     382    set_namelist namelist_pisces_cfg ln_ironsed .false. 
     383    set_namelist namelist_pisces_cfg ln_hydrofe .false. 
    383384    # put ln_pisdmp to false : no restoring to global mean value 
    384     set_namelist namelist_pisces ln_pisdmp .false. 
     385    set_namelist namelist_pisces_cfg ln_pisdmp .false. 
    385386    cd ${SETTE_DIR} 
    386387    . ./prepare_job.sh input_ORCA2_LIM_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 
     
    395396    \rm $JOB_FILE 
    396397    cd ${EXE_DIR} 
    397     set_namelist namelist nn_it000 1 
    398     set_namelist namelist nn_itend 75 
    399     set_namelist namelist nn_fwb 0 
    400     set_namelist namelist ln_clobber .true. 
    401     set_namelist namelist jpni 2 
    402     set_namelist namelist jpnj 8 
    403     set_namelist namelist jpnij 16 
    404     set_namelist namelist nn_solv 2 
    405     set_namelist namelist_top ln_trcdta .false. 
    406     set_namelist namelist_top ln_diatrc .false. 
     398    set_namelist namelist_cfg nn_it000 1 
     399    set_namelist namelist_cfg nn_itend 75 
     400    set_namelist namelist_cfg nn_fwb 0 
     401    set_namelist namelist_cfg ln_clobber .true. 
     402    set_namelist namelist_cfg jpni 2 
     403    set_namelist namelist_cfg jpnj 8 
     404    set_namelist namelist_cfg jpnij 16 
     405    set_namelist namelist_cfg nn_solv 2 
     406    set_namelist namelist_top_cfg ln_trcdta .false. 
     407    set_namelist namelist_top_cfg ln_diatrc .false. 
    407408    # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false 
    408409    # if not you need input files, and for tests is not necessary 
    409     set_namelist namelist_pisces ln_presatm .false. 
    410     set_namelist namelist_pisces ln_varpar .false. 
    411     set_namelist namelist_pisces ln_dust .false. 
    412     set_namelist namelist_pisces ln_solub .false. 
    413     set_namelist namelist_pisces ln_river .false. 
    414     set_namelist namelist_pisces ln_ndepo .false. 
    415     set_namelist namelist_pisces ln_ironsed .false. 
    416     set_namelist namelist_pisces ln_hydrofe .false. 
     410    set_namelist namelist_pisces_cfg ln_presatm .false. 
     411    set_namelist namelist_pisces_cfg ln_varpar .false. 
     412    set_namelist namelist_pisces_cfg ln_dust .false. 
     413    set_namelist namelist_pisces_cfg ln_solub .false. 
     414    set_namelist namelist_pisces_cfg ln_river .false. 
     415    set_namelist namelist_pisces_cfg ln_ndepo .false. 
     416    set_namelist namelist_pisces_cfg ln_ironsed .false. 
     417    set_namelist namelist_pisces_cfg ln_hydrofe .false. 
    417418    # put ln_pisdmp to false : no restoring to global mean value 
    418     set_namelist namelist_pisces ln_pisdmp .false. 
     419    set_namelist namelist_pisces_cfg ln_pisdmp .false. 
    419420    cd ${SETTE_DIR} 
    420421    . ./prepare_job.sh input_ORCA2_LIM_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 
     
    427428    ## Restartability tests for ORCA2_OFF_PISCES 
    428429    export TEST_NAME="LONG" 
    429     cd ${SETTE_DIR} 
    430     . ../CONFIG/makenemo -m ${CMP_NAM} -n ORCA2OFFPIS_LONG -r ORCA2_OFF_PISCES -j 8 add_key "key_mpp_mpi key_mpp_rep" del_key ${KEY_XIOS} 
     430    cd ${CONFIG_DIR} 
     431    . ./makenemo -m ${CMP_NAM} -n ORCA2OFFPIS_LONG -r ORCA2_OFF_PISCES -j 8 add_key "key_mpp_mpi key_mpp_rep" del_key ${KEY_XIOS} 
    431432    cd ${SETTE_DIR} 
    432433    . param.cfg 
     
    437438    \rm $JOB_FILE 
    438439    cd ${EXE_DIR} 
    439     set_namelist namelist cn_exp \"OFFP_LONG\" 
    440     set_namelist namelist nn_it000 1 
    441     set_namelist namelist nn_itend 40 
    442     set_namelist namelist nn_stock 20 
    443     set_namelist namelist ln_clobber .true. 
    444     set_namelist namelist jpni 2 
    445     set_namelist namelist jpnj 2 
    446     set_namelist namelist jpnij 4 
    447     set_namelist namelist_top ln_trcdta .false. 
    448     set_namelist namelist_top ln_diatrc .false. 
     440    set_namelist namelist_cfg cn_exp \"OFFP_LONG\" 
     441    set_namelist namelist_cfg nn_it000 1 
     442    set_namelist namelist_cfg nn_itend 40 
     443    set_namelist namelist_cfg nn_stock 20 
     444    set_namelist namelist_cfg ln_clobber .true. 
     445    set_namelist namelist_cfg jpni 2 
     446    set_namelist namelist_cfg jpnj 2 
     447    set_namelist namelist_cfg jpnij 4 
     448    set_namelist namelist_top_cfg ln_trcdta .false. 
     449    set_namelist namelist_top_cfg ln_diatrc .false. 
    449450    # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false 
    450451    # if not you need input files, and for tests is not necessary 
    451     set_namelist namelist_pisces ln_presatm .false. 
    452     set_namelist namelist_pisces ln_varpar .false. 
    453     set_namelist namelist_pisces ln_dust .false. 
    454     set_namelist namelist_pisces ln_solub .false. 
    455     set_namelist namelist_pisces ln_river .false. 
    456     set_namelist namelist_pisces ln_ndepo .false. 
    457     set_namelist namelist_pisces ln_ironsed .false. 
    458     set_namelist namelist_pisces ln_hydrofe .false. 
     452    set_namelist namelist_pisces_cfg ln_presatm .false. 
     453    set_namelist namelist_pisces_cfg ln_varpar .false. 
     454    set_namelist namelist_pisces_cfg ln_dust .false. 
     455    set_namelist namelist_pisces_cfg ln_solub .false. 
     456    set_namelist namelist_pisces_cfg ln_river .false. 
     457    set_namelist namelist_pisces_cfg ln_ndepo .false. 
     458    set_namelist namelist_pisces_cfg ln_ironsed .false. 
     459    set_namelist namelist_pisces_cfg ln_hydrofe .false. 
    459460    # put ln_pisdmp to false : no restoring to global mean value 
    460     set_namelist namelist_pisces ln_pisdmp .false. 
     461    set_namelist namelist_pisces_cfg ln_pisdmp .false. 
    461462    cd ${SETTE_DIR} 
    462463    . ./prepare_job.sh input_ORCA2_OFF_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 
     
    466467    . prepare_exe_dir.sh 
    467468    cd ${EXE_DIR} 
    468     set_namelist namelist cn_exp \"OFFP_SHORT\" 
    469     set_namelist namelist nn_it000 21 
    470     set_namelist namelist nn_itend 40 
    471     set_namelist namelist nn_stock 20 
    472     set_namelist namelist ln_clobber .true. 
    473     set_namelist namelist jpni 2 
    474     set_namelist namelist jpnj 2 
    475     set_namelist namelist jpnij 4 
    476     set_namelist namelist_top ln_diatrc .false. 
    477     set_namelist namelist_top ln_rsttr .true. 
    478     set_namelist namelist_top nn_rsttr 2 
    479     set_namelist namelist_top cn_trcrst_in \"OFFP_LONG_00000020_restart_trc\" 
     469    set_namelist namelist_cfg cn_exp \"OFFP_SHORT\" 
     470    set_namelist namelist_cfg nn_it000 21 
     471    set_namelist namelist_cfg nn_itend 40 
     472    set_namelist namelist_cfg nn_stock 20 
     473    set_namelist namelist_cfg ln_clobber .true. 
     474    set_namelist namelist_cfg jpni 2 
     475    set_namelist namelist_cfg jpnj 2 
     476    set_namelist namelist_cfg jpnij 4 
     477    set_namelist namelist_top_cfg ln_diatrc .false. 
     478    set_namelist namelist_top_cfg ln_rsttr .true. 
     479    set_namelist namelist_top_cfg nn_rsttr 2 
     480    set_namelist namelist_top_cfg cn_trcrst_in \"OFFP_LONG_00000020_restart_trc\" 
    480481    for (( i=1; i<=$NPROC; i++)) ; do 
    481482        L_NPROC=$(( $i - 1 )) 
     
    485486    # put ln_ironsed, ln_river, ln_ndepo, ln_dust 
    486487    # if not you need input files, and for tests is not necessary 
    487     set_namelist namelist_pisces ln_presatm .false. 
    488     set_namelist namelist_pisces ln_varpar .false. 
    489     set_namelist namelist_pisces ln_dust .false. 
    490     set_namelist namelist_pisces ln_solub .false. 
    491     set_namelist namelist_pisces ln_river .false. 
    492     set_namelist namelist_pisces ln_ndepo .false. 
    493     set_namelist namelist_pisces ln_ironsed .false. 
    494     set_namelist namelist_pisces ln_hydrofe .false. 
     488    set_namelist namelist_pisces_cfg ln_presatm .false. 
     489    set_namelist namelist_pisces_cfg ln_varpar .false. 
     490    set_namelist namelist_pisces_cfg ln_dust .false. 
     491    set_namelist namelist_pisces_cfg ln_solub .false. 
     492    set_namelist namelist_pisces_cfg ln_river .false. 
     493    set_namelist namelist_pisces_cfg ln_ndepo .false. 
     494    set_namelist namelist_pisces_cfg ln_ironsed .false. 
     495    set_namelist namelist_pisces_cfg ln_hydrofe .false. 
    495496    # put ln_pisdmp to false : no restoring to global mean value 
    496     set_namelist namelist_pisces ln_pisdmp .false. 
     497    set_namelist namelist_pisces_cfg ln_pisdmp .false. 
    497498    cd ${SETTE_DIR} 
    498499    . ./prepare_job.sh input_ORCA2_OFF_PISCES.cfg $NPROC ${TEST_NAME}  ${MPIRUN_FLAG} ${JOB_FILE} 
     
    504505    ## Reproducibility tests for ORCA2_OFF_PISCES 
    505506    export TEST_NAME="REPRO_4_4" 
    506     cd ${SETTE_DIR} 
    507     . ../CONFIG/makenemo -m ${CMP_NAM} -n ORCA2OFFPIS_16 -r ORCA2_OFF_PISCES -j 8 add_key "key_mpp_mpi key_mpp_rep" del_key ${KEY_XIOS} 
     507    cd ${CONFIG_DIR} 
     508    . ./makenemo -m ${CMP_NAM} -n ORCA2OFFPIS_16 -r ORCA2_OFF_PISCES -j 8 add_key "key_mpp_mpi key_mpp_rep" del_key ${KEY_XIOS} 
    508509    cd ${SETTE_DIR} 
    509510    . param.cfg 
     
    514515    \rm $JOB_FILE 
    515516    cd ${EXE_DIR} 
    516     set_namelist namelist nn_it000 1 
    517     set_namelist namelist nn_itend 40 
    518     set_namelist namelist ln_ctl .false. 
    519     set_namelist namelist ln_clobber .true. 
    520     set_namelist namelist jpni 4 
    521     set_namelist namelist jpnj 4 
    522     set_namelist namelist jpnij 16 
    523     set_namelist namelist_top ln_trcdta .false. 
    524     set_namelist namelist_top ln_diatrc .false. 
     517    set_namelist namelist_cfg nn_it000 1 
     518    set_namelist namelist_cfg nn_itend 40 
     519    set_namelist namelist_cfg ln_ctl .false. 
     520    set_namelist namelist_cfg ln_clobber .true. 
     521    set_namelist namelist_cfg jpni 4 
     522    set_namelist namelist_cfg jpnj 4 
     523    set_namelist namelist_cfg jpnij 16 
     524    set_namelist namelist_top_cfg ln_trcdta .false. 
     525    set_namelist namelist_top_cfg ln_diatrc .false. 
    525526    # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false 
    526527    # if not you need input files, and for tests is not necessary 
    527     set_namelist namelist_pisces ln_presatm .false. 
    528     set_namelist namelist_pisces ln_varpar .false. 
    529     set_namelist namelist_pisces ln_dust .false. 
    530     set_namelist namelist_pisces ln_solub .false. 
    531     set_namelist namelist_pisces ln_river .false. 
    532     set_namelist namelist_pisces ln_ndepo .false. 
    533     set_namelist namelist_pisces ln_ironsed .false. 
    534     set_namelist namelist_pisces ln_hydrofe .false. 
     528    set_namelist namelist_pisces_cfg ln_presatm .false. 
     529    set_namelist namelist_pisces_cfg ln_varpar .false. 
     530    set_namelist namelist_pisces_cfg ln_dust .false. 
     531    set_namelist namelist_pisces_cfg ln_solub .false. 
     532    set_namelist namelist_pisces_cfg ln_river .false. 
     533    set_namelist namelist_pisces_cfg ln_ndepo .false. 
     534    set_namelist namelist_pisces_cfg ln_ironsed .false. 
     535    set_namelist namelist_pisces_cfg ln_hydrofe .false. 
    535536    # put ln_pisdmp to false : no restoring to global mean value 
    536     set_namelist namelist_pisces ln_pisdmp .false. 
     537    set_namelist namelist_pisces_cfg ln_pisdmp .false. 
    537538    cd ${SETTE_DIR} 
    538539    . ./prepare_job.sh input_ORCA2_OFF_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 
     
    547548    \rm $JOB_FILE 
    548549    cd ${EXE_DIR} 
    549     set_namelist namelist nn_it000 1 
    550     set_namelist namelist nn_itend 40 
    551     set_namelist namelist ln_ctl .false. 
    552     set_namelist namelist ln_clobber .true. 
    553     set_namelist namelist jpni 2 
    554     set_namelist namelist jpnj 8 
    555     set_namelist namelist jpnij 16 
    556     set_namelist namelist_top ln_trcdta .false. 
    557     set_namelist namelist_top ln_diatrc .false. 
     550    set_namelist namelist_cfg nn_it000 1 
     551    set_namelist namelist_cfg nn_itend 40 
     552    set_namelist namelist_cfg ln_ctl .false. 
     553    set_namelist namelist_cfg ln_clobber .true. 
     554    set_namelist namelist_cfg jpni 2 
     555    set_namelist namelist_cfg jpnj 8 
     556    set_namelist namelist_cfg jpnij 16 
     557    set_namelist namelist_top_cfg ln_trcdta .false. 
     558    set_namelist namelist_top_cfg ln_diatrc .false. 
    558559    # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false 
    559560    # if not you need input files, and for tests is not necessary 
    560     set_namelist namelist_pisces ln_presatm .false. 
    561     set_namelist namelist_pisces ln_varpar .false. 
    562     set_namelist namelist_pisces ln_dust .false. 
    563     set_namelist namelist_pisces ln_solub .false. 
    564     set_namelist namelist_pisces ln_river .false. 
    565     set_namelist namelist_pisces ln_ndepo .false. 
    566     set_namelist namelist_pisces ln_ironsed .false. 
    567     set_namelist namelist_pisces ln_hydrofe .false. 
     561    set_namelist namelist_pisces_cfg ln_presatm .false. 
     562    set_namelist namelist_pisces_cfg ln_varpar .false. 
     563    set_namelist namelist_pisces_cfg ln_dust .false. 
     564    set_namelist namelist_pisces_cfg ln_solub .false. 
     565    set_namelist namelist_pisces_cfg ln_river .false. 
     566    set_namelist namelist_pisces_cfg ln_ndepo .false. 
     567    set_namelist namelist_pisces_cfg ln_ironsed .false. 
     568    set_namelist namelist_pisces_cfg ln_hydrofe .false. 
    568569    # put ln_pisdmp to false : no restoring to global mean value 
    569     set_namelist namelist_pisces ln_pisdmp .false.  
     570    set_namelist namelist_pisces_cfg ln_pisdmp .false.  
    570571    cd ${SETTE_DIR} 
    571572    . ./prepare_job.sh input_ORCA2_OFF_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 
     
    578579    ## Restartability tests for AMM12 
    579580    export TEST_NAME="LONG" 
    580     cd ${SETTE_DIR} 
    581     . ../CONFIG/makenemo -m ${CMP_NAM} -n AMM12_LONG -r AMM12 -j 8 add_key "key_tide" del_key ${KEY_XIOS} 
     581    cd ${CONFIG_DIR} 
     582    . ./makenemo -m ${CMP_NAM} -n AMM12_LONG -r AMM12 -j 8 add_key "key_tide" del_key ${KEY_XIOS} 
    582583    cd ${SETTE_DIR} 
    583584    . param.cfg 
     
    588589    \rm $JOB_FILE 
    589590    cd ${EXE_DIR} 
    590     set_namelist namelist nn_it000 1 
    591     set_namelist namelist nn_itend 12 
    592     set_namelist namelist nn_stock 6 
    593     set_namelist namelist nn_fwb 0 
    594     set_namelist namelist ln_ctl .false. 
    595     set_namelist namelist ln_clobber .true. 
    596     set_namelist namelist nn_dyn2d 2 
    597     set_namelist namelist nn_tra_dta 0 
    598     set_namelist namelist cn_ocerst_in \"amm12.restart_20070101\" 
    599     set_namelist namelist jpni 8 
    600     set_namelist namelist jpnj 4 
    601     set_namelist namelist jpnij 32 
     591    set_namelist namelist_cfg nn_it000 1 
     592    set_namelist namelist_cfg nn_itend 12 
     593    set_namelist namelist_cfg nn_stock 6 
     594    set_namelist namelist_cfg nn_fwb 0 
     595    set_namelist namelist_cfg ln_ctl .false. 
     596    set_namelist namelist_cfg ln_clobber .true. 
     597    set_namelist namelist_cfg nn_dyn2d 2 
     598    set_namelist namelist_cfg nn_tra_dta 0 
     599    set_namelist namelist_cfg cn_ocerst_in \"amm12_restart_oce\" 
     600ln -s restarts/amm12_restart_oce.nc amm12_restart_oce.nc 
     601    set_namelist namelist_cfg jpni 8 
     602    set_namelist namelist_cfg jpnj 4 
     603    set_namelist namelist_cfg jpnij 32 
    602604    cd ${SETTE_DIR} 
    603605    . ./prepare_job.sh input_AMM12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 
     
    607609    . prepare_exe_dir.sh 
    608610    cd ${EXE_DIR} 
    609     set_namelist namelist nn_it000 7 
    610     set_namelist namelist nn_itend 12 
    611     set_namelist namelist nn_fwb 0 
    612     set_namelist namelist ln_ctl .false. 
    613     set_namelist namelist ln_clobber .true. 
    614     set_namelist namelist nn_dyn2d 2 
    615     set_namelist namelist nn_tra_dta 0 
    616     set_namelist namelist jpni 8 
    617     set_namelist namelist jpnj 4 
    618     set_namelist namelist jpnij 32 
    619     set_namelist namelist ln_rstart .true. 
    620     set_namelist namelist nn_rstctl 2 
    621     set_namelist namelist cn_ocerst_in \"AMM12_00000006_restart\" 
     611    set_namelist namelist_cfg nn_it000 7 
     612    set_namelist namelist_cfg nn_itend 12 
     613    set_namelist namelist_cfg nn_fwb 0 
     614    set_namelist namelist_cfg ln_ctl .false. 
     615    set_namelist namelist_cfg ln_clobber .true. 
     616    set_namelist namelist_cfg nn_dyn2d 2 
     617    set_namelist namelist_cfg nn_tra_dta 0 
     618    set_namelist namelist_cfg jpni 8 
     619    set_namelist namelist_cfg jpnj 4 
     620    set_namelist namelist_cfg jpnij 32 
     621    set_namelist namelist_cfg ln_rstart .true. 
     622    set_namelist namelist_cfg nn_rstctl 2 
     623    set_namelist namelist_cfg cn_ocerst_in \"AMM12_00000006_restart_oce_out\" 
    622624    for (( i=1; i<=$NPROC; i++)) ; do 
    623625        L_NPROC=$(( $i - 1 )) 
    624626        L_NPROC=`printf "%04d\n" ${L_NPROC}` 
    625         ln -sf ../LONG/AMM12_00000006_restart_${L_NPROC}.nc . 
     627        ln -sf ../LONG/AMM12_00000006_restart_oce_out_${L_NPROC}.nc . 
    626628    done 
    627629    cd ${SETTE_DIR} 
     
    634636## Reproducibility tests for AMM12 
    635637    export TEST_NAME="REPRO_8_4" 
    636     cd ${SETTE_DIR} 
    637     . ../CONFIG/makenemo -m ${CMP_NAM} -n AMM12_32 -r AMM12 -j 8 add_key "key_mpp_rep key_tide" del_key ${KEY_XIOS} 
     638    cd ${CONFIG_DIR} 
     639    . ./makenemo -m ${CMP_NAM} -n AMM12_32 -r AMM12 -j 8 add_key "key_mpp_rep key_tide" del_key ${KEY_XIOS}   
    638640    cd ${SETTE_DIR} 
    639641    . param.cfg 
     
    644646    \rm ${JOB_FILE} 
    645647    cd ${EXE_DIR} 
    646     set_namelist namelist nn_it000 1 
    647     set_namelist namelist nn_itend 576 
    648     set_namelist namelist nn_fwb 0 
    649     set_namelist namelist ln_ctl .false. 
    650     set_namelist namelist ln_clobber .true. 
    651     set_namelist namelist nn_dyn2d 2 
    652     set_namelist namelist nn_tra_dta 0 
    653     set_namelist namelist cn_ocerst_in \"amm12.restart_20070101\" 
    654     set_namelist namelist jpni 8 
    655     set_namelist namelist jpnj 4 
    656     set_namelist namelist jpnij 32 
     648    set_namelist namelist_cfg nn_it000 1 
     649    set_namelist namelist_cfg nn_itend 576 
     650    set_namelist namelist_cfg nn_fwb 0 
     651    set_namelist namelist_cfg ln_ctl .false. 
     652    set_namelist namelist_cfg ln_clobber .true. 
     653    set_namelist namelist_cfg nn_dyn2d 2 
     654    set_namelist namelist_cfg nn_tra_dta 0 
     655    set_namelist namelist_cfg cn_ocerst_in \"amm12_restart_oce\" 
     656    set_namelist namelist_cfg jpni 8 
     657    set_namelist namelist_cfg jpnj 4 
     658    set_namelist namelist_cfg jpnij 32 
    657659    cd ${SETTE_DIR} 
    658660    . ./prepare_job.sh input_AMM12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 
     
    664666    . prepare_exe_dir.sh 
    665667    cd ${EXE_DIR} 
    666     set_namelist namelist nn_it000 1 
    667     set_namelist namelist nn_itend 576 
    668     set_namelist namelist nn_fwb 0 
    669     set_namelist namelist ln_ctl .false. 
    670     set_namelist namelist nn_dyn2d 2 
    671     set_namelist namelist nn_tra_dta 0 
    672     set_namelist namelist ln_clobber .true. 
    673     set_namelist namelist cn_ocerst_in \"amm12.restart_20070101\" 
    674     set_namelist namelist jpni 4 
    675     set_namelist namelist jpnj 8 
    676     set_namelist namelist jpnij 32 
     668    set_namelist namelist_cfg nn_it000 1 
     669    set_namelist namelist_cfg nn_itend 576 
     670    set_namelist namelist_cfg nn_fwb 0 
     671    set_namelist namelist_cfg ln_ctl .false. 
     672    set_namelist namelist_cfg nn_dyn2d 2 
     673    set_namelist namelist_cfg nn_tra_dta 0 
     674    set_namelist namelist_cfg ln_clobber .true. 
     675    set_namelist namelist_cfg cn_ocerst_in \"amm12_restart_oce\" 
     676    set_namelist namelist_cfg jpni 4 
     677    set_namelist namelist_cfg jpnj 8 
     678    set_namelist namelist_cfg jpnij 32 
    677679    cd ${SETTE_DIR} 
    678680    . ./prepare_job.sh input_AMM12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 
     
    685687    ## ORCA2_LIM with Agulhas AGRIF zoom in MPI 
    686688    export TEST_NAME="SHORT" 
    687     cd ${SETTE_DIR} 
    688     . ../CONFIG/makenemo -m ${CMP_NAM} -n ORCA2AGUL_1_2 -r ORCA2_LIM -j 8 add_key "key_mpp_mpi key_mpp_rep key_agrif" del_key "key_zdftmx" del_key ${KEY_XIOS} 
     689    cd ${CONFIG_DIR} 
     690    . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_1_2 -r ORCA2_LIM -j 8 add_key "key_mpp_mpi key_mpp_rep key_agrif" del_key "key_zdftmx" del_key ${KEY_XIOS} 
    689691    cd ${SETTE_DIR} 
    690692    . param.cfg 
     
    695697    \rm ${JOB_FILE} 
    696698    cd ${EXE_DIR} 
    697     set_namelist namelist nn_it000 1 
    698     set_namelist namelist nn_itend 75 
    699     set_namelist namelist ln_ctl .false. 
    700     set_namelist namelist ln_clobber .true. 
    701     set_namelist namelist jpni 1 
    702     set_namelist namelist jpnj 2 
    703     set_namelist namelist jpnij 2 
    704     set_namelist 1_namelist nn_it000 1 
    705     set_namelist 1_namelist nn_itend 150 
    706     set_namelist 1_namelist ln_ctl .false. 
    707     set_namelist 1_namelist ln_clobber .true. 
     699    set_namelist namelist_cfg nn_it000 1 
     700    set_namelist namelist_cfg nn_itend 75 
     701    set_namelist namelist_cfg ln_ctl .false. 
     702    set_namelist namelist_cfg ln_clobber .true. 
     703    set_namelist namelist_cfg jpni 1 
     704    set_namelist namelist_cfg jpnj 2 
     705    set_namelist namelist_cfg jpnij 2 
     706    set_namelist 1_namelist_cfg nn_it000 1 
     707    set_namelist 1_namelist_cfg nn_itend 150 
     708    set_namelist 1_namelist_cfg ln_ctl .false. 
     709    set_namelist 1_namelist_cfg ln_clobber .true. 
    708710    cd ${SETTE_DIR} 
    709711    . ./prepare_job.sh input_ORCA2_LIM_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 
     
    712714fi 
    713715 
     716# TESTS FOR ORCA2_SAS_LIM CONFIGURATION 
     717if [ ${config} -eq 10 ] ;  then 
     718    ## Restartability tests for SAS 
     719    export TEST_NAME="LONG" 
     720    cd ${CONFIG_DIR} 
     721    . ./makenemo -m ${CMP_NAM} -n SAS_LONG -r ORCA2_SAS_LIM -j 8 add_key " " del_key ${KEY_XIOS} 
     722    cd ${SETTE_DIR} 
     723    . param.cfg 
     724    . all_functions.sh 
     725    . prepare_exe_dir.sh 
     726    JOB_FILE=${EXE_DIR}/run_job.sh 
     727    NPROC=32 
     728    \rm $JOB_FILE 
     729    cd ${EXE_DIR} 
     730    set_namelist namelist_cfg cn_exp \"SAS\" 
     731    set_namelist namelist_cfg nn_it000 1 
     732    set_namelist namelist_cfg nn_itend 100 
     733    set_namelist namelist_cfg nn_stock 50 
     734    set_namelist namelist_cfg ln_ctl .false. 
     735    set_namelist namelist_cfg ln_clobber .true. 
     736    set_namelist namelist_cfg jpni 8 
     737    set_namelist namelist_cfg jpnj 4 
     738    set_namelist namelist_cfg jpnij 32 
     739    cd ${SETTE_DIR} 
     740    . ./prepare_job.sh input_SAS.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 
     741 
     742    cd ${SETTE_DIR} 
     743    export TEST_NAME="SHORT" 
     744    . prepare_exe_dir.sh 
     745    cd ${EXE_DIR} 
     746    set_namelist namelist_cfg cn_exp \"SAS\" 
     747    set_namelist namelist_cfg nn_it000 51 
     748    set_namelist namelist_cfg nn_itend 100 
     749    set_namelist namelist_cfg ln_ctl .false. 
     750    set_namelist namelist_cfg ln_clobber .true. 
     751    set_namelist namelist_cfg jpni 8 
     752    set_namelist namelist_cfg jpnj 4 
     753    set_namelist namelist_cfg jpnij 32 
     754    set_namelist namelist_cfg nn_rstctl 2 
     755    set_namelist namelist_cfg cn_ocerst_in \"SAS_00000050_restart\" 
     756    for (( i=1; i<=$NPROC; i++)) ; do 
     757        L_NPROC=$(( $i - 1 )) 
     758        L_NPROC=`printf "%04d\n" ${L_NPROC}` 
     759        ln -sf ../LONG/SAS_00000050_restart_${L_NPROC}.nc . 
     760    done 
     761    cd ${SETTE_DIR} 
     762    . ./prepare_job.sh input_SAS.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 
     763    cd ${SETTE_DIR} 
     764    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
     765fi 
     766 
     767if [ ${config} -eq 11 ] ;  then 
     768## Reproducibility tests for ORCA2_SAS_LIM 
     769    export TEST_NAME="REPRO_8_4" 
     770    cd ${CONFIG_DIR} 
     771    . ./makenemo -m ${CMP_NAM} -n SAS_32 -r ORCA2_SAS_LIM -j 8 add_key " " del_key ${KEY_XIOS} 
     772    cd ${SETTE_DIR} 
     773    . param.cfg 
     774    . all_functions.sh 
     775    . prepare_exe_dir.sh 
     776    JOB_FILE=${EXE_DIR}/run_job.sh 
     777    NPROC=32 
     778    \rm ${JOB_FILE} 
     779    cd ${EXE_DIR} 
     780    set_namelist namelist_cfg cn_exp \"SAS\" 
     781    set_namelist namelist_cfg nn_it000 51 
     782    set_namelist namelist_cfg nn_itend 100 
     783    set_namelist namelist_cfg ln_ctl .false. 
     784    set_namelist namelist_cfg ln_clobber .true. 
     785    set_namelist namelist_cfg jpni 8 
     786    set_namelist namelist_cfg jpnj 4 
     787    set_namelist namelist_cfg jpnij 32 
     788    cd ${SETTE_DIR} 
     789    . ./prepare_job.sh input_SAS.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 
     790    cd ${SETTE_DIR} 
     791    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
     792 
     793    cd ${SETTE_DIR} 
     794    export TEST_NAME="REPRO_4_8" 
     795    . prepare_exe_dir.sh 
     796    cd ${EXE_DIR} 
     797    set_namelist namelist_cfg cn_exp \"SAS\" 
     798    set_namelist namelist_cfg nn_it000 51 
     799    set_namelist namelist_cfg nn_itend 100 
     800    set_namelist namelist_cfg ln_ctl .false. 
     801    set_namelist namelist_cfg ln_clobber .true. 
     802    set_namelist namelist_cfg jpni 4 
     803    set_namelist namelist_cfg jpnj 8 
     804    set_namelist namelist_cfg jpnij 32 
     805    cd ${SETTE_DIR} 
     806    . ./prepare_job.sh input_SAS.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 
     807    cd ${SETTE_DIR} 
     808    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
     809fi 
     810 
    714811done 
  • branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/SETTE/sette_beginner.sh

    r3680 r4044  
    3838# 
    3939# Compiler among those in NEMOGCM/ARCH 
    40 COMPILER=gfortran_osx 
     40COMPILER=macport_osx 
    4141export BATCH_COMMAND_PAR="llsubmit" 
    4242export BATCH_COMMAND_SEQ=$BATCH_COMMAND_PAR 
    43 export INTERACT_FLAG="no" 
     43export INTERACT_FLAG="yes" 
    4444export MPIRUN_FLAG="yes" 
    4545 
     
    5454# Copy job_batch_COMPILER file for specific compiler into job_batch_template 
    5555cd ${SETTE_DIR} 
    56 cp BATCH_TEMPLATE/batch-${COMPILER} job_batch_template || exit 
     56##if [ ${INTERACT_FLAG} == no ] ;  then 
     57    cp BATCH_TEMPLATE/batch-${COMPILER} job_batch_template || exit 
     58##fi  
    5759 
    5860# Run for GYRE CONFIG 
     
    6062# compile GYRE configuration with gfortran_osx compiler run with 4 proc :  
    6163export TEST_NAME="SHORT_TEST" 
    62 cd ${SETTE_DIR} 
    63 . ../CONFIG/makenemo -m ${CMP_NAM} -n GYRE_SHORT -r GYRE -j 10 add_key "key_mpp_mpi" 
     64cd ${CONFIG_DIR} 
     65. ./makenemo -m ${CMP_NAM} -n GYRE_SHORT -r GYRE -j 10 add_key "key_mpp_mpi key_nosignedzero" 
    6466cd ${SETTE_DIR} 
    6567. param.cfg  
     
    7375# setting namelist parameters 
    7476# experience name 
    75 set_namelist namelist cn_exp \"GYRE_SHORT\" 
     77set_namelist namelist_cfg cn_exp \"GYRE_SHORT\" 
    7678# first time step 
    77 set_namelist namelist nn_it000 1 
     79set_namelist namelist_cfg nn_it000 1 
    7880# last time step 
    79 set_namelist namelist nn_itend 120 
     81set_namelist namelist_cfg nn_itend 120 
    8082# frequency of creation of a restart file 
    81 set_namelist namelist nn_stock 60 
     83set_namelist namelist_cfg nn_stock 60 
    8284 
    8385cd ${SETTE_DIR} 
     
    8587# run job, with 4 processors, test named SHORT (= 60 time steps) 
    8688cd ${SETTE_DIR}    
    87 . ./fcm_job.sh $NRPOC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
     89. ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
Note: See TracChangeset for help on using the changeset viewer.