Godiva Software Instrumentation Tool Godiva has proven to be a useful new tool for the study of large science codes. Using Godiva, a wide variety of aspects of a code may be instrumented to observe dynamic behavior as the program executes. Godiva's approach to code instrumentation is as follows. First, selected parts of the code are annotated to study the characteristics of interest. These annotations use syntax specified in the Godiva Users Manual.
Annotations appear as comments to a Fortran or C compiler.
The annotated code is fed through the Godiva preprocessor, which generates Fortran or C source code, with calls to the Godiva run-time library inserted at appropriate points. The generated source program is then compiled and linked with the Godiva run-time library. Execution of the program generates a trace file on each processor. The trace file contains statistics collected on the fly during execution. After execution is complete, a Godiva postprocessor is used to generate tables, graphs, and histograms from the trace files produced by the processing nodes.