Deactivate Span API by default in BP5#1771
Merged
franzpoeschel merged 2 commits intoopenPMD:devfrom Jul 17, 2025
Merged
Conversation
575bec9 to
ef2042f
Compare
Contributor
|
This bug was fixed in BP5. Should span be allowed again in BP5? |
Contributor
Author
It is allowed based on the discovered ADIOS2 version, any version newer than 2.10.2 will use the Span API by default again: #if ( \
ADIOS2_VERSION_MAJOR * 1000 + ADIOS2_VERSION_MINOR * 10 + \
ADIOS2_VERSION_PATCH) <= 2102
||
// Deactivate the Span API in BP5 by default due to this bug
// https://github.com/ornladios/ADIOS2/issues/4586,
// fixed by https://github.com/ornladios/ADIOS2/pull/4587
this->realEngineType() == "bp5"
#endifDo you know if the error you saw is related to this? |
Contributor
|
The one from master is 2.10.0.735 from bpls -V |
ax3l
reviewed
Sep 3, 2025
This file contains hidden or 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
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.
Workaround for this bug ornladios/ADIOS2#4586.
Since BP5 can write directly from user buffers, this change (essentially activating our fallback implementation) is not too costly.
TODO: