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

Remove special ReadFlattenSteps Mode, switch to control by writer-sid… #4160

Merged
merged 2 commits into from
May 11, 2024

Conversation

eisenhauer
Copy link
Member

…e FlattenSteps parameter

Copy link
Contributor

@anagainaru anagainaru left a comment

Choose a reason for hiding this comment

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

Looks reasonable. So now the option of treating steps as flat (or ignoring this) is given by the writer (or reader) through macros and not part of the API?

docs/user_guide/source/engines/bp5.rst Outdated Show resolved Hide resolved
@eisenhauer
Copy link
Member Author

Looks reasonable. So now the option of treating steps as flat (or ignoring this) is given by the writer (or reader) through macros and not part of the API?

Yes, pretty much. While the actual functionality of loading all the steps at once and presenting as a single step is purely reader-side, @ax3l wanted it to be controlled by the writer. So all that happens on the writer side is we put the FlattenSteps flag into a new file header field. On the reader side we pull the flag and use that instead of a new read mode. The IgnoreFlattenSteps was as much for bpls as anything, so we could see the file as written.

@eisenhauer eisenhauer merged commit c8b12cd into ornladios:master May 11, 2024
39 checks passed
@eisenhauer eisenhauer deleted the Flatten branch May 11, 2024 20:28
@vicentebolea vicentebolea modified the milestone: v2.10.1 May 28, 2024
@eisenhauer eisenhauer added this to the v2.10.1 milestone May 28, 2024
vicentebolea pushed a commit to vicentebolea/ADIOS2 that referenced this pull request May 28, 2024
ornladios#4160)

Remove special ReadFlattenSteps Mode, switch to control by writer-side FlattenSteps parameter
vicentebolea added a commit to vicentebolea/ADIOS2 that referenced this pull request May 28, 2024
vicentebolea added a commit to vicentebolea/ADIOS2 that referenced this pull request May 28, 2024
vicentebolea added a commit that referenced this pull request May 29, 2024
* release_210:
  Bump version to v2.10.1
  Kill outdated reference to bindings.Mode.ReadFlattenSteps (#4185)
  fix: make changes from #4160 abi compat
  fix: make changes from #4144 abi compat
  Remove special ReadFlattenSteps Mode, switch to control by writer-sid… (#4160)
  EVPath 2024-05-27 (45471c87) (#4181)
  Add API call to reset memory selection (#4169)
  Typo in the build command inside the documentation (#4166)
  Merge pull request #4161 from anagainaru/derived-performance
  Minor docs tweaks (#4153)
  ReadModeFlatten (#4147)
  Merge pull request #4142 from vicentebolea/fix-pugixml-dep
  Fixes for FreeBSD, including upstream (#4138)
  Deactivate campaign recording by default. Use .adios-campaign/ as directory name.
  test CI fix (#4177)
  - based on char signess in installed adios library, use numpy.int8 or numpy.uint8 to read char arrays from BP files - move char as last type in adios type macros, so that unsigned char always becomes uint8_t and signed char becomes int8_t in output (char arrays still become  char in output) - add C++ test to write and read char/signed char/unsigned char arrays
  dill 2024-04-04 (55420dee) (#4136)
  pugixml: correct target name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants