xref: /libCEED/benchmarks/postprocess_table.py (revision 0ef725981a32b9079ff6c5100673b913b8f4d7c0)
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
9# source code availability see http://github.com/ceed.
10#
11# The CEED research is supported by the Exascale Computing Project 17-SC-20-SC,
12# a collaborative effort of two U.S. Department of Energy organizations (Office
13# of Science and the National Nuclear Security Administration) responsible for
14# the planning and preparation of a capable exascale ecosystem, including
15# software, applications, hardware, advanced system engineering and early
16# testbed platforms, in support of the nation's exascale computing imperative.
17
18
19# Load the data
20import pandas as pd
21from postprocess_base import read_logs
22
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