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