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