# FreeFEM installation

**URL:** https://community.freefem.org/c/freefem-installation/5.md

[Latest](https://community.freefem.org/latest.md) · [Categories](https://community.freefem.org/categories.md)

---

## [About the FreeFEM installation category](https://community.freefem.org/t/about-the-freefem-installation-category/13)

<div class="topic-metadata">

**Author:** [@franck.lahaye](https://community.freefem.org/u/franck.lahaye)\
**Replies:** 0

</div>

Everything related to FreeFEM installation or compilation issues

---

## [FreeFem 4.17 installation in ubuntu 26.04](https://community.freefem.org/t/freefem-4-17-installation-in-ubuntu-26-04/4379)

<div class="topic-metadata">

**Author:** [@rcabrales](https://community.freefem.org/u/rcabrales)\
**Replies:** 0\
**Last updated:** [October 6, 2026, 1:00pm UTC](https://community.freefem.org/t/freefem-4-17-installation-in-ubuntu-26-04/4379 "2026-10-06T13:00:04Z")

</div>

Hello there, I’m trying to install FreeFem++ 4.17 by compilling from sources in ubuntu 26.04, but when I try to run any .edp file, I get the following messege “FreeFem++: error while loading shared libraries: libhdf5\_se…

---

## [Blank plot windows on laptop screen, works with external monitor](https://community.freefem.org/t/blank-plot-windows-on-laptop-screen-works-with-external-monitor/4374)

<div class="topic-metadata">

**Author:** [@xavkrs](https://community.freefem.org/u/xavkrs)\
**Replies:** 6\
**Last updated:** [September 30, 2026, 4:15pm UTC](https://community.freefem.org/t/blank-plot-windows-on-laptop-screen-works-with-external-monitor/4374 "2026-09-30T16:15:21Z")

</div>

Hi, I’m using FreeFEM-cs on Windows 11 (laptop) and the graphics panel stays empty (plain grey background) when I run a script with plot(). FreeFEM version: 4.17 FreeFEM-cs version: 26.1 only one gpu What works and …

---

## [Installation problems for FreeFem++-mpi on Ubuntu 26.04](https://community.freefem.org/t/installation-problems-for-freefem-mpi-on-ubuntu-26-04/4324)

<div class="topic-metadata">

**Author:** [@julienG](https://community.freefem.org/u/julienG)\
**Replies:** 7\
**Last updated:** [July 9, 2026, 3:28pm UTC](https://community.freefem.org/t/installation-problems-for-freefem-mpi-on-ubuntu-26-04/4324 "2026-07-09T15:28:14Z")

</div>

Dear all, It’s been a while since I didn’t had build issues of FreeFem :slight\_smile: , and after few days, I should say, Iḿ stuck… The build process runs fine with no errors, and I think there is an issue when buildin…

---

## [Error in FreeFEM compilation](https://community.freefem.org/t/error-in-freefem-compilation/4283)

<div class="topic-metadata">

**Author:** [@aszaboa](https://community.freefem.org/u/aszaboa)\
**Replies:** 2\
**Last updated:** [May 20, 2026, 5:40pm UTC](https://community.freefem.org/t/error-in-freefem-compilation/4283 "2026-05-20T17:40:56Z")

</div>

Hi, I am trying to compile FreeFEM with PETSc. However, I run into the following error during the FreeFEM installation: In file included from /home/janefore/freefem/petsc/arch-FreeFem/include/HPDDM\_coarse\_operator.hpp:…

---

## [XFAIL compiling FreeFEM on a HPC platform](https://community.freefem.org/t/xfail-compiling-freefem-on-a-hpc-platform/4220)

<div class="topic-metadata">

**Author:** [@zxss](https://community.freefem.org/u/zxss)\
**Replies:** 3\
**Last updated:** [February 14, 2026, 7:00pm UTC](https://community.freefem.org/t/xfail-compiling-freefem-on-a-hpc-platform/4220 "2026-02-14T19:00:49Z")

</div>

Dear all, I am trying to install FreeFEM on a HPC platform called Aire. I build a ubuntu 24.04 sandbox firstly and then compile FreeFEM from sources. Everything goes smooth until making check. Some cases show as XFAIL, …

---

## [Error on openblas when installing on Ubuntu 24](https://community.freefem.org/t/error-on-openblas-when-installing-on-ubuntu-24/4206)

<div class="topic-metadata">

**Author:** [@fb77](https://community.freefem.org/u/fb77)\
**Replies:** 5\
**Last updated:** [February 11, 2026, 3:28pm UTC](https://community.freefem.org/t/error-on-openblas-when-installing-on-ubuntu-24/4206 "2026-02-11T15:28:58Z")

</div>

@prj Dear Pierre, When installing FreeFem++ from sources (develop branch) to a new computer with Ubuntu 24, I get an error when running make petsc-slepc. It gives =====================================================…

---

## [Errors when install FreeFEM on Mac from sources](https://community.freefem.org/t/errors-when-install-freefem-on-mac-from-sources/4193)

<div class="topic-metadata">

**Author:** [@zxss](https://community.freefem.org/u/zxss)\
**Replies:** 7\
**Last updated:** [January 27, 2026, 10:35pm UTC](https://community.freefem.org/t/errors-when-install-freefem-on-mac-from-sources/4193 "2026-01-27T22:35:26Z")

</div>

Dear all, I am now trying to install FreeFEM on my Mac from source files. And I met an error when I make petsc-slepc The corresponding log is ‘ configure.log (38.5 KB) Is it because my python version (3.9.6) is o…

---

## [Problem installation on Ubuntu 22.04](https://community.freefem.org/t/problem-installation-on-ubuntu-22-04/4188)

<div class="topic-metadata">

**Author:** [@zxss](https://community.freefem.org/u/zxss)\
**Replies:** 13\
**Last updated:** [January 15, 2026, 4:57pm UTC](https://community.freefem.org/t/problem-installation-on-ubuntu-22-04/4188 "2026-01-15T16:57:13Z")

</div>

I installed a virtual machine Ubuntu 22.04 on my Mac. It is bases on ARM not AMD. So I try to compile from sources following the installation guide. I met an error when ‘make petsc-slepc‘. It shows as following Does …

---

## [Pb installation on Ubuntu 25.10](https://community.freefem.org/t/pb-installation-on-ubuntu-25-10/4185)

<div class="topic-metadata">

**Author:** [@tfisk98](https://community.freefem.org/u/tfisk98)\
**Replies:** 1\
**Last updated:** [January 13, 2026, 5:28am UTC](https://community.freefem.org/t/pb-installation-on-ubuntu-25-10/4185 "2026-01-13T05:28:32Z")

</div>

Dear all, I have installed FreeFem using both Ubuntu links and it appears that the FreeFem application won’t launch because there is a problem of missing dependencies : FreeFem++: error while loading shared libraries: …

---

## [Error launching ff-mpirun](https://community.freefem.org/t/error-launching-ff-mpirun/4146)

<div class="topic-metadata">

**Author:** [@Morgane](https://community.freefem.org/u/Morgane)\
**Replies:** 2\
**Last updated:** [January 3, 2026, 2:13pm UTC](https://community.freefem.org/t/error-launching-ff-mpirun/4146 "2026-01-03T14:13:34Z")

</div>

Hello, I just reinstalled FreeFem 4.15 on a MacOS using the dmg for Apple-Silicon. The commande “FreeFem++” works, however, the commands “ff-mpirun“ and “FreeFem+±mpi” do not work and give the following : dyld\[62918\]:…

---

## [Problem on installation on MacBook](https://community.freefem.org/t/problem-on-installation-on-macbook/4174)

<div class="topic-metadata">

**Author:** [@zxss](https://community.freefem.org/u/zxss)\
**Replies:** 1\
**Last updated:** [December 30, 2025, 4:44pm UTC](https://community.freefem.org/t/problem-on-installation-on-macbook/4174 "2025-12-30T16:44:17Z")

</div>

Dear all, I am now installing FreeFEM on my MacBook, the version is Sequoia 15.6. I follow the video tutorial of F. Hecht on YouTube. However, when I click on the ‘Open Anyway‘, there is no response. Does anyone e…

---

## [FreeFEM compilation](https://community.freefem.org/t/freefem-compilation/4150)

<div class="topic-metadata">

**Author:** [@aszaboa](https://community.freefem.org/u/aszaboa)\
**Replies:** 2\
**Last updated:** [December 11, 2025, 5:14pm UTC](https://community.freefem.org/t/freefem-compilation/4150 "2025-12-11T17:14:37Z")

</div>

Hello Everyone, I am trying to compile the most recent version of FreeFEM from the develop branch. The compilation seems successful, but when I try to run the codes, I get random error messages, probably related to PETS…

---

## [Freefem++ installation error in Ubuntu 24.04](https://community.freefem.org/t/freefem-installation-error-in-ubuntu-24-04/4094)

<div class="topic-metadata">

**Author:** [@Alice](https://community.freefem.org/u/Alice)\
**Replies:** 13\
**Last updated:** [November 25, 2025, 7:02pm UTC](https://community.freefem.org/t/freefem-installation-error-in-ubuntu-24-04/4094 "2025-11-25T19:02:05Z")

</div>

Dear all,I cannot install freefem in ubuntu. If you help I will be glad. When I enter make install it gives these errors mkdir: cannot create directory ‘/usr/local/lib/ff++’: Permission denied Download failed (MD5 che…

---

## [Latest FreeFem Singularity/Apptainer or Docker images](https://community.freefem.org/t/latest-freefem-singularity-apptainer-or-docker-images/4103)

<div class="topic-metadata">

**Author:** [@MatrixVector](https://community.freefem.org/u/MatrixVector)\
**Replies:** 3\
**Last updated:** [October 17, 2025, 1:45pm UTC](https://community.freefem.org/t/latest-freefem-singularity-apptainer-or-docker-images/4103 "2025-10-17T13:45:03Z")

</div>

Dear FreeFem community, I’d like to install the latest FreeFem++ 4.15 on a HPC enviroment, and I encounter some problems. Generally, the Singularity/Apptainer definition file “.def” is preferred, which can be transform…

---

## [HMatrix/BEM in FreeFem++ on Mac: MPI error ‘Attempting to use an MPI routine before initializing or after finalizing MPICH'](https://community.freefem.org/t/hmatrix-bem-in-freefem-on-mac-mpi-error-attempting-to-use-an-mpi-routine-before-initializing-or-after-finalizing-mpich/4069)

<div class="topic-metadata">

**Author:** [@Kamjd](https://community.freefem.org/u/Kamjd)\
**Replies:** 2\
**Last updated:** [September 23, 2025, 3:37am UTC](https://community.freefem.org/t/hmatrix-bem-in-freefem-on-mac-mpi-error-attempting-to-use-an-mpi-routine-before-initializing-or-after-finalizing-mpich/4069 "2025-09-23T03:37:11Z")

</div>

Hello, I am trying to run a 2D BEM (Boundary Element Method) simulation in FreeFem++ v4.15 on my Mac. My code uses HMatrix\<complex\> to assemble the system and solve for the boundary unknowns. When I run the script norma…

---

## [Ubuntu 22.04.2 LTS installation issue](https://community.freefem.org/t/ubuntu-22-04-2-lts-installation-issue/2505)

<div class="topic-metadata">

**Author:** [@Manu](https://community.freefem.org/u/Manu)\
**Replies:** 3\
**Last updated:** [August 23, 2025, 2:07pm UTC](https://community.freefem.org/t/ubuntu-22-04-2-lts-installation-issue/2505 "2025-08-23T14:07:25Z")

</div>

I am getting the following comments: FreeFem++: error while loading shared libraries: libgfortran.so.4: cannot open shared object file: No such file or directory Thank you in advance for any assistance you may be able …

---

## [Potential memory access bug?](https://community.freefem.org/t/potential-memory-access-bug/4036)

<div class="topic-metadata">

**Author:** [@cmd](https://community.freefem.org/u/cmd)\
**Replies:** 7\
**Last updated:** [August 12, 2025, 3:55pm UTC](https://community.freefem.org/t/potential-memory-access-bug/4036 "2025-08-12T15:55:10Z")

</div>

Hello, I am finding non-deterministic behavior when solving “large” problems using PETSc-complex on MacOS. For the exact same code, sometimes the code runs, and sometimes I get a SEGV error in PETSc. I am able to repro…

---

## [FreeFEM Linux Mint 20.2](https://community.freefem.org/t/freefem-linux-mint-20-2/1304)

<div class="topic-metadata">

**Author:** [@VickyNgo2807](https://community.freefem.org/u/VickyNgo2807)\
**Replies:** 3\
**Last updated:** [July 30, 2025, 7:43am UTC](https://community.freefem.org/t/freefem-linux-mint-20-2/1304 "2025-07-30T07:43:14Z")

</div>

Hi all, I’ve downloaded both FreeFEM and FreeFEM++ from software manager (which is where the .deb files lead to anyway) on Linux Mint 20.2. So far running FreeFEM++ does nothing (command not found). I wanted to downloa…

---

## [FF 4.15 on Ubuntu 24.04 for iovtk](https://community.freefem.org/t/ff-4-15-on-ubuntu-24-04-for-iovtk/3920)

<div class="topic-metadata">

**Author:** [@le-tn](https://community.freefem.org/u/le-tn)\
**Replies:** 0\
**Last updated:** [May 16, 2025, 11:20am UTC](https://community.freefem.org/t/ff-4-15-on-ubuntu-24-04-for-iovtk/3920 "2025-05-16T11:20:50Z")

</div>

Hello, I am willing to use iovtk on Linux/Ubuntu 24.04, therefore compile FreeFem with PETSc and SLEPc. I cannot make this work. Thank you if you can help.

---

## [Can't use ffddm Silicon mac](https://community.freefem.org/t/cant-use-ffddm-silicon-mac/3878)

<div class="topic-metadata">

**Author:** [@lulugontier](https://community.freefem.org/u/lulugontier)\
**Replies:** 6\
**Last updated:** [April 24, 2025, 12:30pm UTC](https://community.freefem.org/t/cant-use-ffddm-silicon-mac/3878 "2025-04-24T12:30:47Z")

</div>

Hello, I can’t get FreeFEM++ to work on macOS Sequoia 15.4.1 (M2 Pro chip). I’ve tried several methods: downloading the “FreeFEM-v4.15-Apple-Silicon-O-a.dmg” file, and also compiling it from source — first by following…

---

## [Trouble installing FreeFEM with full plugin support on HPC cluster](https://community.freefem.org/t/trouble-installing-freefem-with-full-plugin-support-on-hpc-cluster/3856)

<div class="topic-metadata">

**Author:** [@GiacomoSperoni97](https://community.freefem.org/u/GiacomoSperoni97)\
**Replies:** 25\
**Last updated:** [April 16, 2025, 8:12am UTC](https://community.freefem.org/t/trouble-installing-freefem-with-full-plugin-support-on-hpc-cluster/3856 "2025-04-16T08:12:34Z")

</div>

Dear FreeFEM users, I’m struggling with installing FreeFEM on the HPC facilities of my department. I tried several approaches that almost completed successfully, but all of them share the same issue: the build finishes…

---

## [FreeFEM compilation: issues on HPC](https://community.freefem.org/t/freefem-compilation-issues-on-hpc/3788)

<div class="topic-metadata">

**Author:** [@aszaboa](https://community.freefem.org/u/aszaboa)\
**Replies:** 43\
**Last updated:** [March 25, 2025, 5:46pm UTC](https://community.freefem.org/t/freefem-compilation-issues-on-hpc/3788 "2025-03-25T17:46:38Z")

</div>

Hello everyone, I am having trouble installing FreeFEM + PETSc on a HPC cluster. Precisely, the installation seems OK at first glance, and everything runs smoothly when I run the codes on one node; however, when I try t…

---

## [FreeFEM++ v 4.13 on Ubuntu 22.04.5 LTS](https://community.freefem.org/t/freefem-v-4-13-on-ubuntu-22-04-5-lts/3800)

<div class="topic-metadata">

**Author:** [@nshiell](https://community.freefem.org/u/nshiell)\
**Replies:** 4\
**Last updated:** [March 14, 2025, 9:43pm UTC](https://community.freefem.org/t/freefem-v-4-13-on-ubuntu-22-04-5-lts/3800 "2025-03-14T21:43:16Z")

</div>

Hello, As the title says, I am having trouble getting FreeFEM++ v4.13 to run on Ubuntu 22.04.5 LTS. I have been following the instructions here: I ran into some trouble with automatically downloading some of the 3rd…

---

## [Error with SaveVec and LoadVec](https://community.freefem.org/t/error-with-savevec-and-loadvec/3804)

<div class="topic-metadata">

**Author:** [@AlexMcSD](https://community.freefem.org/u/AlexMcSD)\
**Replies:** 0\
**Last updated:** [March 14, 2025, 12:33pm UTC](https://community.freefem.org/t/error-with-savevec-and-loadvec/3804 "2025-03-14T12:33:55Z")

</div>

Hello, I am trying to find a simple command to save my solutions, so that they can be loaded later. I am aware of the approach using ofstream and ifstream, however I was hoping there would be a high-level function to do…

---

## [Docker hub freefem/freefem:latest](https://community.freefem.org/t/docker-hub-freefem-freefem-latest/3801)

<div class="topic-metadata">

**Author:** [@zxss](https://community.freefem.org/u/zxss)\
**Replies:** 1\
**Last updated:** [March 13, 2025, 2:04pm UTC](https://community.freefem.org/t/docker-hub-freefem-freefem-latest/3801 "2025-03-13T14:04:08Z")

</div>

Dear all, I use apptainer pull freefem/freefem:latest to get the Freefem++ v 4.12. The screeshot shows it. Is there the most latest version to be availble?

---

## [Error of ./3rdparty/getall -a when install FreeFem on Red hat](https://community.freefem.org/t/error-of-3rdparty-getall-a-when-install-freefem-on-red-hat/3793)

<div class="topic-metadata">

**Author:** [@zxss](https://community.freefem.org/u/zxss)\
**Replies:** 10\
**Last updated:** [March 12, 2025, 1:39pm UTC](https://community.freefem.org/t/error-of-3rdparty-getall-a-when-install-freefem-on-red-hat/3793 "2025-03-12T13:39:53Z")

</div>

Dear all, As the title suggests, I meet problem on ./3rdparty/getall -a when follow the instruction on GitHub - FreeFem/FreeFem-sources: FreeFEM source code to install FreeFem++ on my Red hat machine. However, it turns…

---

## [Installation of FreeFem++ . mpi and parrallel computations in FreeFem v4.15](https://community.freefem.org/t/installation-of-freefem-mpi-and-parrallel-computations-in-freefem-v4-15/3764)

<div class="topic-metadata">

**Author:** [@Monirul25](https://community.freefem.org/u/Monirul25)\
**Replies:** 4\
**Last updated:** [February 24, 2025, 5:19am UTC](https://community.freefem.org/t/installation-of-freefem-mpi-and-parrallel-computations-in-freefem-v4-15/3764 "2025-02-24T05:19:16Z")

</div>

Dear all, is here anyone who using FreeFem++ . mpi in windows 10 or 11. I have couple of Questions. FreeFem++.mpi is already showing when i installed freefem++ but it is not opening. I don’t know why. Here, you can se…

---

## [FreeFEM++ -cs under Windows Server OS](https://community.freefem.org/t/freefem-cs-under-windows-server-os/140)

<div class="topic-metadata">

**Author:** [@bonifetto](https://community.freefem.org/u/bonifetto)\
**Replies:** 2\
**Last updated:** [January 23, 2025, 8:14am UTC](https://community.freefem.org/t/freefem-cs-under-windows-server-os/140 "2025-01-23T08:14:54Z")

</div>

Hi, I installed FreeFEM+±cs v15.2 and FreeFEM++ v3.61-1 on a desktop with Windows Server 2019 Standard OS, but the -cs interface does not work. In particular, it is not possible to type anything in the script window (w…

---

## [Installation of FreeFem++ on Ubuntu virtual machine](https://community.freefem.org/t/installation-of-freefem-on-ubuntu-virtual-machine/3655)

<div class="topic-metadata">

**Author:** [@salvo.giordano](https://community.freefem.org/u/salvo.giordano)\
**Replies:** 17\
**Last updated:** [December 26, 2024, 6:29am UTC](https://community.freefem.org/t/installation-of-freefem-on-ubuntu-virtual-machine/3655 "2024-12-26T06:29:05Z")

</div>

Hello, I am new to the forum. I am trying to install FreeFem on my ubuntu virtual machine by following the directions from the installation website Installation guide. Everything looks fine until I proceed with : “make…

[Next page](https://community.freefem.org/c/freefem-installation/5.md?page=1)
