From 7e3e8059488a789bb7bf51477fc9032828161f08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Sch=C3=BCtt?= Date: Fri, 5 Mar 2021 23:36:35 +0100 Subject: [PATCH] Docker: Fix missing timings in plot_performance.py --- tools/docker/scripts/plot_performance.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/docker/scripts/plot_performance.py b/tools/docker/scripts/plot_performance.py index 9df1b7d62c..4bdf554e0e 100755 --- a/tools/docker/scripts/plot_performance.py +++ b/tools/docker/scripts/plot_performance.py @@ -30,7 +30,7 @@ def main(): plot = f"{label}_timings_{nprocs}omp" print(f'Plot: name="{plot}", title="{full_title}", ylabel="time [s]"') for r in ["rest"] + routines: - t = timings_omp[r] + t = timings_omp.get(r, 0.0) print(f'PlotPoint: plot="{plot}", name="{r}", label="{r}", y={t}, yerr=0.0') print("") @@ -38,7 +38,7 @@ def main(): plot = f"{label}_timings_{nprocs}mpi" print(f'Plot: name="{plot}", title="{full_title}", ylabel="time [s]"') for r in ["rest"] + routines: - t = timings_mpi[r] + t = timings_mpi.get(r, 0.0) print(f'PlotPoint: plot="{plot}", name="{r}", label="{r}", y={t}, yerr=0.0') print("")