Skip to content

Commit 982c08e

Browse files
committed
Const Records: Relax shape for Particles
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.
1 parent 754f595 commit 982c08e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

STANDARD.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -731,8 +731,10 @@ The record's *data set* `<componentName>` must be replaced with an empty
731731

732732
`shape` is a 1-dimensional array of `N` *(uint64)* elements, where `N` is the
733733
number of dimensions of the record. It contains the number of elements of each
734-
dimension that are replaced with a constant value. For `mesh` based records,
735-
the order of the `N` values must be identical to the axes in `axisLabels`.
734+
dimension that are replaced with a constant value.
735+
- For `mesh` based records, the order of the `N` values must be identical to the axes in `axisLabels`.
736+
- 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.
737+
Read-logic will then pick any other record to recover the `shape`.
736738

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

0 commit comments

Comments
 (0)