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