Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add performance scaling utils #38

Open
minghangli-uni opened this issue Oct 20, 2024 · 0 comments
Open

Add performance scaling utils #38

minghangli-uni opened this issue Oct 20, 2024 · 0 comments

Comments

@minghangli-uni
Copy link
Contributor

Add an ESMF Performance tool to om3-scripts

The ESMF Performance tool is a Python-based tool designed to read and process performance profile data from ESMF profiling log files. It provides a structured way to extract hierachical timing and computational stats for various regions within ESMF runs, enabling detailed performance analysis.

There are two scripts in this tool,

  1. esmfFileParser.py

    • Identify and retrieves ESMF profile files from a directory, filtering by the given prefix, and handling both summary and detailed formats.
    • Builds a hierachical tree structure.
    • Extracts performance metrics for specific regions from the parsed data.
    • A high-level function that orchestrates the file, parsing, and analysis run stats for multiple ESMF profiles.
  2. esmfRegion.py

    • Defines the ESMFRegion class, which represents individual regions of the ESMF performance data.
    • Maintains the hierachy of the ESMF profile log files, allowing for complex profiling hierachies to be stored and analysed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant