Ignore:
Timestamp:
12/01/14 16:21:48 (7 years ago)
Author:
rlacroix
Message:

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:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/inputs/iodef.xml

    r512 r523  
    4848          <variable id="using_server" type="boolean">false</variable> 
    4949          <variable id="info_level" type="int">50</variable> 
    50           <variable id="print_file" type="boolean">true</variable> 
     50          <variable id="print_file" type="boolean">true</variable> 
    5151        </variable_group> 
    5252      </variable_definition> 
Note: See TracChangeset for help on using the changeset viewer.