# Maybe a MPI problem

**URL:** https://discourse.paraview.org/t/maybe-a-mpi-problem/4847
**Category:** ParaView Support
**Tags:** vtk
**Created:** [July 15, 2020, 9:23am UTC](https://discourse.paraview.org/t/maybe-a-mpi-problem/4847 "2020-07-15T09:23:42Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Jerry](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/5daacb/32.png) [@Jerry](https://discourse.paraview.org/u/Jerry)
#### Post date: [July 15, 2020, 9:23am UTC](https://discourse.paraview.org/t/maybe-a-mpi-problem/4847/1 "2020-07-15T09:23:42Z")

</div>

I want to make a cluster of paraview so I first put paraview on three virtual machines for test.  
It works fine when I run command like `mpirun -np 8 ./pvserver`. But there will be an error when I run command like `mpirun -n 3 -f /home/jerry/mpi_config_file ./pvserver`.  
The version of os I use on virtual machiens is `ubuntu 18.04`.  
The version of paraview I use is `ParaView-5.8.0-osmesa-MPI-Linux-Python2.7-64bit.tar.gz`.  
The version of mpi is `3.3a2`.  
And the error is as follows：

```
2020-07-15 02:05:40.154 ( 0.681s) [56175C00] vtkMPICommunicator.cxx:68 WARN| MPI had an error
------------------------------------------------
Other MPI error, error stack:
PMPI_Comm_dup(179)..................: MPI_Comm_dup(MPI_COMM_WORLD, new_comm=0x2396be0) failed
PMPI_Comm_dup(164)..................: 
MPIR_Comm_dup_impl(57)..............: 
MPII_Comm_copy(571).................: 
MPIR_Get_contextid_sparse_group(496): Failure during collective
------------------------------------------------
application called MPI_Abort(MPI_COMM_WORLD, 543246351) - process 2
```

---

<div class="post-metadata">

### Author: ![utkarsh.ayachit](https://discourse.paraview.org/user_avatar/discourse.paraview.org/utkarsh.ayachit/32/39_2.png) [@utkarsh.ayachit](https://discourse.paraview.org/u/utkarsh.ayachit)
#### Post date: [July 15, 2020, 10:51am UTC](https://discourse.paraview.org/t/maybe-a-mpi-problem/4847/2 "2020-07-15T10:51:35Z")

</div>

You have to use the `mpiexec`/`mpirun` packaged in the ParaView bundle itself and not the one on your system. This will change in [5.9](https://discourse.paraview.org/t/leveraging-mpich-abi-compatibility-for-distributed-binaries/3441/16), but for 5.8 release, you have to use the one in the package.

---

<div class="post-metadata">

### Author: ![Jerry](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/5daacb/32.png) [@Jerry](https://discourse.paraview.org/u/Jerry)
#### Post date: [July 21, 2020, 2:29am UTC](https://discourse.paraview.org/t/maybe-a-mpi-problem/4847/3 "2020-07-21T02:29:07Z")

</div>

Thank you!!!  
I compiled the resources with mpi and successed runing pvsever in 3 machiens.
