Changeset 4079 for dynamico_lmdz


Ignore:
Timestamp:
Oct 23, 2017, 5:53:34 PM (7 years ago)
Author:
dubos
Message:

aquaplanet : common output grid definitions for LMDZ and DYNAMICO + CE0L in server mode + output flux diagnostics monthly

Location:
dynamico_lmdz/aquaplanet/CMIP5a/RUN_AQUAPLANET_DYNAMICO_LMDZ5
Files:
4 edited
1 moved

Legend:

Unmodified
Added
Removed
  • dynamico_lmdz/aquaplanet/CMIP5a/RUN_AQUAPLANET_DYNAMICO_LMDZ5/context_icosa.xml

    r4077 r4079  
    66<!--  <file_definition src="./filedef_debug.xml" /> -->     
    77  <file_definition src="./filedef_dcmip2016.xml" />
    8   <file_definition src="./file_def_histday_icosa.xml"/>
     8  <file_definition src="./file_def_histmth_icosa.xml"/>
    99
    1010  <!------------------------------------ input fields --------------------------------------->     
     
    139139     </domain>
    140140
    141     <!--------------------------------- Domains : output --------------------------------->
    142      <domain id="regular_half_degree" type="rectilinear" ni_glo="720" nj_glo="360" >
    143        <generate_rectilinear_domain />
    144        <interpolate_domain order="1"/>
    145      </domain>
    146      
    147      <domain id="regular_one_degree" type="rectilinear" ni_glo="360" nj_glo="180" >
    148        <generate_rectilinear_domain />
    149        <interpolate_domain order="1"/>
    150      </domain>
    151      
    152      <domain id="regular_two_degree" type="rectilinear" ni_glo="180" nj_glo="90" >
    153        <generate_rectilinear_domain />
    154        <interpolate_domain order="1"/>
    155      </domain>
     141  </domain_definition>   
    156142
    157     <domain id="dom_96_95" ni_glo="96" nj_glo="95" type="rectilinear"  >
    158       <generate_rectilinear_domain/>
    159       <interpolate_domain order="1"/>
    160     </domain>
     143  <!--------------------------------- Domains : output --------------------------------->
    161144
    162     <domain id="dom_144_142" ni_glo="144" nj_glo="142" type="rectilinear"  >
    163       <generate_rectilinear_domain/>
    164       <interpolate_domain order="1"/>
    165     </domain>
     145  <domain_definition src="domain_def.xml">
     146  </domain_definition>   
    166147
    167     <domain id="dom_512_360" ni_glo="512" nj_glo="360" type="rectilinear"  >
    168       <generate_rectilinear_domain/>
    169       <interpolate_domain order="1"/>
    170     </domain>
    171 
    172     <domain id="dom_out" domain_ref="dom_144_142"/>
    173      
    174   </domain_definition>   
    175148 
    176149  <!--------------------------------------- Grids --------------------------------------->
  • dynamico_lmdz/aquaplanet/CMIP5a/RUN_AQUAPLANET_DYNAMICO_LMDZ5/context_lmdz.xml

    r4077 r4079  
    195195    </domain>
    196196   
    197     <domain id="dom_96_95" ni_glo="96" nj_glo="95" type="rectilinear"  >
    198       <generate_rectilinear_domain/>
    199       <interpolate_domain order="1"/>
    200     </domain>
    201 
    202     <domain id="dom_144_142" ni_glo="144" nj_glo="142" type="rectilinear"  >
    203       <generate_rectilinear_domain/>
    204       <interpolate_domain order="1"/>
    205     </domain>
    206 
    207     <domain id="dom_512_360" ni_glo="512" nj_glo="360" type="rectilinear"  >
    208       <generate_rectilinear_domain/>
    209       <interpolate_domain order="1"/>
    210     </domain>
    211 
    212     <domain id="dom_out" domain_ref="dom_144_142"/>
    213  
    214197  </domain_definition>
     198
     199  <domain_definition src="./domain_def.xml"/>
    215200 
    216201  <!-- Need to define a grid? Do it here -->
  • dynamico_lmdz/aquaplanet/CMIP5a/RUN_AQUAPLANET_DYNAMICO_LMDZ5/example.sh

    r4067 r4079  
    7878NB_MPI_DYNAMICO=160
    7979NB_MPI_XIOS=16
    80 NB_MPI_CE0L=16
    81 JOB_WALLTIME=7200
     80WALLTIME_JOB=7200
     81WALLTIME_CE0L=120
    8282EOF
    8383    cp -fp $BASEDIR/*.sh $BASEDIR/*.xml $BASEDIR/*.def .
  • dynamico_lmdz/aquaplanet/CMIP5a/RUN_AQUAPLANET_DYNAMICO_LMDZ5/file_def_histmth_icosa.xml

    r4077 r4079  
    22    <file_group id="defile">
    33
    4         <file id="histday_icosa" name="histday_icosa" output_freq="1d" sync_freq="10d" output_level="2" enabled="true" timeseries="none" time_counter="none">
     4        <file id="histmth_icosa" type="one_file" name="histmth_icosa" output_freq="1mo" sync_freq="1mo" output_level="10" enabled="true" timeseries="none" time_counter="none">
    55
    66          <field_group domain_ref="dom_out" ts_enabled="true" freq_op="1d" expr="@this">
  • dynamico_lmdz/aquaplanet/CMIP5a/RUN_AQUAPLANET_DYNAMICO_LMDZ5/prepare.sh

    r4067 r4079  
    6666
    6767function sed_ce0l() {
    68     def USING_SERVER false
     68    def USING_SERVER true
    6969    def CE0L yes
    7070    def READ_START no
     
    102102cd ${MYDIR}
    103103rm -rf gcm.log *.nc xios_*.err xios_*.out gcm.log logs
    104 ln -s ../FILES_LMDZ/*.nc .
     104
     105symlink() { if [ -e \$1 ] ; then ln -s \$1 \$2 ; fi ; }
     106
     107for x in ../FILES_LMDZ/*.nc ; do ln -s \$x . ; done
    105108
    106109cat <<END  > killme.sh
     
    116119}
    117120
     121function prologue_ce0l() {
     122echo
     123}
     124
    118125function prologue_first() {
    119126cat <<EOF
    120 ln -s store0/limit.nc store0/climoz_LMDZ.nc store0/startphy.nc .
     127symlink store0/limit.nc .
     128symlink store0/climoz_LMDZ.nc .
     129symlink store0/startphy.nc .
    121130EOF
    122131}
     
    124133function prologue_next() {
    125134cat <<EOF
    126 ln -s store0/limit.nc store0/climoz_LMDZ.nc .
    127 ln -s store_prev/restartphy.nc startphy.nc
    128 ln -s store_prev/restart.nc start.nc
     135symlink store0/limit.nc .
     136symlink store0/climoz_LMDZ.nc .
     137symlink store_prev/restartphy.nc startphy.nc
     138symlink store_prev/restart.nc start.nc
    129139EOF
    130140}
     
    166176
    167177function batch_X64_CURIE_ce0l() {
    168 cat <<EOF
    169 #!/bin/bash
    170 ## Request name
    171 #MSUB -r ${EXPERIMENT}_ce0l_mpi
    172 #MSUB -q standard
    173 #MSUB -A gen7548
    174 #MSUB -x
    175 ## Number of tasks (=MPI processes) to use
    176 #MSUB -n $NB_MPI_CE0L
    177 ## Elapsed time limit in seconds
    178 #MSUB -T 600
    179 ## Quality of Service required (long [3 days], normal [1 day], test [30 min])
    180 #MSUB -Q normal
    181 
    182 $( prologue_all )
    183 date > gcm.log
    184 export OMP_NUM_THREADS=1
    185 ccc_mprun $ICOSA_LMDZ >> gcm.log
    186 date >> gcm.log
    187 $( epilogue_ce0l )
    188 $( epilogue_all )
    189 EOF
     178batch_X64_CURIE ce0l $WALLTIME_CE0L
    190179}
    191180
    192181function batch_X64_CURIE_first() {
    193 batch_X64_CURIE first
     182batch_X64_CURIE first $WALLTIME_JOB
    194183}
    195184
    196185function batch_X64_CURIE_next() {
    197 batch_X64_CURIE next
    198 }
    199 
    200 function batch_X64_CURIE() { # $1 = first or next
     186batch_X64_CURIE next $WALLTIME_JOB
     187}
     188
     189function batch_X64_CURIE() { # $1 = first or next $2 = walltime
    201190NB_MPI_TOTAL=$(( $NB_MPI_DYNAMICO + $NB_MPI_XIOS ))
    202191cat <<EOF
     
    210199#MSUB -n $NB_MPI_TOTAL
    211200## Elapsed time limit in seconds
    212 #MSUB -T $JOB_WALLTIME
     201#MSUB -T $2
    213202## Quality of Service required (long [3 days], normal [1 day], test [30 min])
    214203#MSUB -Q normal
Note: See TracChangeset for help on using the changeset viewer.