# MUMPS, solve and possible memory leaks

**URL:** <https://community.freefem.org/t/mumps-solve-and-possible-memory-leaks/168>\
**Category:** General Discussion\
**Created:** [November 5, 2019, 5:39pm UTC](https://community.freefem.org/t/mumps-solve-and-possible-memory-leaks/168 "2019-11-05T17:39:29Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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 29, 2020, 9:11am UTC](https://community.freefem.org/t/mumps-solve-and-possible-memory-leaks/168/3 "2020-06-29T09:11:17Z")

</div>

You can solve this problem by using the PETSc interface to MUMPS. See [this](https://community.freefem.org/t/install-parms-library-of-parallel-solvers/480/4) post, replace `-pc_type hypre` by `-pc_type lu` (though for simple problems such as heat equations and such, you should definitely use _hypre_ and not MUMPS).

---

_[View the full topic](https://community.freefem.org/t/mumps-solve-and-possible-memory-leaks/168)._
