MOM6
MOM_error_handler.F90 File Reference

Go to the source code of this file.

Modules

module  mom_error_handler
 Routines for error handling and I/O management.
 

Functions/Subroutines

logical function, public mom_error_handler::is_root_pe ()
 This returns .true. if the current PE is the root PE. More...
 
subroutine, public mom_error_handler::mom_mesg (message, verb, all_print)
 This provides a convenient interface for writing an informative comment. More...
 
subroutine, public mom_error_handler::mom_error (level, message, all_print)
 This provides a convenient interface for writing an mpp_error message with run-time filter based on a verbosity. More...
 
subroutine, public mom_error_handler::mom_set_verbosity (verb)
 This subroutine sets the level of verbosity filtering MOM error messages. More...
 
integer function, public mom_error_handler::mom_get_verbosity ()
 This subroutine gets the level of verbosity filtering MOM error messages. More...
 
logical function, public mom_error_handler::mom_verbose_enough (verb)
 This tests whether the level of verbosity filtering MOM error messages is sufficient to write a message of verbosity level verb. More...
 
logical function, public mom_error_handler::calltree_showquery ()
 Returns True, if the verbosity>=6 indicating to show the call tree. More...
 
subroutine, public mom_error_handler::calltree_enter (mesg, n)
 Writes a message about entering a subroutine if call tree reporting is active. More...
 
subroutine, public mom_error_handler::calltree_leave (mesg)
 Writes a message about leaving a subroutine if call tree reporting is active. More...
 
subroutine, public mom_error_handler::calltree_waypoint (mesg, n)
 Writes a message about reaching a milestone if call tree reporting is active. More...
 
subroutine, public mom_error_handler::assert (logical_arg, msg)
 Issues a FATAL error if the assertion fails, i.e. the first argument is false. More...
 

Variables

integer mom_error_handler::verbosity = 6
 Verbosity level: 0 - FATAL messages only 1 - FATAL + WARNING messages only 2 - FATAL + WARNING + NOTE messages only [default] 3 - above + informational 4 - 5 - 6 - above + call tree 7 - 8 - 9 - anything and everything (also set with DEBUG=True) More...
 
integer mom_error_handler::calltreeindentlevel = 0
 The level of calling within the call tree. More...