Skip to content

Conversation

pnorbert
Copy link
Contributor

@pnorbert pnorbert commented Jun 2, 2023

  • Added a new functionality to an Engine, to serialize metadata in memory after Open(ReadRandomAccess), to send over to another programs that can then use this metadata to open the same dataset with an accelerated function (using metadata from memory instead of retrieving from disk). BP4 and BP5 engine supports this new function.

    Program 1: reader = io.Open(fname, adios2::Mode::ReadRandomAccess);
    char *md;
    size_t mdsize;
    reader.GetMetadata(&md, &mdsize);
    Program 2: reader = io.Open(fname, md, mdsize);

  • Added Transport::CurrentPos() to get the current seek position

@pnorbert pnorbert requested a review from eisenhauer June 2, 2023 20:57
@pnorbert pnorbert requested a review from vicentebolea as a code owner June 2, 2023 20:57
Copy link
Member

@eisenhauer eisenhauer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All this looks reasonable.

…ry after Open(ReadRandomAccess), to send over to another programs that can then use this metadata to open the same dataset with an accelerated function (using metadata from memory instead of retrieving from disk). BP4 and BP5 engine supports this new function.

  Program 1:  reader = io.Open(fname, adios2::Mode::ReadRandomAccess);
              char *md;
              size_t mdsize;
              reader.GetMetadata(&md, &mdsize);
  Program 2:  reader = io.Open(fname, md, mdsize);

* Added Transport::CurrentPos() to get the current seek position
Copy link

This PR is stale because it has been open 6 months with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the Stale label Apr 19, 2025
Copy link

This PR was closed because it has been stalled for 30 days with no activity.

@github-actions github-actions bot closed this May 19, 2025
@pnorbert pnorbert deleted the ensembleRead branch July 29, 2025 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants