# Freefem compilation with spack

**URL:** https://community.freefem.org/t/freefem-compilation-with-spack/1336
**Category:** FreeFEM installation
**Created:** [November 18, 2021, 11:14am UTC](https://community.freefem.org/t/freefem-compilation-with-spack/1336 "2021-11-18T11:14:23Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mrbenson](https://avatars.discourse-cdn.com/v4/letter/m/d07c76/32.png) [@mrbenson](https://community.freefem.org/u/mrbenson)
#### Post date: [November 18, 2021, 11:14am UTC](https://community.freefem.org/t/freefem-compilation-with-spack/1336/1 "2021-11-18T11:14:23Z")

</div>

Hello,

Does anyone ever succeeded to compile freefem using spack (without mpi and petsc first)? I get errors during compilation so i modified the package.py script and it appears it lacks dependencies : mpi, hdf5, lapack, superlu… the script doesn’t use spack package dependencies.

Best regards.

---

<div class="post-metadata">

### Author: ![mrbenson](https://avatars.discourse-cdn.com/v4/letter/m/d07c76/32.png) [@mrbenson](https://community.freefem.org/u/mrbenson)
#### Post date: [November 18, 2021, 12:02pm UTC](https://community.freefem.org/t/freefem-compilation-with-spack/1336/2 "2021-11-18T12:02:19Z")

</div>

I finally succeeded to compile with petsc but with some modifications.

---

<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: [November 18, 2021, 12:10pm UTC](https://community.freefem.org/t/freefem-compilation-with-spack/1336/3 "2021-11-18T12:10:49Z")

</div>

What are those? Feel free to create a pull request where applicable.
