# Mismatch between .pvtu Pieces count and MPI visualization rank count

**URL:** https://discourse.paraview.org/t/mismatch-between-pvtu-pieces-count-and-mpi-visualization-rank-count/8674
**Category:** ParaView Support
**Tags:** mpi
**Created:** [December 21, 2021, 9:53pm UTC](https://discourse.paraview.org/t/mismatch-between-pvtu-pieces-count-and-mpi-visualization-rank-count/8674 "2021-12-21T21:53:27Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Luke](https://discourse.paraview.org/user_avatar/discourse.paraview.org/luke/32/8217_2.png) [@Luke](https://discourse.paraview.org/u/Luke)
#### Post date: [December 21, 2021, 9:53pm UTC](https://discourse.paraview.org/t/mismatch-between-pvtu-pieces-count-and-mpi-visualization-rank-count/8674/1 "2021-12-21T21:53:27Z")

</div>

Hi Everyone,

We have a solver that produces `.pvd` timeseries data where each element is a `.pvtu` that links together a bunch of pieces as `_n.vtu` that are output independently by each rank.

When we visualize this from one process everything works great, and when we launch a distributed paraview environment where the number of ranks is the same as the number of Pieces it also works fine.

The problem we have is when we try and launch a distributed paraview environment that has a mismatch between the number of ranks and the number of pieces in the `.pvtu`. Is this perhaps a FAQ for this kind of situation? Do we need to reprocess the entire timeseries input to distribute it to Paraview’s liking?

Any advice would be appreciated.

Thanks,  
Luke

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [December 27, 2021, 11:19am UTC](https://discourse.paraview.org/t/mismatch-between-pvtu-pieces-count-and-mpi-visualization-rank-count/8674/2 "2021-12-27T11:19:03Z")

</div>

> [@Luke](#):
>
> The problem we have is when we try and launch a distributed paraview environment that has a mismatch between the number of ranks and the number of pieces in the `.pvtu`.

While ParaView will not redistribute accross more nodes unless you ask it to (Using RedistributeDataSet filter), it should still work, just not using all your nodes.

What problem do you encounter ?

> Is this perhaps a FAQ for this kind of situation?

Way too advanced for FAQ, but part of the docs:  
[https://docs.paraview.org/en/latest/ReferenceManual/parallelDataVisualization.html](https://docs.paraview.org/en/latest/ReferenceManual/parallelDataVisualization.html)

---

<div class="post-metadata">

### Author: ![Luke](https://discourse.paraview.org/user_avatar/discourse.paraview.org/luke/32/8217_2.png) [@Luke](https://discourse.paraview.org/u/Luke)
#### Post date: [December 28, 2021, 9:42pm UTC](https://discourse.paraview.org/t/mismatch-between-pvtu-pieces-count-and-mpi-visualization-rank-count/8674/3 "2021-12-28T21:42:23Z")

</div>

Thanks Mathieu,

I think we must have had some filter in the sequential pipeline that was broken for distributed. After rebuilding the pipeline from the ground up it seems to be working as expected.

So most likely “user error” somewhere.

Thank you,  
Luke
