A module for printing error, warnings etc to stdout. Errors and warnings are duplicated in a log file, written only by the root process. The file is opened at the beginning of the simulation and close at the end.
More...
A module for printing error, warnings etc to stdout. Errors and warnings are duplicated in a log file, written only by the root process. The file is opened at the beginning of the simulation and close at the end.
- Author
- Alexis Praga
subroutine message::close_logfile |
( |
| ) |
|
subroutine message::open_logfile |
( |
| ) |
|
subroutine message::print_error |
( |
character(*) |
mesg, |
|
|
character(*) |
func_name, |
|
|
character(*) |
fname |
|
) |
| |
Print error message and exit.
- Parameters
-
mesg | : message to be printed |
func_name | : function name |
fname | : file name |
recursive subroutine message::print_mesg |
( |
character(*) |
mesg, |
|
|
integer, optional |
mesg_int |
|
) |
| |
Print any kind of string to stdout and log.
subroutine message::print_step |
( |
character(*) |
mesg | ) |
|
Print message when a step is validated.
subroutine message::print_to_log |
( |
character(*) |
mesg | ) |
|
Assume the file is opened and the process is root.
subroutine message::print_warning |
( |
character(*) |
mesg | ) |
|
Print a warning.
- Parameters
-
mesg | : message to be printed |
subroutine message::set_logfile |
( |
| ) |
|
character(80) message::logfile |
integer message::logid = 99 |
The documentation for this module was generated from the following file: