# ParaView Server with multiple Cores/GPus using mvapchi

**URL:** https://discourse.paraview.org/t/paraview-server-with-multiple-cores-gpus-using-mvapchi/4209
**Category:** ParaView Support
**Created:** [April 29, 2020, 4:31am UTC](https://discourse.paraview.org/t/paraview-server-with-multiple-cores-gpus-using-mvapchi/4209 "2020-04-29T04:31:31Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![kmilo9999](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/k/cc9497/32.png) [@kmilo9999](https://discourse.paraview.org/u/kmilo9999)
#### Post date: [April 29, 2020, 4:31am UTC](https://discourse.paraview.org/t/paraview-server-with-multiple-cores-gpus-using-mvapchi/4209/1 "2020-04-29T04:31:31Z")

</div>

Hi,  
For instance, I am using paraview 5.6.0 + mvapchi.  
I’m confused on how running pvserver in parallel works. If I want to use 4 GPUs on a single machine,using MPI I will have to run 4 pvserver jobs using the parameters -display from 0.0 to 0.3 according to the given [documentation](https://www.paraview.org/Wiki/Setting_up_a_ParaView_Server#Multiple_GPUs_Per_Node)

So far, this is what I got in the memory inspector:

![pvserver_parallel1](https://discourse.paraview.org/uploads/default/original/2X/a/aed3c10609d79121d6006741374df709be6d7967.png)

However, when I execute the suggested Programmable Source to verify the processes on each display, I only get one ouput:

 ![pvserver_parallel3](https://discourse.paraview.org/uploads/default/original/2X/c/c0e9c49ab022d39fed155f8eec5d01c0d27f2292.png)

Which confuses me because I thought the first image confirmed the 4 jobs are working. My first guess on what happens is that I am running 4 cores and all of them are sharing the same GPU.  
Also, If I connect to 2 machines with 4 GPUs each one:  
 ![pvserver_parallel4](https://discourse.paraview.org/uploads/default/original/2X/f/f42969d0433a94a11c00a26f5e408eb1963c35a3.png)  
I got the same output from the script

Do you guys have any thoughts? Is the given source code correct ? Have you guys test only with OpenMPI ?

Thank you for the help in advance

---

<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: [May 4, 2020, 1:46am UTC](https://discourse.paraview.org/t/paraview-server-with-multiple-cores-gpus-using-mvapchi/4209/2 "2020-05-04T01:46:36Z")

</div>

You mentioned by MP that you reproduce the issue with OpenMPI, could you elaborate?

---

<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: [May 6, 2020, 1:51am UTC](https://discourse.paraview.org/t/paraview-server-with-multiple-cores-gpus-using-mvapchi/4209/3 "2020-05-06T01:51:48Z")

</div>

From @kmilo9999 :

> I completely switch to OpenMPI and now everything works as the documentation claims. The output I was expecting to see was being printed in the terminal, not in paraview console as I thought.
