-
Notifications
You must be signed in to change notification settings - Fork 53
ADIOS2: more fine-grained control for file endings #1218
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
Conversation
934b5fc to
5eb6d2d
Compare
|
Current approach: Each ADIOS2 engine has a set of accepted file endings and a default file ending. If the user specifies any of the accepted endings, it will be used. If no ending is specified or any other ending is specified, the default ending will be used. |
a85c7cf to
067a9a9
Compare
|
This PR now has some BP5 fixes that I'll need to factor out. |
665e4ff to
6aa0ba0
Compare
6aa0ba0 to
fa2700a
Compare
|
@franzpoeschel can you please rebase this? Looks like all predicate PRs are merged now :) |
9a8dc96 to
ae94962
Compare
a6cc8c1 to
36995ea
Compare
62592dd to
855562a
Compare
06fda47 to
261f16b
Compare
e767aef to
827d991
Compare
2cd8de4 to
4143658
Compare
4143658 to
6092e24
Compare
6092e24 to
3fd9b75
Compare
3fd9b75 to
8cbace8
Compare
8cbace8 to
320a3bc
Compare
|
CI looks good, but I'll run it again to make sure it's up-to-date. |
ax3l
left a comment
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 great, thanks a lot! 👍
* dev: (70 commits) Docs: Recommend Static Build for Superbuilds (openPMD#1325) Python 3.11 (openPMD#1323) pybind11: v2.10.1+ (openPMD#1322) Add Attribute::getOptional<T>() and use to add some more dynamic datatype conversions at read time (openPMD#1278) Mapping between ADIOS steps and openPMD iterations (openPMD#949) Deprecate shareRaw (openPMD#1229) Fix append mode double attributes (openPMD#1302) Constant scalars: Don't flush double (openPMD#1315) Remove caching cmake vars (openPMD#1313) [pre-commit.ci] pre-commit autoupdate (openPMD#1311) storeChunk: Add an overload for shared_ptr<T[]> (openPMD#1296) Fix `operationAsString` Export (openPMD#1309) ADIOS2: more fine-grained control for file endings (openPMD#1218) [pre-commit.ci] pre-commit autoupdate (openPMD#1307) Fix file existence check in parallel tests (openPMD#1303) ADIOS2: Flush to disk within a step (openPMD#1207) [pre-commit.ci] pre-commit autoupdate (openPMD#1304) [pre-commit.ci] pre-commit autoupdate (openPMD#1295) Update catch2 to v2.13.9 (openPMD#1299) [pre-commit.ci] pre-commit autoupdate (openPMD#1292) ... # Conflicts: # .github/workflows/linux.yml
Close #1205
TODO:
Series("asdf.bp5", Access::CREATE, "adios2.engine.type = \"file\"")?Current implementation: Accept this in the backend, but warn the user that the
fileengine will decide the BP version independent of the extension:[ADIOS2] Specified explicit ending '.bp5' in combination with generic file engine 'file'. ADIOS2 will pick a default file ending independent of specified suffix. (E.g. 'simData.bp5' might actually be written as a BP4 dataset.)Series("asdf.bp5", Access::CREATE, "backend = \"adios2\"")is handled correctlyopenPMD::getFileExtensions()