rgpycrumbs.surrogate.plt_pop

Draw fixed-work speedup and the POP efficiency factors against cores.

Added in version 1.13.0.

Each TABLE is a CSV with one row per fixed-work run (columns ranks, threads, a wall column named by --time, one column per factor named by --metric and optionally cell). Each --metric COLUMN[=LABEL] is drawn as one line on a 0 to 1 axis, with the fixed-work efficiency (speedup per core ratio against the layout with the fewest cores) and the --guide level. --time COLUMN[=QUANTITY] names the timed column of the TABLEs in order (one value serves every table); the quantity titles the row. Layouts sharing a core count are dodged; there is no ideal line. --label CELL=NAME changes the displayed row label without changing the source key used to select rows. One figure, <prefix>-pop, with one row per table and cell:

rgpycrumbs surrogate plt-pop replay.csv fit.csv --time elapsed_s="process wall" --time fit_s=fit -o figs/pop --metric parallel_eff="parallel efficiency" --metric load_balance="load balance" --metric comm_eff="communication efficiency"

Attributes

Functions

_metric(→ tuple[str, str])

main(*, tables, prefix, metrics, times, cells, ...)

Draw the fixed-work efficiency figure of the TABLEs.

Module Contents

rgpycrumbs.surrogate.plt_pop.warn_on_direct_script_import = None[source]
rgpycrumbs.surrogate.plt_pop._metric(spec: str) → tuple[str, str][source]
rgpycrumbs.surrogate.plt_pop.main(*, tables, prefix, metrics, times, cells, cell_labels, guide, fmt, dpi, font_dirs, font, legend_fontsize)[source]

Draw the fixed-work efficiency figure of the TABLEs.