source: XIOS/trunk/inputs/iodef.xml @ 523

Last change on this file since 523 was 523, checked in by rlacroix, 9 years ago

Improve the message error handling by mimicking the behavior of the info/report logs.

Output the error messages to the standart error message until the context is correctly initialized. Then, output the error messages to a file if the user has set "print_file" parameter to "true".

  • Fix: Errors that occured before MPI was initialized (e.g. during the config file parsing) caused a MPI error on top of the original error.
  • Fix: The error file could sometimes be misnamed if the error happened before the context was completely known.
File size: 1.5 KB
Line 
1<?xml version="1.0"?>
2<simulation> 
3
4 <context id="test" calendar_type="Gregorian" start_date="2012-03-01 15:00:00" time_origin="2012-02-29 15:00:00">
5   
6
7   <field_definition level="1" enabled=".FALSE.">
8     <field id="field_A"  operation="average" freq_op="3600s" domain_ref="domain_A"  axis_ref="axis_A" />
9   </field_definition>
10   
11   
12   <file_definition type="multiple_file" par_access="collective" output_freq="6h" output_level="10" enabled=".TRUE.">
13     <file id="output" name="output"> 
14        <field field_ref="field_A" />
15     </file>
16   </file_definition>
17   
18   
19   <axis_definition>
20     <axis id="axis_A" zoom_size="2" zoom_end="3" />
21   </axis_definition>
22   
23   <domain_definition>
24     <domain id="domain_A" />
25   </domain_definition>   
26 
27   <grid_definition />   
28 
29  </context>
30 
31  <context id="toto" >
32  </context>
33 
34  <context id="titi">
35  </context>
36 
37  <context id="tata">
38  </context>
39
40  <context id="xios">
41      <variable_definition>
42        <variable_group id="buffer">
43            <variable id="optimal_buffer_size" type="string">performance</variable>
44            <variable id="buffer_factor_size" type="double">1.0</variable> 
45         </variable_group>
46
47        <variable_group id="parameters" >
48          <variable id="using_server" type="boolean">false</variable>
49          <variable id="info_level" type="int">50</variable>
50          <variable id="print_file" type="boolean">true</variable>
51        </variable_group>
52      </variable_definition>
53  </context>
54
55</simulation>
56
Note: See TracBrowser for help on using the repository browser.