Octopus
messages.F90 File Reference

Go to the source code of this file.

Modules

module  messages_oct_m
 

Data Types

interface  messages_oct_m::messages_print_var_value
 Prints out to iunit a message in the form: ["InputVariable" = value] where "InputVariable" is given by var. Since the variable can be integer, real, logical, or string we need a generic interface. More...
 
interface  messages_oct_m::messages_write
 
interface  messages_oct_m::messages_print_var_option
 
interface  messages_oct_m::get_signal_description
 from signals.c More...
 
interface  messages_oct_m::trap_segfault
 

Functions/Subroutines

subroutine, public messages_oct_m::messages_init (output_dir)
 
subroutine, public messages_oct_m::messages_end ()
 
integer function messages_oct_m::messages_get_unit (namespace)
 
subroutine, public messages_oct_m::messages_update_mpi_grp (namespace, mpigrp)
 
type(mpi_grp_t) function messages_oct_m::messages_get_mpi_grp (namespace)
 
subroutine, public messages_oct_m::messages_fatal (no_lines, only_root_writes, namespace)
 
subroutine, public messages_oct_m::messages_warning (no_lines, all_nodes, namespace)
 
subroutine, public messages_oct_m::messages_info (no_lines, iunit, verbose_limit, stress, all_nodes, namespace)
 
subroutine, public messages_oct_m::messages_switch_status (status)
 create status file for asynchronous communication More...
 
subroutine, public messages_oct_m::alloc_error (size, file, line)
 
subroutine, public messages_oct_m::dealloc_error (size, file, line)
 
subroutine, public messages_oct_m::messages_input_error (namespace, var, details, row, column)
 
subroutine messages_oct_m::messages_print_var_valuei (var, val, iunit, namespace)
 
subroutine messages_oct_m::messages_print_var_values (var, val, iunit, namespace)
 
subroutine messages_oct_m::messages_print_var_valuer (var, val, unit, iunit, namespace)
 
subroutine messages_oct_m::messages_print_var_valuel (var, val, iunit, namespace)
 
subroutine messages_oct_m::messages_print_var_valuear (var, val, unit, iunit, namespace)
 
subroutine, public messages_oct_m::messages_print_var_info (var, iunit, namespace)
 
subroutine messages_oct_m::messages_print_var_option_8 (var, option, pre, iunit, namespace)
 
subroutine messages_oct_m::messages_print_var_option_4 (var, option, pre, iunit, namespace)
 
subroutine, public messages_oct_m::messages_print_with_emphasis (msg, iunit, namespace)
 
subroutine messages_oct_m::flush_msg (str, iunit, adv)
 
subroutine, public messages_oct_m::print_date (str)
 
subroutine, public messages_oct_m::time_sum (sec1, usec1, sec2, usec2)
 Computes t2 <- t1+t2. Parameters as in time_diff Assert: t1,2 <= 0. More...
 
subroutine, public messages_oct_m::messages_obsolete_variable (namespace, name, rep)
 
subroutine, public messages_oct_m::messages_variable_is_block (namespace, name)
 
subroutine, public messages_oct_m::messages_experimental (name, namespace)
 
subroutine, public messages_oct_m::messages_not_implemented (feature, namespace)
 
subroutine messages_oct_m::messages_reset_lines ()
 
subroutine, public messages_oct_m::messages_new_line ()
 
subroutine messages_oct_m::messages_write_float (val, fmt, new_line, units, align_left, print_units)
 
subroutine messages_oct_m::messages_write_integer8 (val, fmt, new_line, units, print_units)
 
subroutine messages_oct_m::messages_write_integer (val, fmt, new_line, units, print_units)
 
subroutine messages_oct_m::messages_write_str (val, fmt, new_line)
 
subroutine messages_oct_m::messages_write_logical (val, new_line)
 
subroutine, public messages_oct_m::messages_dump_stack (isignal)
 
subroutine assert_die (s, f, l)
 This subroutine is called by the assert macro, it is not in a module so it can be called from any file. The interface is declared in global_m. More...
 
subroutine handle_segv (isignal)
 

Variables

integer, parameter messages_oct_m::max_lines = 20
 
character(len=256), dimension(max_lines), public messages_oct_m::message
 to be output by fatal, warning More...
 
character(len=68), parameter, public messages_oct_m::hyphens = '--------------------------------------------------------------------'
 
character(len=69), parameter, public messages_oct_m::shyphens = '*'
 
character(len=512), private messages_oct_m::msg
 
integer, parameter, private messages_oct_m::sleepytime_all = 1
 
integer, parameter, private messages_oct_m::sleepytime_nonwriters = 60
 seconds More...
 
character(len=64), private messages_oct_m::oct_status = 'undefined'
 start with an undefined status More...
 
type(sihash_t), private messages_oct_m::namespace_unit
 
type(sphash_t), private messages_oct_m::namespace_mpi_grp
 
character(len=256), private messages_oct_m::msg_dir = 'exec'
 Directory to write messages to. More...
 
integer messages_oct_m::warnings
 
integer messages_oct_m::experimentals
 
integer messages_oct_m::current_line
 

Function/Subroutine Documentation

◆ assert_die()

subroutine assert_die ( character(len=*), intent(in)  s,
character(len=*), intent(in)  f,
integer, intent(in)  l 
)
private

This subroutine is called by the assert macro, it is not in a module so it can be called from any file. The interface is declared in global_m.

Definition at line 1347 of file messages.F90.

◆ handle_segv()

subroutine handle_segv ( integer(c_int), intent(in)  isignal)

Definition at line 1382 of file messages.F90.