-
Notifications
You must be signed in to change notification settings - Fork 128
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
backports from master #4059
Merged
vicentebolea
merged 7 commits into
ornladios:release_210
from
vicentebolea:backports-from-master
Feb 29, 2024
Merged
backports from master #4059
vicentebolea
merged 7 commits into
ornladios:release_210
from
vicentebolea:backports-from-master
Feb 29, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Collaborator
vicentebolea
commented
Feb 28, 2024
- Python API: support writing Python numeric variables and lists (of one type) as ADIOS variables and attributes. Add extra tests for them and some in the bpWrite and bpReaderHeatMap2D examples. - Add glue to accept lists and single python value for variables and attributes. - Add test for lists and values (int, float and complex) to API tests. - Turn on HDF5 Python test (serial version)
- Add a static windows build to CI (Add a static windows build to CI #4037)
- Add arguments to IO.AvailableAttributes() and io.available_attributes() to get attributes of a specific variable.
- Return a 0-dim numpy array of size 1 when reading a scalar variable instead of a 1-dim array of size 1. The difference can be seen with gray-scott gsplot, as step is printed now 10 instead of [10]. Same when running bpReaderHeatMap2D.py.
- Add timeout parameter to stream.steps(). Necessary for controlling timeout in in situ processing. Also very useful for not being stuck forever in processing files that were not closed properly. Default is still infinity, which may not be the ideal setup for python scripts in practice. Usage: for _ in f.steps(timeout=1.0): ...
- blosc: do not export blosc lib
- Fix segfault when asking for BlocksInfo for a variable name that does not exist. Return value is now empty dictionary. Also fix handling 1D arrays made from LocalValues. Now this code works for examples/basics/values/valuesWrite.cpp ProcessID: with adios2.Stream("values.bp", 'rra') as f: e = f.engine bi = e.blocks_info("ProcessID", 0) print(f"Blocks info = {bi}")
…e type) as ADIOS variables and attributes. Add extra tests for them and some in the bpWrite and bpReaderHeatMap2D examples. - Add glue to accept lists and single python value for variables and attributes. - Add test for lists and values (int, float and complex) to API tests. - Turn on HDF5 Python test (serial version)
- Upstream EVpath, FFS and dill. - Actually add the CI Co-authored-by: Vicente Bolea <vicente.bolea@gmail.com>
…() to get attributes of a specific variable.
…nstead of a 1-dim array of size 1. The difference can be seen with gray-scott gsplot, as step is printed now 10 instead of [10]. Same when running bpReaderHeatMap2D.py.
…meout in in situ processing. Also very useful for not being stuck forever in processing files that were not closed properly. Default is still infinity, which may not be the ideal setup for python scripts in practice. Usage: for _ in f.steps(timeout=1.0): ...
… not exist. Return value is now empty dictionary. Also fix handling 1D arrays made from LocalValues. Now this code works for examples/basics/values/valuesWrite.cpp ProcessID: with adios2.Stream("values.bp", 'rra') as f: e = f.engine bi = e.blocks_info("ProcessID", 0) print(f"Blocks info = {bi}")
@ax3l you can use this branch to test the fix for your openPMD builds. |
@eisenhauer new round of backpors |
eisenhauer
approved these changes
Feb 29, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.