# plotMPI, how to get plot display for parallelization hpddm

**URL:** <https://community.freefem.org/t/plotmpi-how-to-get-plot-display-for-parallelization-hpddm/162>\
**Category:** General Discussion\
**Created:** [October 30, 2019, 12:28pm UTC](https://community.freefem.org/t/plotmpi-how-to-get-plot-display-for-parallelization-hpddm/162 "2019-10-30T12:28:36Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Lihao](https://avatars.discourse-cdn.com/v4/letter/l/ecd19e/32.png) [@Lihao](https://community.freefem.org/u/Lihao)\
**Post date:** [October 31, 2019, 9:30am UTC](https://community.freefem.org/t/plotmpi-how-to-get-plot-display-for-parallelization-hpddm/162/5 "2019-10-31T09:30:51Z")

</div>

Thanks for your timely reply.

The installation package I used is:

> **[FreeFem/FreeFem-sources](https://github.com/FreeFem/FreeFem-sources/tree/33d41514a07ea4aefc220ec56f8dceb8b572936c)**
>
> FreeFEM source code. Contribute to FreeFem/FreeFem-sources development by creating an account on GitHub.

The testing code I used is:  
[https://github.com/FreeFem/FreeFem-sources/blob/master/examples/hpddm/stokes-3d-io.edp#L99-L101](https://github.com/FreeFem/FreeFem-sources/blob/master/examples/hpddm/stokes-3d-io.edp#L99-L101)

The command line:  
ff-mpirun -np 4 stokes-3d-io.edp

And I noticed that besides a “.pvd” file, another 4 “.vtu” files have been also generated. Please check the attached .zip file.

In addition, I hope to know the extensibility of hpddm with regards to the adaptive mesh. Would it be possible to use hpddm if the mesh is updated based on level set function with the MMG3d tool. Please see the links: [https://www.mmgtools.org/mmg-remesher-try-mmg/mmg-remesher-tutorials/mmg-remesher-mmg3d/mmg-remesher-implicit-domain-meshing](https://www.mmgtools.org/mmg-remesher-try-mmg/mmg-remesher-tutorials/mmg-remesher-mmg3d/mmg-remesher-implicit-domain-meshing)  
I have realized this updating process without parallelization. But if the hpddm can be integrated into the solver, it will be very helpful to speed up our optimization.

[Archive.zip](https://community.freefem.org/uploads/short-url/lcOutywUV0ygemms75muqgHubYc.zip) (111.8 KB)  
Best regards,  
Hao

---

_[View the full topic](https://community.freefem.org/t/plotmpi-how-to-get-plot-display-for-parallelization-hpddm/162)._
