FORCES
FORtran lib for Comp. Env. Sys.
|
Write out concatenated strings. More...
Functions/Subroutines | |
character(len=32000) function | process_arguments (t01, t02, t03, t04, t05, t06, t07, t08, t09, t10, t11, t12, t13, t14, t15, t16) |
subroutine, public | message (t01, t02, t03, t04, t05, t06, t07, t08, t09, t10, t11, t12, t13, t14, t15, t16, uni, advance, show, reset_format) |
Write out an error message to stdout. | |
subroutine, public | error_message (t01, t02, t03, t04, t05, t06, t07, t08, t09, t10, t11, t12, t13, t14, t15, t16, uni, advance, show, raise, reset_format) |
Write out an error message to stderr and call stop 1. | |
Variables | |
logical, save, public | show_msg = .true. |
global control switch to show normal messages | |
logical, save, public | show_err = .true. |
global control switch to show error messages | |
Write out concatenated strings.
Write out several strings concatenated on standard out or a given unit, either advancing or not.
COPYING
and COPYING.LESSER
provided with this software. The complete GNU license text can also be found at http://www.gnu.org/licenses/. subroutine, public mo_message::error_message | ( | character(len = *), intent(in), optional | t01, |
character(len = *), intent(in), optional | t02, | ||
character(len = *), intent(in), optional | t03, | ||
character(len = *), intent(in), optional | t04, | ||
character(len = *), intent(in), optional | t05, | ||
character(len = *), intent(in), optional | t06, | ||
character(len = *), intent(in), optional | t07, | ||
character(len = *), intent(in), optional | t08, | ||
character(len = *), intent(in), optional | t09, | ||
character(len = *), intent(in), optional | t10, | ||
character(len = *), intent(in), optional | t11, | ||
character(len = *), intent(in), optional | t12, | ||
character(len = *), intent(in), optional | t13, | ||
character(len = *), intent(in), optional | t14, | ||
character(len = *), intent(in), optional | t15, | ||
character(len = *), intent(in), optional | t16, | ||
integer, intent(in), optional | uni, | ||
character(len = *), intent(in), optional | advance, | ||
logical, intent(in), optional | show, | ||
logical, intent(in), optional | raise, | ||
logical, intent(in), optional | reset_format | ||
) |
Write out an error message to stderr and call stop 1.
[in] | t01 | optional string arguments |
[in] | t02 | optional string arguments |
[in] | t03 | optional string arguments |
[in] | t04 | optional string arguments |
[in] | t05 | optional string arguments |
[in] | t06 | optional string arguments |
[in] | t07 | optional string arguments |
[in] | t08 | optional string arguments |
[in] | t09 | optional string arguments |
[in] | t10 | optional string arguments |
[in] | t11 | optional string arguments |
[in] | t12 | optional string arguments |
[in] | t13 | optional string arguments |
[in] | t14 | optional string arguments |
[in] | t15 | optional string arguments |
[in] | t16 | optional string arguments |
[in] | uni | Unit to write to (default: stderr) |
[in] | advance | add linebreak after message, default: 'yes', else 'no' |
[in] | show | control if message should be shown (show_err as default) |
[in] | raise | control if an exception is raised with error code 1 (.true. as default) |
[in] | reset_format | Reset formatting (default: .false.) |
Definition at line 132 of file mo_message.F90.
References message(), mo_constants::nerr, and show_err.
Referenced by mo_nml::close_nml(), mo_eckhardt_filter::fit_alpha(), mo_cli::new_cli_parser(), mo_nml::open_nml(), mo_os::path_join::path_join_arr(), and mo_nml::position_nml().
subroutine, public mo_message::message | ( | character(len = *), intent(in), optional | t01, |
character(len = *), intent(in), optional | t02, | ||
character(len = *), intent(in), optional | t03, | ||
character(len = *), intent(in), optional | t04, | ||
character(len = *), intent(in), optional | t05, | ||
character(len = *), intent(in), optional | t06, | ||
character(len = *), intent(in), optional | t07, | ||
character(len = *), intent(in), optional | t08, | ||
character(len = *), intent(in), optional | t09, | ||
character(len = *), intent(in), optional | t10, | ||
character(len = *), intent(in), optional | t11, | ||
character(len = *), intent(in), optional | t12, | ||
character(len = *), intent(in), optional | t13, | ||
character(len = *), intent(in), optional | t14, | ||
character(len = *), intent(in), optional | t15, | ||
character(len = *), intent(in), optional | t16, | ||
integer, intent(in), optional | uni, | ||
character(len = *), intent(in), optional | advance, | ||
logical, intent(in), optional | show, | ||
logical, intent(in), optional | reset_format | ||
) |
Write out an error message to stdout.
[in] | t01 | optional string arguments |
[in] | t02 | optional string arguments |
[in] | t03 | optional string arguments |
[in] | t04 | optional string arguments |
[in] | t05 | optional string arguments |
[in] | t06 | optional string arguments |
[in] | t07 | optional string arguments |
[in] | t08 | optional string arguments |
[in] | t09 | optional string arguments |
[in] | t10 | optional string arguments |
[in] | t11 | optional string arguments |
[in] | t12 | optional string arguments |
[in] | t13 | optional string arguments |
[in] | t14 | optional string arguments |
[in] | t15 | optional string arguments |
[in] | t16 | optional string arguments |
[in] | uni | Unit to write to (default: stdout) |
[in] | advance | add linebreak after message, default: 'yes', else 'no' |
[in] | show | control if message should be shown (show_msg as default) |
[in] | reset_format | Reset formatting (default: .false.) |
Definition at line 75 of file mo_message.F90.
References mo_constants::nout, show_msg, and mo_logging::stput().
Referenced by error_message(), mo_nml::open_nml(), mo_os::path_join::path_join_arr(), and mo_utils::special_value::special_value_sp().
|
private |
Definition at line 31 of file mo_message.F90.
logical, save, public mo_message::show_err = .true. |
global control switch to show error messages
Definition at line 25 of file mo_message.F90.
Referenced by error_message().
logical, save, public mo_message::show_msg = .true. |
global control switch to show normal messages
Definition at line 24 of file mo_message.F90.
Referenced by message().