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

Explicitly specify ADIOS2 components in openPMDConfig.cmake #1693

Merged

Conversation

franzpoeschel
Copy link
Contributor

@franzpoeschel franzpoeschel commented Nov 6, 2024

When including openPMD in downstream CMake and that CMake script contains Fortran, ADIOS2 will automatically detect that. But since we do not reexport the ADIOS2 headers, we only need the components that openPMD explicitly uses: CXX and MPI.

TODO:

  • Do we support building openPMD in parallel with serial ADIOS2? This would break that No, we don't, but we didn't check it, there was a Todo. Fixed the todo.

When including openPMD in downstream CMake and that CMake script
contains Fortran, ADIOS2 will automatically detect that. But since we
do not reexport the ADIOS2 headers, we only need the components that
openPMD explicitly uses: CXX and MPI.
@franzpoeschel franzpoeschel force-pushed the cmake-explicit-adios2-components branch from 155b692 to 6132928 Compare November 8, 2024 14:05
@franzpoeschel franzpoeschel enabled auto-merge (squash) November 8, 2024 14:22
@franzpoeschel franzpoeschel merged commit 4a040bb into openPMD:dev Nov 8, 2024
31 checks passed
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.

1 participant