postprocess_table.py (25878d731ec1d76dfcb265836bbb0ff82e7138ef) postprocess_table.py (5aed82e4fa97acf4ba24a7f10a35f5303a6798e0)
1#!/usr/bin/env python3
2
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.
3# Copyright (c) 2017-2024, Lawrence Livermore National Security, LLC and other CEED contributors.
4# All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
6#
5#
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
6# SPDX-License-Identifier: BSD-2-Clause
11#
7#
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.
8# This file is part of CEED: http://github.com/ceed
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')
9
10import pandas as pd
11from postprocess_base import read_logs
12
13# Load the data
14runs = read_logs()
15
16# Data output
17print('Writing data to \'benchmark_data.csv\'...')
18runs.to_csv('benchmark_data.csv', sep='\t', index=False)
19print('Writing complete')