rgpycrumbs.surrogate.plt_breakdown

Draw wall time per component for each cell and layout.

Added in version 1.12.0.

Reads a per-repetition wall-time CSV (columns cell, ranks, threads, repetition, stage, seconds) and stacks the median seconds of the chosen component stages per ranks x threads layout, one figure per cell. The rest of the --total stage is drawn as other. Components must not nest (pass band_oracle and band_refit, not band_internal with its parts):

rgpycrumbs surrogate plt-breakdown strong_scaling_wall.csv -o figs/breakdown --component band_oracle --component band_refit --component dimer_oracle

Attributes

Functions

main(*, table, prefix, components, total, cells, fmt, ...)

Draw the wall-time breakdown of each cell in TABLE.

Module Contents

rgpycrumbs.surrogate.plt_breakdown.warn_on_direct_script_import = None[source]
rgpycrumbs.surrogate.plt_breakdown.main(*, table, prefix, components, total, cells, fmt, dpi, font_dirs, font, legend_fontsize)[source]

Draw the wall-time breakdown of each cell in TABLE.