Changes between Version 10 and Version 11 of Documentation/UserGuide/TestCase1


Ignore:
Timestamp:
2016-01-13T12:13:11+01:00 (8 years ago)
Author:
jgipsl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/UserGuide/TestCase1

    v10 v11  
    1717wget http://dods.extra.cea.fr/work/p86ipsl/IGCM/SRF/reftemp.nc 
    1818}}} 
     19 
     20'''Get xml files for running with XIOS:'''[[BR]] 
     21''Note: If you do not compile with XIOS, you do not need to copy these files but you need to adapt run.def, see further below.''[[BR]] 
     22 
     23The xml files controls the output of the model if you use XIOS. XIOS is the default since rev 3115 in the trunk. Copy the files from the model directory. Here suppose default compilation with XIOS 1.0.  
     24 
     25{{{ 
     26cp modipsl/modeles/ORCHIDEE/src_xml/iodef_xios1.xml iodef.xml 
     27cp modipsl/modeles/ORCHIDEE/src_xml/context_orchidee.xml . 
     28cp modipsl/modeles/ORCHIDEE/src_xml/field_def_orchidee.xml . 
     29cp modipsl/modeles/ORCHIDEE/src_xml/file_def_orchidee.xml . 
     30}}} 
     31 
     32Edit file_def_orchidee.xml by changing  
     33 * enabled="_AUTO_" into enabled=".TRUE." or enabled=".FALSE." 
     34 * output_freq="_AUTO_" into output_freq="1mo" or output_freq="1d" par example 
     35 * change all you want to adapt the output to what you want 
     36 
     37Edit field_def_orchidee.xml only if you changed the ORCHDEE source code. 
    1938 
    2039'''Save following lines into run.def :''' 
     
    4261VEGET_YEAR=1 
    4362 
    44 # Variables for diagnostics : 
     63STOMATE_OK_CO2= y 
     64STOMATE_OK_STOMATE= y 
     65}}} 
     66 
     67If you want to run with IOIPSL for writing output files, then you need to deactivated XIOS and add control variables for IOIPSL in run.def. For example add following: 
     68{{{ 
     69# Deactivate XIOS 
     70XIOS_ORCHIDEE_OK=n 
     71 
     72# Variables for output with IOIPSL : 
    4573WRITE_STEP= -1. 
    4674SECHIBA_HISTLEVEL= 11 
     
    4876SECHIBA_HISTLEVEL2= 1 
    4977WRITE_STEP2= 10800.0 
    50 STOMATE_OK_CO2= y 
    51 STOMATE_OK_STOMATE= y 
    5278STOMATE_HIST_DT= -1. 
    5379STOMATE_HISTLEVEL= 10 
     
    5783 
    5884'''Check you environment:'''[[BR]] 
    59 To run the model you first need to load the same netcdf library as the one used for the compilation. Check if you already have loaded netcdf and if yes, unload it and load netcdf/4p as follow:  
     85To run the model you first need to load the same netcdf library as the one used for the compilation. This depends on the machine you work at.  
     86 
     87For obelix, check if you already have loaded netcdf and if yes, unload it and load netcdf/4p as follow:  
    6088{{{ 
    6189module list