| postprocess_plot.py (dec49e003c07f830a5d3309c81d36f4ed9b22071) | postprocess_plot.py (981e58aebb73292f1076ced8fa5c6df3e309fe8e) |
|---|---|
| 1#!/usr/bin/env python3 2# Copyright (c) 2017-2018, Lawrence Livermore National Security, LLC. 3# Produced at the Lawrence Livermore National Laboratory. LLNL-CODE-734707. 4# All Rights reserved. See files LICENSE and NOTICE for details. 5# 6# This file is part of CEED, a collection of benchmarks, miniapps, software 7# libraries and APIs for efficient high-order finite element and spectral 8# element discretizations for exascale applications. For more information and --- 62 unchanged lines hidden (view full) --- 71sel_runs = sel_runs.loc[sel_runs['case'] == case] 72 73# Plot same 'code' 74codes = list(sel_runs.code.unique()) 75code = codes[0] 76sel_runs = sel_runs.loc[sel_runs['code'] == code] 77 78# Group plots by backend and number of processes | 1#!/usr/bin/env python3 2# Copyright (c) 2017-2018, Lawrence Livermore National Security, LLC. 3# Produced at the Lawrence Livermore National Laboratory. LLNL-CODE-734707. 4# All Rights reserved. See files LICENSE and NOTICE for details. 5# 6# This file is part of CEED, a collection of benchmarks, miniapps, software 7# libraries and APIs for efficient high-order finite element and spectral 8# element discretizations for exascale applications. For more information and --- 62 unchanged lines hidden (view full) --- 71sel_runs = sel_runs.loc[sel_runs['case'] == case] 72 73# Plot same 'code' 74codes = list(sel_runs.code.unique()) 75code = codes[0] 76sel_runs = sel_runs.loc[sel_runs['code'] == code] 77 78# Group plots by backend and number of processes |
| 79pl_set = sel_runs[['backend', 'backend_memtype', 'num_procs', 'num_procs_node']] | 79pl_set = sel_runs[['backend', 80 'backend_memtype', 81 'num_procs', 82 'num_procs_node']] |
| 80pl_set = pl_set.drop_duplicates() 81 82# Plotting 83for index, row in pl_set.iterrows(): 84 backend = row['backend'] 85 backend_memtype = row['backend_memtype'] 86 num_procs = float(row['num_procs']) 87 num_procs_node = float(row['num_procs_node']) --- 107 unchanged lines hidden --- | 83pl_set = pl_set.drop_duplicates() 84 85# Plotting 86for index, row in pl_set.iterrows(): 87 backend = row['backend'] 88 backend_memtype = row['backend_memtype'] 89 num_procs = float(row['num_procs']) 90 num_procs_node = float(row['num_procs_node']) --- 107 unchanged lines hidden --- |