# How to concatenate output when parallelizing

**URL:** <https://fenicsproject.discourse.group/t/how-to-concatenate-output-when-parallelizing/5960>\
**Category:** Uncategorized\
**Created:** [June 4, 2021, 5:25pm UTC](https://fenicsproject.discourse.group/t/how-to-concatenate-output-when-parallelizing/5960 "2021-06-04T17:25:20Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dokken](https://yyz2.discourse-cdn.com/free1/user_avatar/fenicsproject.discourse.group/dokken/32/1560_2.png) [@dokken](https://fenicsproject.discourse.group/u/dokken)\
**Post date:** [June 4, 2021, 5:56pm UTC](https://fenicsproject.discourse.group/t/how-to-concatenate-output-when-parallelizing/5960/2 "2021-06-04T17:56:03Z")

</div>

Use `MPI.allreduce`, as shown in [Attempt to find max value on mesh in parallel - #2 by dokken](https://fenicsproject.discourse.group/t/attempt-to-find-max-value-on-mesh-in-parallel/4314/2)

---

_[View the full topic](https://fenicsproject.discourse.group/t/how-to-concatenate-output-when-parallelizing/5960)._
