# pvserver v5.10.1 fails when client connects

**URL:** https://discourse.paraview.org/t/pvserver-v5-10-1-fails-when-client-connects/9978
**Category:** ParaView Support
**Created:** [July 6, 2022, 11:07am UTC](https://discourse.paraview.org/t/pvserver-v5-10-1-fails-when-client-connects/9978 "2022-07-06T11:07:09Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![nopech](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nopech/32/2137_2.png) [@nopech](https://discourse.paraview.org/u/nopech)
#### Post date: [July 6, 2022, 11:07am UTC](https://discourse.paraview.org/t/pvserver-v5-10-1-fails-when-client-connects/9978/1 "2022-07-06T11:07:09Z")

</div>

Hello everyone

I compiled ParaView v5.10.1 myself with osmesa and system OpenMPI on AlmaLinux 8.5.  
pvbatch does work and pvserver waits for clients. However, when a client connects, the client crashes and closes itself and the server says the following:

 ![image](https://discourse.paraview.org/uploads/default/original/2X/6/6265e49bdf38d67482457c8c3efd15e822cad22f.png)

Alternatively I tried using the provided binaries with the --system-mpi option. This does lead to another problem. Does the --system-mpi option work with OpenMPI v4.1.2?

 ![image](https://discourse.paraview.org/uploads/default/original/2X/7/762399564e2b9e2b9813e0d8d158387ab26f84fc.png)

Thanks for any hints

---

<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: [July 6, 2022, 11:27am UTC](https://discourse.paraview.org/t/pvserver-v5-10-1-fails-when-client-connects/9978/2 "2022-07-06T11:27:41Z")

</div>

> [@nopech](#):
>
> Does the --system-mpi option work with OpenMPI v4.1.2?

No, openMPI does not support MPICH ABI.

Regarding your first issue, does your HPC system provide other mpi implementation ?

---

<div class="post-metadata">

### Author: ![nopech](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nopech/32/2137_2.png) [@nopech](https://discourse.paraview.org/u/nopech)
#### Post date: [July 6, 2022, 11:34am UTC](https://discourse.paraview.org/t/pvserver-v5-10-1-fails-when-client-connects/9978/3 "2022-07-06T11:34:12Z")

</div>

Thanks for the info about --system-mpi.

My HPC system has IntelMPI (no header files so compilation no possible), OpenMPI (hpcx version that is optimized for the used infiniband network) and MVAPICH2 which I’ve never used.

---

<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: [July 6, 2022, 12:21pm UTC](https://discourse.paraview.org/t/pvserver-v5-10-1-fails-when-client-connects/9978/4 "2022-07-06T12:21:30Z")

</div>

Hi @nopech ,

You should be able to use IntelMPI and MVAPICH2 with --system-mpi.

See this: [MPICH ABI Compatibility Initiative | MPICH](https://www.mpich.org/abi/)

Best,

---

<div class="post-metadata">

### Author: ![nopech](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nopech/32/2137_2.png) [@nopech](https://discourse.paraview.org/u/nopech)
#### Post date: [July 6, 2022, 12:58pm UTC](https://discourse.paraview.org/t/pvserver-v5-10-1-fails-when-client-connects/9978/5 "2022-07-06T12:58:17Z")

</div>

Hi @mwestphal

Using MVAPICH2 with --system-mpi does work. However I would prefer to run ParaView with OpenMPI because on the same system other tools are already based on OpenMPI and changing the module in between an automated workflow is currently not implemented.

Any ideas why my self-compiled code has connection issues?

---

<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: [July 6, 2022, 1:00pm UTC](https://discourse.paraview.org/t/pvserver-v5-10-1-fails-when-client-connects/9978/6 "2022-07-06T13:00:35Z")

</div>

Hi @nopech ,

I understand your point but keep in mind that OpenMPI is usually not considered industry standard.

> Any ideas why my self-compiled code has connection issues ?

I think there was some related issue, @nicolas.vuaille may know more.

---

<div class="post-metadata">

### Author: ![nicolas.vuaille](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nicolas.vuaille/32/5873_2.png) [@nicolas.vuaille](https://discourse.paraview.org/u/nicolas.vuaille)
#### Post date: [July 6, 2022, 1:18pm UTC](https://discourse.paraview.org/t/pvserver-v5-10-1-fails-when-client-connects/9978/7 "2022-07-06T13:18:05Z")

</div>

We recently fixed a problem that _may_ be related (i.e. `vtkSocketCommunicator (0x1932c20): Tag mismatch` ) . So maybe you will be more lucky with the master branch ?
