# Line probe fails in parallel for Nek5000 data

**URL:** https://discourse.paraview.org/t/line-probe-fails-in-parallel-for-nek5000-data/2828
**Category:** ParaView Support
**Created:** [October 23, 2019, 4:49pm UTC](https://discourse.paraview.org/t/line-probe-fails-in-parallel-for-nek5000-data/2828 "2019-10-23T16:49:05Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![juanecopro](https://discourse.paraview.org/user_avatar/discourse.paraview.org/juanecopro/32/2285_2.png) [@juanecopro](https://discourse.paraview.org/u/juanecopro)
#### Post date: [October 23, 2019, 4:49pm UTC](https://discourse.paraview.org/t/line-probe-fails-in-parallel-for-nek5000-data/2828/1 "2019-10-23T16:49:06Z")

</div>

Hello,

I’m using Paraview 5.7.0. When I do PlotOverLine on data from Nek5000 running Paraview in serial, it works fine. But when I run in parallel, the line probe fails. Basically, it doesn’t show the Nek5000 variables, only stuff like Points\_X, Points\_Y, etc. This also happened with versions 5.4 - 5.6. Is it a bug? Is there a workaround?

Thanks,  
Juan Diego

---

<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: [October 24, 2019, 6:37am UTC](https://discourse.paraview.org/t/line-probe-fails-in-parallel-for-nek5000-data/2828/2 "2019-10-24T06:37:43Z")

</div>

the Nek5000 reader is not behaving correctly in Parallel.  
This is a bug, but the work around is easy, there are actually two :

Easy but may take some time to compute with big datasets :

- Open your .nek5000 file with a // ParaView
- Add a D3 Filter, Apply (this redistribute the data)
- Plot over line works perfectly

More complex but more efficient :

- Open your .nek5000 file with a // ParaView
- Add a MergeBlocks filter, Apply
- Add an AppendReduce filter, All Data to All processor, Apply
- Plot over line works perfectly

---

<div class="post-metadata">

### Author: ![juanecopro](https://discourse.paraview.org/user_avatar/discourse.paraview.org/juanecopro/32/2285_2.png) [@juanecopro](https://discourse.paraview.org/u/juanecopro)
#### Post date: [October 24, 2019, 10:59pm UTC](https://discourse.paraview.org/t/line-probe-fails-in-parallel-for-nek5000-data/2828/3 "2019-10-24T22:59:10Z")

</div>

Hi Mathieu,

Thank you for your reply. The first option worked well for me. The second option caused Paraview to crash. I was running it as client-server mode, and this is the last few lines from the console where I was running pvserver:

```
( 468.216s) [pvserver.0]vtkPVDataInformation.cx:1446 ERR| vtkPVDataInformation (0x90eae70): Error parsing class name of data.
( 468.216s) [pvserver.0]vtkPVDataInformation.cx:1446 ERR| vtkPVDataInformation (0x90eae70): Error parsing class name of data.
( 468.316s) [pvserver.0] vtkMPICommunicator.cxx:71 WARN| MPI had an error
------------------------------------------------
Message truncated, error stack:
PMPI_Gatherv(416)...................: MPI_Gatherv failed(sbuf=0xae09040, scount=757, MPI_UNSIGNED_CHAR, rbuf=0xa721180, rcnts=0xa87bc30, displs=0xa87bed0, datatype=MPI_UNSIGNED_CHAR, root=0, comm=MPI_COMM_WORLD) failed
MPIR_Gatherv_impl(184)..............:
MPIR_Gatherv_intra_auto(93).........:
MPIR_Gatherv_allcomm_linear(99).....:
MPIC_Irecv(596).....................:
MPIDI_CH3U_Request_unpack_uebuf(516): Message truncated; 926 bytes received but buffer size is 757
------------------------------------------------
application called MPI_Abort(MPI_COMM_WORLD, 808023310) - process 0

```

Thank you,  
Juan Diego

---

<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: [October 25, 2019, 6:38am UTC](https://discourse.paraview.org/t/line-probe-fails-in-parallel-for-nek5000-data/2828/4 "2019-10-25T06:38:58Z")

</div>

I can’t reproduce your issue. Can you share your dataset ?
