# Deprecating multi-client support

**URL:** https://discourse.paraview.org/t/deprecating-multi-client-support/1439
**Category:** Development
**Tags:** deprecation
**Created:** [March 11, 2019, 1:02pm UTC](https://discourse.paraview.org/t/deprecating-multi-client-support/1439 "2019-03-11T13:02:01Z")
**Posts on this page:** 13
**Page:** 1

<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: [March 11, 2019, 1:02pm UTC](https://discourse.paraview.org/t/deprecating-multi-client-support/1439/1 "2019-03-11T13:02:01Z")

</div>

ParaView has long supported a rarely used feature, multi-clients – where multiple paraview clients can connect to the same pvserver. While it’s a really neat feature, it’s tedious to maintain and support robustly. I wanted to get a feel for how many people, if any, are actually using this capability. We’d like to remove this feature in future to minimize code complexity.

---

<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: [March 11, 2019, 1:06pm UTC](https://discourse.paraview.org/t/deprecating-multi-client-support/1439/2 "2019-03-11T13:06:57Z")

</div>

I agree that the multi client feature is not widely used.

However one of its main usage is for using ParaView and an external python interpreter at the same time.  
I think lots of people appreciate this side feature of multi client.

---

<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: [March 11, 2019, 1:34pm UTC](https://discourse.paraview.org/t/deprecating-multi-client-support/1439/3 "2019-03-11T13:34:58Z")

</div>

@martink @aron.helser Are you guys using multi-client/collaboration in ParaView?

---

<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: [March 11, 2019, 2:00pm UTC](https://discourse.paraview.org/t/deprecating-multi-client-support/1439/4 "2019-03-11T14:00:34Z")

</div>

> [@mwestphal](#):
>
> I think lots of people appreciate this side feature of multi client.

Are users really using it? I doubt it will work seamlessly esp since the pvpython client will need manual sync. Also the ParaView Qt client in that case just becomes a viewer until it’s made master again – in otherwords, too much complexity for a regular user to really use it for real work, methinks.

---

<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: [March 11, 2019, 2:07pm UTC](https://discourse.paraview.org/t/deprecating-multi-client-support/1439/5 "2019-03-11T14:07:53Z")

</div>

This answers has 4 upvotes, which is quite high for a [paraview] stackoverflow answers.

> <https://stackoverflow.com/questions/45236721/controlling-paraview-gui-from-python-idle/46407769#46407769>

---

<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: [March 11, 2019, 2:35pm UTC](https://discourse.paraview.org/t/deprecating-multi-client-support/1439/6 "2019-03-11T14:35:15Z")

</div>

> [@mwestphal](#):
>
> This answers has 4 upvotes, which is quite high for a [paraview] stackoverflow answers.

worth bearing in mind, but the current implementation is woefully adequate to truly support this use-case. I am sure we can do better if we plan on supporting it properly.

---

<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: [March 11, 2019, 2:35pm UTC](https://discourse.paraview.org/t/deprecating-multi-client-support/1439/7 "2019-03-11T14:35:49Z")

</div>

most definitely.

---

<div class="post-metadata">

### Author: ![martink](https://discourse.paraview.org/user_avatar/discourse.paraview.org/martink/32/2082_2.png) [@martink](https://discourse.paraview.org/u/martink)
#### Post date: [March 11, 2019, 4:39pm UTC](https://discourse.paraview.org/t/deprecating-multi-client-support/1439/8 "2019-03-11T16:39:52Z")

</div>

We considered using it but changed course and are not using it.

---

<div class="post-metadata">

### Author: ![Mohamed\_Abdelkhalek](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mohamed_abdelkhalek/32/4384_2.png) [@Mohamed\_Abdelkhalek](https://discourse.paraview.org/u/Mohamed_Abdelkhalek)
#### Post date: [July 1, 2020, 3:27pm UTC](https://discourse.paraview.org/t/deprecating-multi-client-support/1439/9 "2020-07-01T15:27:16Z")

</div>

Hello, new member here. I am quite interested in this feature, I have asked this question on stackoverflow as well. [From what, I understand using trivial producer is not possible in this case. So, I have opted for “injecting” python code into programmable source/filters](https://stackoverflow.com/questions/62668957/what-would-be-the-best-way-to-dynamically-inject-python-code-from-an-external). Moreover, without the multi-client support, with paraview compiled against external python or using the paraview binary installed from conda [https://anaconda.org/conda-forge/paraview](https://anaconda.org/conda-forge/paraview) I can have the same functionality, but having to do away with using external (editors, interpreters, etc.) which is not very convenient.

I would greatly appreciate it if you share your thoughts on this.

---

<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 1, 2020, 5:41pm UTC](https://discourse.paraview.org/t/deprecating-multi-client-support/1439/10 "2020-07-01T17:41:26Z")

</div>

For your case, the easier option is to build ParaView using the same version of Python you’re using for all your other dependencies. Then, you can write programmable sources, or PythonAlgorithms that use your python modules to produce data.

---

<div class="post-metadata">

### Author: ![Mohamed\_Abdelkhalek](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mohamed_abdelkhalek/32/4384_2.png) [@Mohamed\_Abdelkhalek](https://discourse.paraview.org/u/Mohamed_Abdelkhalek)
#### Post date: [July 1, 2020, 7:18pm UTC](https://discourse.paraview.org/t/deprecating-multi-client-support/1439/11 "2020-07-01T19:18:40Z")

</div>

Thanks, that is indeed what I am trying now. additonally, do you think it would be a good idea to programmatically “inject” python code from the external python shell ?, for example

```
from paraview.simple import *
Connect("localhost")
ps = ProgrammableSource()
ps.Script = "some python script"
ps.ScriptRequestInformation = "some python script"

```

for quick prototyping and experimentation.

---

<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 1, 2020, 11:08pm UTC](https://discourse.paraview.org/t/deprecating-multi-client-support/1439/12 "2020-07-01T23:08:26Z")

</div>

I am not sure what you mean. It may be best to start a new thread for that however, since it’s not related to this topic.

---

<div class="post-metadata">

### Author: ![Mohamed\_Abdelkhalek](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mohamed_abdelkhalek/32/4384_2.png) [@Mohamed\_Abdelkhalek](https://discourse.paraview.org/u/Mohamed_Abdelkhalek)
#### Post date: [July 3, 2020, 12:48pm UTC](https://discourse.paraview.org/t/deprecating-multi-client-support/1439/13 "2020-07-03T12:48:33Z")

</div>

Thanks a lot, I’ll do that then.
