-
Notifications
You must be signed in to change notification settings - Fork 51
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
Add define for ADIOS2_HAVE_BP5 #1614
Add define for ADIOS2_HAVE_BP5 #1614
Conversation
b2d291c
to
c676711
Compare
This was removed from ADIOS2 v2.9 to v2.10.
c676711
to
9bf8591
Compare
Fixed in openPMD-api by openPMD/openPMD-api#1614. Versions that don't have this fix will get confused and hand down their confusion to PIConGPU.
Fixed in openPMD-api by openPMD/openPMD-api#1614. Versions that don't have this fix will get confused and hand down their confusion to PIConGPU.
Fixed in openPMD-api by openPMD/openPMD-api#1614. Versions that don't have this fix will get confused and hand down their confusion to PIConGPU.
Fixed in openPMD-api by openPMD/openPMD-api#1614. Versions that don't have this fix will get confused and hand down their confusion to PIConGPU.
I accidentally merged this somehow, @ax3l will revert the merge commit and we'll try this once more. |
@@ -19,6 +19,11 @@ | |||
#define openPMD_HAS_ADIOS_2_9 \ | |||
(ADIOS2_VERSION_MAJOR * 100 + ADIOS2_VERSION_MINOR >= 209) | |||
|
|||
#if !defined(ADIOS2_HAVE_BP5) && openPMD_HAS_ADIOS_2_9 | |||
// ADIOS2 v2.10 no longer defines this | |||
#define ADIOS2_HAVE_BP5 |
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.
todo: define our own macro instead of this
@@ -19,6 +19,11 @@ | |||
#define openPMD_HAS_ADIOS_2_9 \ | |||
(ADIOS2_VERSION_MAJOR * 100 + ADIOS2_VERSION_MINOR >= 209) | |||
|
|||
#if !defined(ADIOS2_HAVE_BP5) && openPMD_HAS_ADIOS_2_9 | |||
// ADIOS2 v2.10 no longer defines this | |||
#define ADIOS2_HAVE_BP5 |
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.
Let's call this openPMD_HAS_ADIOS_BP5
and add all logic here (and rename other uses).
Fixed in openPMD-api by openPMD/openPMD-api#1614. Versions that don't have this fix will get confused and hand down their confusion to PIConGPU.
Fixed in openPMD-api by openPMD/openPMD-api#1614. Versions that don't have this fix will get confused and hand down their confusion to PIConGPU.
This was removed from ADIOS2 v2.9 to v2.10, causing test failures in #1613 since openPMD thinks that BP5 does not exist, but ADIOS2 creates BP5 files.