# Remove AutoMPI?

**URL:** https://discourse.paraview.org/t/remove-autompi/7952
**Category:** Development
**Tags:** mpi
**Created:** [September 7, 2021, 5:37pm UTC](https://discourse.paraview.org/t/remove-autompi/7952 "2021-09-07T17:37:32Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [September 7, 2021, 5:37pm UTC](https://discourse.paraview.org/t/remove-autompi/7952/1 "2021-09-07T17:37:32Z")

</div>

AutoMPI is a boolean setting in ParaView that, when enabled, launches a server process with `mpiexec` when the ParaView client runs, then the client connects to that server. It was created as a convenient way to enable parallelism in ParaView back when most VTK algorithms were not multithreaded. These days, many VTK/ParaView filters are multithreaded to run on multiple cores, and this is usually faster than running separate MPI processes for parallelization of serial algorithms.

Should we remove AutoMPI?

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [September 7, 2021, 5:41pm UTC](https://discourse.paraview.org/t/remove-autompi/7952/2 "2021-09-07T17:41:32Z")

</div>

Thanks Cory.  
I’m leaning towards yes, we should remove the client side MPI option. Users don’t understand the nuance, and are just enabling MPI with numerous servers blindly, assuming more MPI ranks, the better. This is not true, generally speaking. Again, lets simplify, and remove the client side MPI option.

---

<div class="post-metadata">

### Author: ![Andy\_Bauer](https://discourse.paraview.org/user_avatar/discourse.paraview.org/andy_bauer/32/5442_2.png) [@Andy\_Bauer](https://discourse.paraview.org/u/Andy_Bauer)
#### Post date: [September 7, 2021, 6:22pm UTC](https://discourse.paraview.org/t/remove-autompi/7952/3 "2021-09-07T18:22:55Z")

</div>

I don’t use the AutoMPI. I’ll check around a bit to see if others use it but I would suspect that the answer is no, we don’t use it. Thus, if it’s not used it is probably a good idea to remove it.

---

<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: [September 7, 2021, 6:24pm UTC](https://discourse.paraview.org/t/remove-autompi/7952/4 "2021-09-07T18:24:52Z")

</div>

+1. While there are cases we can conceive where it’s useful, I don’t think it’s worth the confusion anymore.

---

<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: [September 8, 2021, 7:29am UTC](https://discourse.paraview.org/t/remove-autompi/7952/5 "2021-09-08T07:29:26Z")

</div>

For reference, this was discussed a bit a few month ago, on the dedicated issue:

[https://gitlab.kitware.com/paraview/paraview/-/issues/20712](https://gitlab.kitware.com/paraview/paraview/-/issues/20712)

---

<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: [September 8, 2021, 7:33am UTC](https://discourse.paraview.org/t/remove-autompi/7952/6 "2021-09-08T07:33:12Z")

</div>

The only “correct” usage for AutoMPI is an educationnal one, to teach people about distributed ParaView without having to enter terminal command.

Not worth the confusion imo.

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [September 8, 2021, 1:23pm UTC](https://discourse.paraview.org/t/remove-autompi/7952/7 "2021-09-08T13:23:31Z")

</div>

Ah. I missed that - thanks @mwestphal .

The customer I mentioned is no longer interested in Auto MPI, and Alan has changed his mind about removing it.

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [September 8, 2021, 5:26pm UTC](https://discourse.paraview.org/t/remove-autompi/7952/8 "2021-09-08T17:26:48Z")

</div>

Yep. I have always wanted threaded, as opposed to MPI, for the client.
