Skip to content

VTK: Patch ADIOS2 module to fix cyclic dependency#27784

Merged
chuckatkins merged 1 commit intospack:developfrom
kwryankrattiger:patch_vtk_adios2
Jan 5, 2022
Merged

VTK: Patch ADIOS2 module to fix cyclic dependency#27784
chuckatkins merged 1 commit intospack:developfrom
kwryankrattiger:patch_vtk_adios2

Conversation

@kwryankrattiger
Copy link
Copy Markdown
Contributor

@kwryankrattiger kwryankrattiger commented Dec 3, 2021

@chuckatkins

Ref.
https://gitlab.kitware.com/vtk/vtk/-/merge_requests/8653

After enabling the ADIOS2 option for paraview it was discovered that the IOADIOS2 module could not build with MPI. These patches fix that issue.

Tested building ParaView 5.8.1 and 5.9.0 and VTK 9.0.3 with gcc 9.3.0

Note, this patch was also applied to VTK even though there is not an ADIOS2 variant yet. The variant will be added later, including the patch here to keep this information in one place.

Note, these patches only includes changes to the vtk.module file for IOADIOS2. The remaining changes from the MR in the VTK project are handled by not allowing +adios2 when ~mpi, this was done because the rest of the patch does not apply correctly. This should be fixed for ParaView 5.11.

Copy link
Copy Markdown
Contributor Author

@kwryankrattiger kwryankrattiger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also propagate mpi to adios

 depends_on('adios2 +mpi', when='+adios2 +mpi')
 depends_on('adios2 ~mpi', when='+adios2 ~mpi')

@kwryankrattiger kwryankrattiger force-pushed the patch_vtk_adios2 branch 2 times, most recently from 97802d9 to 3ea74f3 Compare December 15, 2021 17:15
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.

2 participants