Octopus
multisystem_debug_oct_m Module Reference

This module implements the multisystem debug functionality. More...

Detailed Description

This module implements the multisystem debug functionality.

It writes markers into a file, which can then be used by the octopus web page to generate propagation diagrams. You can use that feature here

Data Types

interface  event_function_call_t
 events marking a function call More...
 
interface  event_handle_t
 handle to keep track of in- out- events More...
 
interface  event_info_get_info
 
type  event_info_t
 abstract class to specify events in the algorithm execution More...
 
interface  event_iteration_update_t
 events marking an iteration update More...
 
interface  event_marker_t
 time stamp for events More...
 

Functions/Subroutines

type(event_handle_t) function event_handle_constructor (id)
 
type(event_function_call_t) function event_function_call_constructor (name, op)
 
character(len=max_info_len) function event_function_call_get_info (this)
 
type(event_iteration_update_t) function event_iteration_update_constructor (name, detail, iteration, action)
 
character(len=max_info_len) function event_iteration_update_get_info (this)
 
type(event_marker_t) function event_marker_constructor (text)
 
character(len=max_info_len) function event_marker_get_info (this)
 
subroutine, public multisystem_debug_init (filename, namespace, group)
 
subroutine, public multisystem_debug_end ()
 
subroutine, public multisystem_debug_write_marker (system_namespace, event)
 
type(event_handle_t) function, public multisystem_debug_write_event_in (system_namespace, event, extra, system_iteration, algo_iteration, interaction_iteration, partner_iteration, requested_iteration)
 
subroutine, public multisystem_debug_write_event_out (handle, extra, update, system_iteration, algo_iteration, interaction_iteration, partner_iteration, requested_iteration)
 

Variables

integer, parameter, public max_info_len = 256
 
type(mpi_grp_tmpi_grp
 
integer iunit
 
integer event_id
 

Function/Subroutine Documentation

◆ event_handle_constructor()

type(event_handle_t) function multisystem_debug_oct_m::event_handle_constructor ( integer, intent(in)  id)
private

Definition at line 225 of file multisystem_debug.F90.

◆ event_function_call_constructor()

type(event_function_call_t) function multisystem_debug_oct_m::event_function_call_constructor ( character(*), intent(in)  name,
type(algorithmic_operation_t), intent(in), optional  op 
)
private

Definition at line 237 of file multisystem_debug.F90.

◆ event_function_call_get_info()

character(len=max_info_len) function multisystem_debug_oct_m::event_function_call_get_info ( class(event_function_call_t), intent(in)  this)
private

Definition at line 256 of file multisystem_debug.F90.

◆ event_iteration_update_constructor()

type(event_iteration_update_t) function multisystem_debug_oct_m::event_iteration_update_constructor ( character(*), intent(in)  name,
character(*), intent(in)  detail,
class(iteration_counter_t), intent(in)  iteration,
character(len=*), intent(in)  action 
)
private

Definition at line 272 of file multisystem_debug.F90.

◆ event_iteration_update_get_info()

character(len=max_info_len) function multisystem_debug_oct_m::event_iteration_update_get_info ( class(event_iteration_update_t), intent(in)  this)
private

Definition at line 290 of file multisystem_debug.F90.

◆ event_marker_constructor()

type(event_marker_t) function multisystem_debug_oct_m::event_marker_constructor ( character(*), intent(in)  text)
private

Definition at line 304 of file multisystem_debug.F90.

◆ event_marker_get_info()

character(len=max_info_len) function multisystem_debug_oct_m::event_marker_get_info ( class(event_marker_t), intent(in)  this)
private

Definition at line 316 of file multisystem_debug.F90.

◆ multisystem_debug_init()

subroutine, public multisystem_debug_oct_m::multisystem_debug_init ( character(*), intent(in)  filename,
type(namespace_t), intent(in)  namespace,
type(mpi_grp_t), intent(in)  group 
)

Definition at line 329 of file multisystem_debug.F90.

◆ multisystem_debug_end()

subroutine, public multisystem_debug_oct_m::multisystem_debug_end

Definition at line 346 of file multisystem_debug.F90.

◆ multisystem_debug_write_marker()

subroutine, public multisystem_debug_oct_m::multisystem_debug_write_marker ( class(namespace_t), intent(in), optional  system_namespace,
class(event_info_t), intent(in)  event 
)

Definition at line 358 of file multisystem_debug.F90.

◆ multisystem_debug_write_event_in()

type(event_handle_t) function, public multisystem_debug_oct_m::multisystem_debug_write_event_in ( class(namespace_t), intent(in), optional  system_namespace,
class(event_info_t), intent(in)  event,
character(*), optional  extra,
class(iteration_counter_t), intent(in), optional  system_iteration,
class(iteration_counter_t), intent(in), optional  algo_iteration,
class(iteration_counter_t), intent(in), optional  interaction_iteration,
class(iteration_counter_t), intent(in), optional  partner_iteration,
class(iteration_counter_t), intent(in), optional  requested_iteration 
)

Definition at line 386 of file multisystem_debug.F90.

◆ multisystem_debug_write_event_out()

subroutine, public multisystem_debug_oct_m::multisystem_debug_write_event_out ( class(event_handle_t), intent(in)  handle,
character(*), optional  extra,
logical, optional  update,
class(iteration_counter_t), intent(in), optional  system_iteration,
class(iteration_counter_t), intent(in), optional  algo_iteration,
class(iteration_counter_t), intent(in), optional  interaction_iteration,
class(iteration_counter_t), intent(in), optional  partner_iteration,
class(iteration_counter_t), intent(in), optional  requested_iteration 
)

Definition at line 448 of file multisystem_debug.F90.

Variable Documentation

◆ max_info_len

integer, parameter, public multisystem_debug_oct_m::max_info_len = 256

Definition at line 134 of file multisystem_debug.F90.

◆ mpi_grp

type(mpi_grp_t) multisystem_debug_oct_m::mpi_grp
private

Definition at line 218 of file multisystem_debug.F90.

◆ iunit

integer multisystem_debug_oct_m::iunit
private

Definition at line 219 of file multisystem_debug.F90.

◆ event_id

integer multisystem_debug_oct_m::event_id
private

Definition at line 220 of file multisystem_debug.F90.