# ParaView GUI not starting after enabling AutoMPI

**URL:** https://discourse.paraview.org/t/paraview-gui-not-starting-after-enabling-autompi/9806
**Category:** ParaView Support
**Tags:** mpi
**Created:** [June 14, 2022, 7:02am UTC](https://discourse.paraview.org/t/paraview-gui-not-starting-after-enabling-autompi/9806 "2022-06-14T07:02:02Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![vachan-potluri](https://discourse.paraview.org/user_avatar/discourse.paraview.org/vachan-potluri/32/2919_2.png) [@vachan-potluri](https://discourse.paraview.org/u/vachan-potluri)
#### Post date: [June 14, 2022, 7:02am UTC](https://discourse.paraview.org/t/paraview-gui-not-starting-after-enabling-autompi/9806/1 "2022-06-14T07:02:02Z")

</div>

Dear all,

I enabled AutoMPI in ParaView using instructions given here: [Paraview parallel - #4 by mwestphal](https://discourse.paraview.org/t/paraview-parallel/320/4). However, I am unable to open any new GUI after closing that session.

The log from the terminal is as follows:

```nohighlight
$ paraview dummy.pvd &
[1] 9015
$ AutoMPI: SUCCESS: command is:
 "/home/vachan/Downloads/ParaView-5.9.1-MPI-Linux-Python3.8-64bit/bin/mpiexec" "-n" "4" "/home/vachan/Downloads/ParaView-5.9.1-MPI-Linux-Python3.8-64bit/bin/pvserver" "--server-port=37369"
AutoMPI: starting process server

[1]+ Stopped paraview dummy.pvd

```

And then the GUI doesn’t pop-up. Is there anything else I should do? In the worst case, how can I switch off AutoMPI, now that the GUI is not showing?

Thanking in anticipation  
Vachan

---

<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: [June 14, 2022, 7:21am UTC](https://discourse.paraview.org/t/paraview-gui-not-starting-after-enabling-autompi/9806/2 "2022-06-14T07:21:39Z")

</div>

Hi @vachan-potluri ,

AutoMPI is deprecated and unstable on moderm OS.

You should run our servers manually using mpi.

> how can I switch off AutoMPI, now that the GUI is not showing?

Just delete ~/.config/ParaView/\*

best,

---

<div class="post-metadata">

### Author: ![vachan-potluri](https://discourse.paraview.org/user_avatar/discourse.paraview.org/vachan-potluri/32/2919_2.png) [@vachan-potluri](https://discourse.paraview.org/u/vachan-potluri)
#### Post date: [June 14, 2022, 8:49am UTC](https://discourse.paraview.org/t/paraview-gui-not-starting-after-enabling-autompi/9806/3 "2022-06-14T08:49:58Z")

</div>

@mwestphal, thank you for the quick help.

One related issue. I have tried manually starting and connecting to a server as described here: [6. Remote and parallel visualization — ParaView Documentation 5.8.1 documentation](https://docs.paraview.org/en/v5.9.1/ReferenceManual/parallelDataVisualization.html#). However, when I start a server in parallel, it exits with an error. The same error is printed `n-1` times.

```nohighlight
$ mpiexec -n 4 pvserver
Waiting for client...
Connection URL: cs://vachan-desktop:11111
Accepting connection(s): vachan-desktop:11111
Waiting for client...
Connection URL: cs://vachan-desktop:11111
( 0.126s) [pvserver] vtkSocket.cxx:187 ERR| vtkServerSocket (0x19c92a0): Socket error in call to bind. Address already in use.
( 0.126s) [pvserver]vtkTCPNetworkAccessMana:440 ERR| vtkTCPNetworkAccessManager (0x18968e0): Failed to set up server socket.
Exiting...
Waiting for client...
Connection URL: cs://vachan-desktop:11111
( 0.140s) [pvserver] vtkSocket.cxx:187 ERR| vtkServerSocket (0x1f8b2a0): Socket error in call to bind. Address already in use.
( 0.140s) [pvserver]vtkTCPNetworkAccessMana:440 ERR| vtkTCPNetworkAccessManager (0x1e588e0): Failed to set up server socket.
Exiting...
Waiting for client...
Connection URL: cs://vachan-desktop:11111
( 0.133s) [pvserver] vtkSocket.cxx:187 ERR| vtkServerSocket (0xe142a0): Socket error in call to bind. Address already in use.
( 0.134s) [pvserver]vtkTCPNetworkAccessMana:440 ERR| vtkTCPNetworkAccessManager (0xce18e0): Failed to set up server socket.
Exiting...

```

Further, if I launch `pvserver` on a single process, it doesn’t show any error. So it looks like `pvserver` cannot run on multiple processes.

I am using ParaView 5.9.1 (binary release) on Ubuntu 18.04. Is it that ParaView has to be manually compiled to use parallel capabilities?

Thanks again

---

<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: [June 14, 2022, 8:51am UTC](https://discourse.paraview.org/t/paraview-gui-not-starting-after-enabling-autompi/9806/4 "2022-06-14T08:51:54Z")

</div>

How did you compile/install ParaView ?

---

<div class="post-metadata">

### Author: ![vachan-potluri](https://discourse.paraview.org/user_avatar/discourse.paraview.org/vachan-potluri/32/2919_2.png) [@vachan-potluri](https://discourse.paraview.org/u/vachan-potluri)
#### Post date: [June 14, 2022, 9:06am UTC](https://discourse.paraview.org/t/paraview-gui-not-starting-after-enabling-autompi/9806/5 "2022-06-14T09:06:08Z")

</div>

I downloaded the precompiled binaries from here: [https://www.paraview.org/download/](https://www.paraview.org/download/).

---

<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: [June 14, 2022, 10:08am UTC](https://discourse.paraview.org/t/paraview-gui-not-starting-after-enabling-autompi/9806/6 "2022-06-14T10:08:08Z")

</div>

Are you using Windows, Linux or MacOS ?

---

<div class="post-metadata">

### Author: ![vachan-potluri](https://discourse.paraview.org/user_avatar/discourse.paraview.org/vachan-potluri/32/2919_2.png) [@vachan-potluri](https://discourse.paraview.org/u/vachan-potluri)
#### Post date: [June 14, 2022, 11:46am UTC](https://discourse.paraview.org/t/paraview-gui-not-starting-after-enabling-autompi/9806/7 "2022-06-14T11:46:43Z")

</div>

> I am using ParaView 5.9.1 (binary release) on Ubuntu 18.04.

☝

Linux Ubuntu 18.04

---

<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: [June 14, 2022, 11:53am UTC](https://discourse.paraview.org/t/paraview-gui-not-starting-after-enabling-autompi/9806/8 "2022-06-14T11:53:19Z")

</div>

Ok, make sure to use the mpiexec provided in the binary package.

```auto

./mpiexec -np 4 ./pvserver

```

---

<div class="post-metadata">

### Author: ![vachan-potluri](https://discourse.paraview.org/user_avatar/discourse.paraview.org/vachan-potluri/32/2919_2.png) [@vachan-potluri](https://discourse.paraview.org/u/vachan-potluri)
#### Post date: [June 15, 2022, 4:25am UTC](https://discourse.paraview.org/t/paraview-gui-not-starting-after-enabling-autompi/9806/9 "2022-06-15T04:25:39Z")

</div>

> Ok, make sure to use the mpiexec provided in the binary package.

This works, thank you very much!
