# Documentation for using mult-threading via MPI in Trame/Paraview app

**URL:** https://discourse.paraview.org/t/documentation-for-using-mult-threading-via-mpi-in-trame-paraview-app/16813
**Category:** Development
**Created:** [June 14, 2025, 12:21am UTC](https://discourse.paraview.org/t/documentation-for-using-mult-threading-via-mpi-in-trame-paraview-app/16813 "2025-06-14T00:21:00Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Stacey.Whitmore](https://discourse.paraview.org/user_avatar/discourse.paraview.org/stacey.whitmore/32/16595_2.png) [@Stacey.Whitmore](https://discourse.paraview.org/u/Stacey.Whitmore)
#### Post date: [June 14, 2025, 12:21am UTC](https://discourse.paraview.org/t/documentation-for-using-mult-threading-via-mpi-in-trame-paraview-app/16813/1 "2025-06-14T00:21:00Z")

</div>

Hi. I’m looking to utilize mult-threading in a Trame/Paraview app utilizing MPI and possibly PvBatch. Although I have found some documentation for using MPI and PvBatch within ParaView I was wondering if there was some ParaView documentation specifically tailored to utilizing these feature in a Trame app that’s driven by Paraview/PvPython and see others were told on the Trame forum to come here for that type of guidance.

What might this basic setup look like in a for Trame? Are there any online examples I could look at?

---

<div class="post-metadata">

### Author: ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)
#### Post date: [June 14, 2025, 2:26am UTC](https://discourse.paraview.org/t/documentation-for-using-mult-threading-via-mpi-in-trame-paraview-app/16813/2 "2025-06-14T02:26:42Z")

</div>

MPI is multi-process, not multi-threading. Using trame with ParaView is already doing multi-threading with TBB on VTK filters.

For MPI and trame, you can read [that blog](https://www.kitware.com/exposing-web-application-with-paraview-5-13-is-getting-simpler/) which provide an example of mpi/pvbatch.

---

<div class="post-metadata">

### Author: ![Stacey.Whitmore](https://discourse.paraview.org/user_avatar/discourse.paraview.org/stacey.whitmore/32/16595_2.png) [@Stacey.Whitmore](https://discourse.paraview.org/u/Stacey.Whitmore)
#### Post date: [June 14, 2025, 2:56am UTC](https://discourse.paraview.org/t/documentation-for-using-mult-threading-via-mpi-in-trame-paraview-app/16813/3 "2025-06-14T02:56:47Z")

</div>

My bad. I misspoke there. Multi-_process_ is what I am trying to do _not_ multi-threading.  
I’m looking to use the different cores available on my processor and/or GPU to divide up tasks and process them simultaneously on the different cores.

I can check that blog you posted a link to, to read more about this. Thanks!
