# Is varf parallel? Can it be sped up?

**URL:** <https://community.freefem.org/t/is-varf-parallel-can-it-be-sped-up/1060>\
**Category:** General Discussion\
**Created:** [June 25, 2021, 1:43pm UTC](https://community.freefem.org/t/is-varf-parallel-can-it-be-sped-up/1060 "2021-06-25T13:43:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mazzman](https://avatars.discourse-cdn.com/v4/letter/m/b9bd4f/32.png) [@mazzman](https://community.freefem.org/u/mazzman)\
**Post date:** [June 25, 2021, 1:43pm UTC](https://community.freefem.org/t/is-varf-parallel-can-it-be-sped-up/1060/1 "2021-06-25T13:43:34Z")

</div>

Hello,  
Is `varf` parallel and can it be sped up? I need to do transient analysis where I have to recalculate the Matrix and rhs in every time step because parameters change over time. `varf` seems to be the bottle neck here as it takes up ~95% of the simulation time.

Any suggestions?

Thanks!

---

<div class="post-metadata">

**Author:** ![prj](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@prj](https://community.freefem.org/u/prj)\
**Post date:** [June 25, 2021, 1:47pm UTC](https://community.freefem.org/t/is-varf-parallel-can-it-be-sped-up/1060/2 "2021-06-25T13:47:22Z")

</div>

Very little changes are required to make a sequential script using `varf` parallel.  
Please go through the following tutorial [Pierre Jolivet introduction to parallel FreeFEM part 1 - YouTube](https://www.youtube.com/watch?v=-Aw2O46V2bo) [Pierre Jolivet introduction to parallel FreeFEM part 2 - YouTube](https://www.youtube.com/watch?v=Hx57gxTOnvE) and let me know if you have any questions.

---

<div class="post-metadata">

**Author:** ![mazzman](https://avatars.discourse-cdn.com/v4/letter/m/b9bd4f/32.png) [@mazzman](https://community.freefem.org/u/mazzman)\
**Post date:** [June 25, 2021, 6:28pm UTC](https://community.freefem.org/t/is-varf-parallel-can-it-be-sped-up/1060/3 "2021-06-25T18:28:00Z")

</div>

Thank you, problem solved!
