(git:c5411e0)
|
type of a logger, at the moment it contains just a print level starting at which level it should be logged (0 note, 1 warning, 2 failure, 3 fatal) it could be expanded with the ability to focus on one or more module/object/thread/processor More...
Data Fields | |
integer | ref_count = -1 |
integer | print_level = -1 |
integer | default_local_unit_nr = -1 |
integer | default_global_unit_nr = -1 |
logical | close_local_unit_on_dealloc = .FALSE. |
logical | close_global_unit_on_dealloc = .FALSE. |
character(len=default_string_length) | suffix = "" |
character(len=default_path_length) | local_filename = "" |
character(len=default_path_length) | global_filename = "" |
type(mp_para_env_type), pointer | para_env => NULL() |
type(cp_iteration_info_type), pointer | iter_info => NULL() |
type of a logger, at the moment it contains just a print level starting at which level it should be logged (0 note, 1 warning, 2 failure, 3 fatal) it could be expanded with the ability to focus on one or more module/object/thread/processor
ref_count | reference count (see cp2k/doc/ReferenceCounting.html) |
print_level | the level starting at which something gets printed |
default_local_unit_nr | default unit for local logging (-1 if not yet initialized). Local logging guarantee to each task its own file. |
default_global_unit_nr | default unit for global logging (-1 if not yet initialized). This unit is valid only on the processor with para_envmepos==para_envsource. |
para_env | the parallel environment for the output. this might be a super environment of your computation environment i.e. be very careful not to do global operations like broadcast with a subset of its processors (use your computation environment instead). |
close_local_unit_on_dealloc | if the local unit should be closed when this logger is deallocated |
close_global_unit_on_dealloc | whether the global unit should be closed when this logger is deallocated |
suffix | a short string that is used as suffix in all the filenames created by this logger. Can be used to guarantee the unicity of generated filename |
local_filename | the root of the name of the file used for local logging (can be different from the name of the file corresponding to default_local_unit_nr, only the one used if the unit needs to be opened) |
global_filename | the root of the name of the file used for global logging (can be different from the name of the file corresponding to default_global_unit_nr, only the one used if the unit needs to be opened) |
print_keys | print keys that tell what should be logged/outputted |
Definition at line 140 of file cp_log_handling.F.
integer cp_log_handling::cp_logger_type::ref_count = -1 |
Definition at line 141 of file cp_log_handling.F.
integer cp_log_handling::cp_logger_type::print_level = -1 |
Definition at line 142 of file cp_log_handling.F.
integer cp_log_handling::cp_logger_type::default_local_unit_nr = -1 |
Definition at line 143 of file cp_log_handling.F.
integer cp_log_handling::cp_logger_type::default_global_unit_nr = -1 |
Definition at line 144 of file cp_log_handling.F.
logical cp_log_handling::cp_logger_type::close_local_unit_on_dealloc = .FALSE. |
Definition at line 145 of file cp_log_handling.F.
logical cp_log_handling::cp_logger_type::close_global_unit_on_dealloc = .FALSE. |
Definition at line 145 of file cp_log_handling.F.
character(len=default_string_length) cp_log_handling::cp_logger_type::suffix = "" |
Definition at line 146 of file cp_log_handling.F.
character(len=default_path_length) cp_log_handling::cp_logger_type::local_filename = "" |
Definition at line 147 of file cp_log_handling.F.
character(len=default_path_length) cp_log_handling::cp_logger_type::global_filename = "" |
Definition at line 147 of file cp_log_handling.F.
type(mp_para_env_type), pointer cp_log_handling::cp_logger_type::para_env => NULL() |
Definition at line 148 of file cp_log_handling.F.
type(cp_iteration_info_type), pointer cp_log_handling::cp_logger_type::iter_info => NULL() |
Definition at line 149 of file cp_log_handling.F.