xref: /libCEED/benchmarks/postprocess_table.py (revision 3d8e882215d238700cdceb37404f76ca7fa24eaa)
1d13e9b48SJed Brown#!/usr/bin/env python3
2d13e9b48SJed Brown# Copyright (c) 2017-2018, Lawrence Livermore National Security, LLC.
3d13e9b48SJed Brown# Produced at the Lawrence Livermore National Laboratory. LLNL-CODE-734707.
4d13e9b48SJed Brown# All Rights reserved. See files LICENSE and NOTICE for details.
5d13e9b48SJed Brown#
6d13e9b48SJed Brown# This file is part of CEED, a collection of benchmarks, miniapps, software
7d13e9b48SJed Brown# libraries and APIs for efficient high-order finite element and spectral
8d13e9b48SJed Brown# element discretizations for exascale applications. For more information and
9*3d8e8822SJeremy L Thompson# source code availability see http://github.com/ceed
10d13e9b48SJed Brown#
11d13e9b48SJed Brown# The CEED research is supported by the Exascale Computing Project 17-SC-20-SC,
12d13e9b48SJed Brown# a collaborative effort of two U.S. Department of Energy organizations (Office
13d13e9b48SJed Brown# of Science and the National Nuclear Security Administration) responsible for
14d13e9b48SJed Brown# the planning and preparation of a capable exascale ecosystem, including
15d13e9b48SJed Brown# software, applications, hardware, advanced system engineering and early
16d13e9b48SJed Brown# testbed platforms, in support of the nation's exascale computing imperative.
17d13e9b48SJed Brown
18d13e9b48SJed Brown
19dec49e00SJed Brown# Load the data
20d13e9b48SJed Brownimport pandas as pd
21d13e9b48SJed Brownfrom postprocess_base import read_logs
22d13e9b48SJed Brown
23d13e9b48SJed Brownruns = read_logs()
24d13e9b48SJed Brown
25dec49e00SJed Brown# Data output
26d13e9b48SJed Brownprint('Writing data to \'benchmark_data.csv\'...')
27d13e9b48SJed Brownruns.to_csv('benchmark_data.csv', sep='\t', index=False)
28d13e9b48SJed Brownprint('Writing complete')
29