Provides methods for displaying warning messages.
The following example demonstrates some of the methods found in the benchmark_warning module.
The first example shows how to use the method warning_debug .
The output message is the following
The second example shows how to use the method warning_maxcalls .
The output message is the following
The call to the subroutine warning_maxcalls is bound to the value of the logical variable display_maxcall_warning . The use if that switch prevents calling the same warning multiple times when used in a loop.
Variables | |
logical, public | display_maxcall_warning = .false. |
Switch to control the display of the warning message. | |
subroutine, public warning_debug |
Warning triggered when a DEBUG profile is detected.
Remarks
Definition at line 50 of file Warning.f90.
subroutine, public warning_maxcalls |
Warning triggered when the maximum number of function calls is readched. The maximum value can be set in runner_options .
Remarks
Definition at line 65 of file Warning.f90.