# vtkXMLPUnstructuredGridWriter.h is missing

**URL:** https://discourse.vtk.org/t/vtkxmlpunstructuredgridwriter-h-is-missing/7922
**Category:** Support
**Created:** [February 25, 2022, 9:39am UTC](https://discourse.vtk.org/t/vtkxmlpunstructuredgridwriter-h-is-missing/7922 "2022-02-25T09:39:20Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Marshdweller](https://discourse.vtk.org/user_avatar/discourse.vtk.org/marshdweller/32/4749_2.png) [@Marshdweller](https://discourse.vtk.org/u/Marshdweller)
#### Post date: [February 25, 2022, 9:39am UTC](https://discourse.vtk.org/t/vtkxmlpunstructuredgridwriter-h-is-missing/7922/1 "2022-02-25T09:39:20Z")

</div>

I am trying to link an existing software to VTK9.1, and keep getting a compile-time error “vtkXMLPUnstructuredGridWriter.h not found”. It is indeed missing from the …/include directory, although vtkXMLPUnstructuredGridReader.h is there.

I built VTK with USE\_MPI=ON and VTK\_GROUP\_ENABLE\_MPI=YES, but it does not help.

What should I check? Any advice is appreciated.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mwestphal/32/19_2.png) [@mwestphal](https://discourse.vtk.org/u/mwestphal)
#### Post date: [February 25, 2022, 9:42am UTC](https://discourse.vtk.org/t/vtkxmlpunstructuredgridwriter-h-is-missing/7922/2 "2022-02-25T09:42:54Z")

</div>

@ben.boeckel

---

<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: [February 25, 2022, 12:59pm UTC](https://discourse.vtk.org/t/vtkxmlpunstructuredgridwriter-h-is-missing/7922/3 "2022-02-25T12:59:10Z")

</div>

The MPI group doesn’t interact with the `VTK::IOParallelXML` module, so that makes sense. Please make sure that the module is available. Note that the reader is in `VTK::IOXML`, so the presence of the reader does not imply the availability of the writer.

---

<div class="post-metadata">

### Author: ![Marshdweller](https://discourse.vtk.org/user_avatar/discourse.vtk.org/marshdweller/32/4749_2.png) [@Marshdweller](https://discourse.vtk.org/u/Marshdweller)
#### Post date: [February 25, 2022, 1:28pm UTC](https://discourse.vtk.org/t/vtkxmlpunstructuredgridwriter-h-is-missing/7922/4 "2022-02-25T13:28:45Z")

</div>

It seems to be the solution. I toggle the advanced mode [t] in ccmake and enabled IOParallelXML manually. Thank you!
