Debug
Debug
Section Execution::Debug
Type flag
Default no
This variable controls the amount of debugging information
generated by Octopus. You can use include more than one option
with the + operator.
Options:
- no:
(default) Octopus does not enter debug mode.
- info:
Octopus prints additional information to the terminal.
- trace:
Octopus generates a stack trace as it enters end exits
subroutines. This information is reported if Octopus stops with
an error.
- trace_term:
The trace is printed to the terminal as Octopus enters or exits subroutines. This slows down execution considerably.
- trace_file:
The trace is written to files in the debug
directory. For each node (when running in parallel) there is a file called
debug_trace.<rank>. Writing these files slows down the code by a huge factor and
it is usually only necessary for parallel runs.
- extra_checks:
This enables Octopus to perform some extra checks, to ensure
code correctness, that might be too costly for regular runs.
- interaction_graph:
Octopus generates a dot file containing the graph for a multisystem run.
- interaction_graph_full:
Octopus generates a dot file containing the graph for a multisystem run including ghost interactions.
- propagation_graph:
Octopus generates a file with information for the propagation diagram.
- instrument:
Octopus adds instrumentation to functions specified in an InstrumentFunctions block.