Skip to content

[Custom Issue]: Post-processing: Ensure calliper data are ordered by MPI rank #228

@oakleybrunt

Description

Contact Details

oakley.brunt@metoffice.gov.uk

Are there any linked Issues or Pull Requests?

No response

Brief description

Data read in by VernierReader.load() are not ordered in any way. This is especially apparent when reading in multiple files using the ThreadPoolExecutor.

Further details of the issue.

MPI rank is important information when examining processes executing on specific ranks, so this information should be added.

The most likely route to retrieving this information is by scraping the header section of each MPI rank's calliper data and storing this information alongside the timing data:

Task 1 of 2 : MPI rank ID 0

There are are two options for using this information after scraping:

  1. Order the calliper data by MPI rank and then convert the VernierCalliper attributes to ordered constructs (e.g. Python's deque)
  2. Keep the MPI rank data as another VernierCalliper attribute but ensure that "rows" are kept intact during data operations

Both methods have drawbacks, suggestions on implementation are welcome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    PostprocessingRelated to the development of postprocessing functionalityenhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions