# When using mpirun, how to enable every process binding one GPU

**URL:** https://discourse.paraview.org/t/when-using-mpirun-how-to-enable-every-process-binding-one-gpu/16877
**Category:** ParaView Support
**Created:** [June 30, 2025, 7:52am UTC](https://discourse.paraview.org/t/when-using-mpirun-how-to-enable-every-process-binding-one-gpu/16877 "2025-06-30T07:52:47Z")
**Posts on this page:** 1
**Showing post:** 2

<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 30, 2025, 7:57am UTC](https://discourse.paraview.org/t/when-using-mpirun-how-to-enable-every-process-binding-one-gpu/16877/2 "2025-06-30T07:57:58Z")

</div>

This question was answered here:

> [@Filters that uses multiple GPU ?](https://discourse.paraview.org/t/filters-that-uses-multiple-gpu/10289/15):
>
> My bad, I was not supplying the environment variable in the correct way. It is working via mpiexec now /opt/ParaView-5.10.1-egl-MPI-Linux-Python3.9-x86\_64/bin/mpiexec \ -env VTK\_DEFAULT\_EGL\_DEVICE\_INDEX=0 /opt/ParaView-5.10.1-egl-MPI-Linux-Python3.9-x86\_64/bin/pvserver : \ -env VTK\_DEFAULT\_EGL\_DEVICE\_INDEX=1 /opt/ParaView-5.10.1-egl-MPI-Linux-Python3.9-x86\_64/bin/pvserver +-----------------------------------------------------------------------------+ | NVIDIA-SMI 510.73.05 Driver…

---

_[View the full topic](https://discourse.paraview.org/t/when-using-mpirun-how-to-enable-every-process-binding-one-gpu/16877)._
