Skip to content

Commit

Permalink
Const Records: Relax shape for Particles
Browse files Browse the repository at this point in the history
For advanced, highly parallel I/O output, we developed a new
method in ADIOS2 that does not need an initial metadata gather
("JoinedArrays"). To be able to use this mode, we need to relax
the requirements to write a shape for constant records in a species
(particle group), because otherwise we still have to do a collective
gather.

This adds the need for a slight additional read fallback implementation
on the reader side.
  • Loading branch information
ax3l committed Aug 5, 2024
1 parent 754f595 commit b6c20cc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions STANDARD.md
Original file line number Diff line number Diff line change
Expand Up @@ -731,8 +731,10 @@ The record's *data set* `<componentName>` must be replaced with an empty

`shape` is a 1-dimensional array of `N` *(uint64)* elements, where `N` is the
number of dimensions of the record. It contains the number of elements of each
dimension that are replaced with a constant value. For `mesh` based records,
the order of the `N` values must be identical to the axes in `axisLabels`.
dimension that are replaced with a constant value.\
- For `mesh` based records, the order of the `N` values must be identical to the axes in `axisLabels`.
- For `particle` records, the `shape` attribute can be skipped if there is *at least one more record* in the same particle group (species) that is non-constant or is constant and has the `shape` attribute.
Read-logic will then pick any other record to recover the `shape`.

Other required attributes that where previously stored on the *data set* need
to be added to the new sub-group as well.
Expand Down

0 comments on commit b6c20cc

Please sign in to comment.