# Cannot perform a minimal build from master without Parallel modules

**URL:** https://discourse.vtk.org/t/cannot-perform-a-minimal-build-from-master-without-parallel-modules/7298
**Category:** Support
**Created:** [November 29, 2021, 10:43pm UTC](https://discourse.vtk.org/t/cannot-perform-a-minimal-build-from-master-without-parallel-modules/7298 "2021-11-29T22:43:57Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![biagas](https://discourse.vtk.org/user_avatar/discourse.vtk.org/biagas/32/7380_2.png) [@biagas](https://discourse.vtk.org/u/biagas)
#### Post date: [November 29, 2021, 10:43pm UTC](https://discourse.vtk.org/t/cannot-perform-a-minimal-build-from-master-without-parallel-modules/7298/1 "2021-11-29T22:43:57Z")

</div>

I am performing a minimal build of VTK master with these initial cache settings:

```auto
BUILD_SHARED_LIBS:BOOL=true
VTK_LEGACY_REMOVE:BOOL=true
VTK_DATA_EXCLUDE_FROM_ALL:BOOL=true
VTK_FORBID_DOWNLOADS:BOOL=true

VTK_DEBUG_MODULE:STRING=all
VTK_DEBUG_MODULE_enable:BOOL=ON
VTK_DEBUG_MODULE_ALL:BOOL=ON

VTK_GROUP_ENABLE_Imaging:STRING=DONT_WANT
VTK_GROUP_ENABLE_MPI:STRING=DONT_WANT
VTK_GROUP_ENABLE_Qt:STRING=DONT_WANT
VTK_GROUP_ENABLE_Rendering:STRING=DONT_WANT
VTK_GROUP_ENABLE_StandAlone:STRING=DONT_WANT
VTK_GROUP_ENABLE_Tk:STRING=DONT_WANT
VTK_GROUP_ENABLE_Views:STRING=DONT_WANT
VTK_GROUP_ENABLE_Web:STRING=DONT_WANT

VTK_MODULE_ENABLE_VTK_CommonCore:STRING=YES
VTK_MODULE_ENABLE_VTK_IOLegacy:STRING=YES
VTK_MODULE_ENABLE_VTK_RenderingOpenGL2:STRING=YES
VTK_MODULE_ENABLE_VTK_InteractionStyle:STRING=YES

```

ParallelDIY and ParallelCore get enabled due to InteractionStyle (via FiltersExtraction)  
Here’s the module debug output.

```auto
VTK module debug provide: VTK::FiltersExtraction is provided due to dependency from VTK::InteractionStyle
VTK module debug provide: VTK::ParallelDIY is provided due to dependency from VTK::FiltersExtraction
VTK module debug provide: VTK::ParallelCore is provided due to dependency from VTK::ParallelDIY
VTK module debug provide: VTK::diy2 is provided due to dependency from VTK::ParallelDIY
VTK module debug provide: VTK::FiltersGeometry is provided due to dependency from VTK::ParallelDIY
VTK module debug provide: VTK::IOXML is provided due to dependency from VTK::ParallelDIY

```

Not sure why I would need Parallel aspects of VTK for interactions, seems a bit heavy-handed.  
Could this be made an optional dependency instead of a hard dependency?  
It used to be possible to not build parallel modules when you don’t need them.

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)
#### Post date: [November 30, 2021, 12:02pm UTC](https://discourse.vtk.org/t/cannot-perform-a-minimal-build-from-master-without-parallel-modules/7298/2 "2021-11-30T12:02:32Z")

</div>

Hmm, indeed. Looking at the history, the dependency was added by @utkarshayachit in [MR 5933](https://gitlab.kitware.com/vtk/vtk/-/merge_requests/5933) (2 years ago). We should consider moving the `vtkExpandMarkedElements` filter to another module (somehow; compat is an issue) or making the DIY support optional.

---

<div class="post-metadata">

### Author: ![biagas](https://discourse.vtk.org/user_avatar/discourse.vtk.org/biagas/32/7380_2.png) [@biagas](https://discourse.vtk.org/u/biagas)
#### Post date: [December 1, 2021, 12:09am UTC](https://discourse.vtk.org/t/cannot-perform-a-minimal-build-from-master-without-parallel-modules/7298/3 "2021-12-01T00:09:37Z")

</div>

So would this be automatically be handled or should I enter an issue ticket?

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)
#### Post date: [December 4, 2021, 4:31pm UTC](https://discourse.vtk.org/t/cannot-perform-a-minimal-build-from-master-without-parallel-modules/7298/4 "2021-12-04T16:31:21Z")

</div>

And issue would be appreciated.
