# Trouble installing FreeFEM with full plugin support on HPC cluster

**URL:** <https://community.freefem.org/t/trouble-installing-freefem-with-full-plugin-support-on-hpc-cluster/3856>\
**Category:** FreeFEM installation\
**Created:** [April 11, 2025, 8:39am UTC](https://community.freefem.org/t/trouble-installing-freefem-with-full-plugin-support-on-hpc-cluster/3856 "2025-04-11T08:39:37Z")\
**Posts on this page:** 6\
**Page:** 2

<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:** [April 15, 2025, 9:34am UTC](https://community.freefem.org/t/trouble-installing-freefem-with-full-plugin-support-on-hpc-cluster/3856/22 "2025-04-15T09:34:47Z")

</div>

Yes, what are the current values if these variables ?

---

<div class="post-metadata">

**Author:** ![GiacomoSperoni97](https://avatars.discourse-cdn.com/v4/letter/g/ecc23a/32.png) [@GiacomoSperoni97](https://community.freefem.org/u/GiacomoSperoni97)\
**Post date:** [April 15, 2025, 9:37am UTC](https://community.freefem.org/t/trouble-installing-freefem-with-full-plugin-support-on-hpc-cluster/3856/23 "2025-04-15T09:37:57Z")

</div>

The `$FF_DIR` is located properly in the `~/FreeFem-sources`.  
The $PATH is my path, but the `$FF_INCLUDEPATH` and `$FF_LOADPATH$` are not defined

---

<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:** [April 15, 2025, 9:43am UTC](https://community.freefem.org/t/trouble-installing-freefem-with-full-plugin-support-on-hpc-cluster/3856/24 "2025-04-15T09:43:23Z")

</div>

Hence explaining why you fail to run a script as simple as `load "PETSc"` on your own.

---

<div class="post-metadata">

**Author:** ![GiacomoSperoni97](https://avatars.discourse-cdn.com/v4/letter/g/ecc23a/32.png) [@GiacomoSperoni97](https://community.freefem.org/u/GiacomoSperoni97)\
**Post date:** [April 15, 2025, 12:31pm UTC](https://community.freefem.org/t/trouble-installing-freefem-with-full-plugin-support-on-hpc-cluster/3856/25 "2025-04-15T12:31:31Z")

</div>

Thank you @prj!  
I set a `~/.freefem++.pref` file as follows:

```auto
loadpath = "~/FreeFem-sources/plugin/seq/"
loadpath += "~/FreeFem-sources/plugin/mpi/"
includepath = "~/FreeFem-sources/idp/"

```

and now I can load some packages, also `PETSc` with `ff-mpirun`.

Unfortunately there are some other that are still missing. I found that `mshmet` and `ff-Ipopt` and `ff-Nlopt` are not found. Do you have any idea why it happened?

---

<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:** [April 15, 2025, 2:02pm UTC](https://community.freefem.org/t/trouble-installing-freefem-with-full-plugin-support-on-hpc-cluster/3856/26 "2025-04-15T14:02:28Z")

</div>

You can go into each specific folder of plugins you need in `3rdparty` and do `make`, then re-do `./reconfigure` at the top and you should be good to go.

---

<div class="post-metadata">

**Author:** ![GiacomoSperoni97](https://avatars.discourse-cdn.com/v4/letter/g/ecc23a/32.png) [@GiacomoSperoni97](https://community.freefem.org/u/GiacomoSperoni97)\
**Post date:** [April 16, 2025, 8:12am UTC](https://community.freefem.org/t/trouble-installing-freefem-with-full-plugin-support-on-hpc-cluster/3856/27 "2025-04-16T08:12:34Z")

</div>

Thanks a lot @prj, now it’s working properly!

Giacomo

[Previous page](https://community.freefem.org/t/trouble-installing-freefem-with-full-plugin-support-on-hpc-cluster/3856.md?page=1)
