Ignore:
Timestamp:
Oct 26, 2023, 11:30:35 AM (15 months ago)
Author:
jbclement
Message:

PEM:

  • Correction of a bug when running with ifort, XIOS and no sub-slopes. If compiled with ifort, the 'Reshape' program cashed because of sub-slopes variables were written in the XIOS output but not filled. A new file definition without sub-slopes can be chosen in the xml file to avoid this issue.
  • Addition in the 'Reshape' program of a check to remove the output files if they exist to prevent a crash.

JBC

Location:
trunk/LMDZ.MARS/deftank
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/deftank/file_def_physics_mars.xml

    r3038 r3106  
    8181        </file>
    8282
    83         <!-- FILE 3 :diurnal averages outputs for PEM; output_freq is every day -->
     83        <!-- FILE 3 :diurnal averages outputs for PEM without sub-slope; output_freq is every day -->
    8484        <file id="diurnalave"
    8585              name="Xdiurnalave"
     
    8888              time_units="days"
    8989              enabled=".true.">
     90                   
     91            <!-- VARS 0D -->
     92            <field_group operation="average"
     93                         freq_op="1ts">
     94                <field field_ref="Ls" />
     95            </field_group>
     96
     97            <field_group operation="average"
     98                         freq_op="1ts">
     99                <field field_ref="area" operation="once" />
     100                <field field_ref="ps" />
     101                <field field_ref="tsurf" />
     102                <field field_ref="Waterdensity_surface" />
     103                <field field_ref="h2o_layer1" />
     104                <field field_ref="co2_layer1" />
     105                <field field_ref="fluxsurf_dn_sw" name="ISR" />
     106                <field field_ref="fluxtop_dn_sw" name="insolation" />
     107            </field_group>
     108
     109            <field_group operation="minimum"
     110                         freq_op="1ts">
     111                <field field_ref="co2ice" />
     112                <field field_ref="h2o_ice_s" />
     113                <field field_ref="watercap" />
     114            </field_group>
     115
     116            <!-- VARS soil -->
     117            <field_group operation="average"
     118                         freq_op="1ts">
     119                <field field_ref="soiltemp" />
     120                <field field_ref="Waterdensity_soil" />
     121            </field_group>
     122        </file>
     123
     124        <!-- FILE 4 :diurnal averages outputs for PEM with sub-slopes; output_freq is every day -->
     125        <file id="diurnalave_s"
     126              name="Xdiurnalave_s"
     127              output_freq="1d"
     128              type="one_file"
     129              time_units="days"
     130              enabled=".false.">
    90131                   
    91132            <!-- VARS 0D -->
     
    107148                <field field_ref="tsurf_slope06" />
    108149                <field field_ref="tsurf_slope07" />
     150                <field field_ref="Waterdensity_surface" />
    109151                <field field_ref="Waterdensity_surface01" />
    110152                <field field_ref="Waterdensity_surface02" />
     
    138180                <field field_ref="h2o_ice_s_slope06" />
    139181                <field field_ref="h2o_ice_s_slope07" />
     182                <field field_ref="watercap" />
    140183                <field field_ref="watercap_slope01" />
    141184                <field field_ref="watercap_slope02" />
     
    158201                <field field_ref="soiltemp_slope06" />
    159202                <field field_ref="soiltemp_slope07" />
     203                <field field_ref="Waterdensity_soil" />
    160204                <field field_ref="Waterdensity_soil_slope01" />
    161205                <field field_ref="Waterdensity_soil_slope02" />
  • trunk/LMDZ.MARS/deftank/pem/launch_pem.sh

    r3096 r3106  
    167167    # Copy data files and prepare the next run
    168168    mv out_runPEM${iPEM} out_PEM/run${iPEM}
    169     mv diagpem.nc diags/diagpem_${iPEM}.nc
    170     cp restartpem.nc starts/startpem_${iPEM}.nc
     169    mv diagpem.nc diags/diagpem${iPEM}.nc
     170    cp restartpem.nc starts/startpem${iPEM}.nc
    171171    mv restartpem.nc startpem.nc
    172172    cp restartfi_evol.nc starts/startfi_postPEM${iPEM}.nc
Note: See TracChangeset for help on using the changeset viewer.