# FreeFEM installation

**URL:** https://community.freefem.org/c/freefem-installation/5.md?page=3

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

**Page:** 4

---

## [Gsl not working in Ubuntu 22](https://community.freefem.org/t/gsl-not-working-in-ubuntu-22/2068)

<div class="topic-metadata">

**Author:** [@jtermens](https://community.freefem.org/u/jtermens)\
**Replies:** 2\
**Last updated:** [October 24, 2022, 12:50pm UTC](https://community.freefem.org/t/gsl-not-working-in-ubuntu-22/2068 "2022-10-24T12:50:26Z")

</div>

Recently, I installed the latest FreeFem++ v4.11 on a terminal running Ubuntu 22.04 (jammy jellyfish). The installation went without any error, but when I try to run a script that uses the gsl plugin I get the following …

---

## [FreeFem Installation PETSc config Error](https://community.freefem.org/t/freefem-installation-petsc-config-error/2065)

<div class="topic-metadata">

**Author:** [@byb](https://community.freefem.org/u/byb)\
**Replies:** 6\
**Last updated:** [October 19, 2022, 1:35pm UTC](https://community.freefem.org/t/freefem-installation-petsc-config-error/2065 "2022-10-19T13:35:18Z")

</div>

Hello all, I am trying to install the new FreeFem version 4.11 on MacOs Monterey. I am getting this error message when I follow the steps of the installation. I tried previous versions and get the same error message. …

---

## [Installation with local PETSc](https://community.freefem.org/t/installation-with-local-petsc/2038)

<div class="topic-metadata">

**Author:** [@erothe](https://community.freefem.org/u/erothe)\
**Replies:** 4\
**Last updated:** [October 17, 2022, 4:38pm UTC](https://community.freefem.org/t/installation-with-local-petsc/2038 "2022-10-17T16:38:27Z")

</div>

Dear all, I’m debuging an installation of freefem which was compiled with mpi and petsc, but when I run some examples - stokes-2d-PETSc.edp - I have the following error : Load error: PETSc fail: dlerror : ..…

---

## [Installing missing fftw3 package](https://community.freefem.org/t/installing-missing-fftw3-package/2060)

<div class="topic-metadata">

**Author:** [@AzizTakhirov](https://community.freefem.org/u/AzizTakhirov)\
**Replies:** 2\
**Last updated:** [October 15, 2022, 3:01pm UTC](https://community.freefem.org/t/installing-missing-fftw3-package/2060 "2022-10-15T15:01:38Z")

</div>

Dear FreeFEM++ community, I’ve been using - version 4.11 with PETSc on my Linux Mint 20.2. When I ran the dfft.edp example in the manual, I got the message dfft.so was missing, and the ff-c++ -auto dfft.cpp command…

---

## [Compiling and running FreeFem on a HPC](https://community.freefem.org/t/compiling-and-running-freefem-on-a-hpc/2014)

<div class="topic-metadata">

**Author:** [@aszaboa](https://community.freefem.org/u/aszaboa)\
**Replies:** 2\
**Last updated:** [September 20, 2022, 1:19pm UTC](https://community.freefem.org/t/compiling-and-running-freefem-on-a-hpc/2014 "2022-09-20T13:19:11Z")

</div>

Dear FreeFem users, I am trying to use FreeFem on a HPC cluster. The compilation with PETSc/SLEPc seems to be successful - FreeFem examples seem to work on a login node. However, when I try to run FreeFem using the sche…

---

## [Installing Freefem on Ubuntu 20.04](https://community.freefem.org/t/installing-freefem-on-ubuntu-20-04/1994)

<div class="topic-metadata">

**Author:** [@Ivan\_Graham](https://community.freefem.org/u/Ivan_Graham)\
**Replies:** 5\
**Last updated:** [September 10, 2022, 6:40am UTC](https://community.freefem.org/t/installing-freefem-on-ubuntu-20-04/1994 "2022-09-10T06:40:48Z")

</div>

I’m installing freefem on a new ubuntu laptop, following the instructions at Installation guide Everything is OK until I am installing petsci. When I do make petsc-slepc I get the error: cp: cannot create regular fil…

---

## [Include "macro\_ddm.idp"](https://community.freefem.org/t/include-macro-ddm-idp/1571)

<div class="topic-metadata">

**Author:** [@Qianrui](https://community.freefem.org/u/Qianrui)\
**Replies:** 14\
**Last updated:** [September 2, 2022, 1:50pm UTC](https://community.freefem.org/t/include-macro-ddm-idp/1571 "2022-09-02T13:50:20Z")

</div>

How do I query these commands? Not quite understanding the meaning of these commands, the guide to FreeFEM Documentation Release 4.8 did not find the meaning of these commands. For example ， include “macro\_ddm.idp” o…

---

## [Petsc compilation with msys2/mingw64](https://community.freefem.org/t/petsc-compilation-with-msys2-mingw64/1846)

<div class="topic-metadata">

**Author:** [@mrbenson](https://community.freefem.org/u/mrbenson)\
**Replies:** 6\
**Last updated:** [June 25, 2022, 8:06am UTC](https://community.freefem.org/t/petsc-compilation-with-msys2-mingw64/1846 "2022-06-25T08:06:02Z")

</div>

Hello, I try to compile my own petsc from the source code using msys2/mingw64 but i get an error “argument list too long” at the linker stage. I know it’s possible to split the compilation (–with-single-library=0 and …

---

## [Which freeFem install](https://community.freefem.org/t/which-freefem-install/1840)

<div class="topic-metadata">

**Author:** [@baezacaljo](https://community.freefem.org/u/baezacaljo)\
**Replies:** 2\
**Last updated:** [June 22, 2022, 4:51pm UTC](https://community.freefem.org/t/which-freefem-install/1840 "2022-06-22T16:51:40Z")

</div>

i want to install freeFEM in windows 10, when i click the download bottom, freeFEM redirects to its github page, here my question arises. Which windows .exe do i have to install? FreeFem+±4.11-win64-petsctest.exe Free…

---

## [FreeFEM installation error on Linux Mint 20](https://community.freefem.org/t/freefem-installation-error-on-linux-mint-20/1830)

<div class="topic-metadata">

**Author:** [@AzizTakhirov](https://community.freefem.org/u/AzizTakhirov)\
**Replies:** 10\
**Last updated:** [June 22, 2022, 4:32pm UTC](https://community.freefem.org/t/freefem-installation-error-on-linux-mint-20/1830 "2022-06-22T16:32:17Z")

</div>

Hi, I’m trying to install FreeFEM++ on my laptop. Everything seems to work out fine till I run: make -j Errors appear as: g++ -shared -fPIC -g -DNDEBUG -O3 -mmmx -mavx -std=c++14 -DBAMG\_LONG\_LONG -DNCHECKPTR -fPIC -I…

---

## [Error using ff-c++](https://community.freefem.org/t/error-using-ff-c/1812)

<div class="topic-metadata">

**Author:** [@matthieu.brachet](https://community.freefem.org/u/matthieu.brachet)\
**Replies:** 1\
**Last updated:** [June 22, 2022, 9:55am UTC](https://community.freefem.org/t/error-using-ff-c/1812 "2022-06-22T09:55:05Z")

</div>

While trying to compile lapack with ff-c++ lapack.cpp -llapack I get the error erreur PB include freefem++ directory My freefem files compile well until I am not loading lapack. Probably the mistake is stupid but I can’…

---

## [Anyone using TextMate on MacOS? Do you have a good bundle script to run?](https://community.freefem.org/t/anyone-using-textmate-on-macos-do-you-have-a-good-bundle-script-to-run/1765)

<div class="topic-metadata">

**Author:** [@amtravco](https://community.freefem.org/u/amtravco)\
**Replies:** 1\
**Last updated:** [June 7, 2022, 3:43pm UTC](https://community.freefem.org/t/anyone-using-textmate-on-macos-do-you-have-a-good-bundle-script-to-run/1765 "2022-06-07T15:43:28Z")

</div>

I’m using TextMate on MacOS. TextMate has a way to run a script when a certain keystroke is executed. Does anyone using TextMate have a script that will execute the current .edp file from TextMate? I have a script that d…

---

## [PETSc error on Ubuntu 20.04 (WSL2)](https://community.freefem.org/t/petsc-error-on-ubuntu-20-04-wsl2/1793)

<div class="topic-metadata">

**Author:** [@RodZ](https://community.freefem.org/u/RodZ)\
**Replies:** 5\
**Last updated:** [June 3, 2022, 7:41am UTC](https://community.freefem.org/t/petsc-error-on-ubuntu-20-04-wsl2/1793 "2022-06-03T07:41:10Z")

</div>

Hi to everyone, I have Windows 11 system and also WSL2. Now, i want to use FreeFem in WSL2 (Ubuntu) to execute some softwares, but I don’t know why I have problems with PETSc. In Windows it works without problems, but …

---

## [Petsc.so not found](https://community.freefem.org/t/petsc-so-not-found/1733)

<div class="topic-metadata">

**Author:** [@mrbenson](https://community.freefem.org/u/mrbenson)\
**Replies:** 5\
**Last updated:** [May 11, 2022, 3:19pm UTC](https://community.freefem.org/t/petsc-so-not-found/1733 "2022-05-11T15:19:41Z")

</div>

Hello, I’ve just installed freefem++ under Fedora 36 using dnf, petsc dynamic lib (.so) are not installed in /usr/lib/64/f++/… Best regards

---

## [Freefem 4.5 installation on Linux-based cluster (not a sudoer)](https://community.freefem.org/t/freefem-4-5-installation-on-linux-based-cluster-not-a-sudoer/1723)

<div class="topic-metadata">

**Author:** [@Flavio](https://community.freefem.org/u/Flavio)\
**Replies:** 9\
**Last updated:** [May 9, 2022, 12:51pm UTC](https://community.freefem.org/t/freefem-4-5-installation-on-linux-based-cluster-not-a-sudoer/1723 "2022-05-09T12:51:43Z")

</div>

Hello all, I would like to install and compile the Freefem 4.5 version on a cluster, while (as typically is) not being a sudoer. If I naively follow the installation and compilation guide for Ubuntu (Installation guide)…

---

## [Error while compiling .cpp to .dll](https://community.freefem.org/t/error-while-compiling-cpp-to-dll/1692)

<div class="topic-metadata">

**Author:** [@Carina](https://community.freefem.org/u/Carina)\
**Replies:** 4\
**Last updated:** [April 22, 2022, 6:59pm UTC](https://community.freefem.org/t/error-while-compiling-cpp-to-dll/1692 "2022-04-22T18:59:06Z")

</div>

While trying to compile a new finite element from .cpp to .dll via cygwin and the command ff-c++ I always get the error: fatal error: umfpack.h not found. But I already reinstalled the packages for umfpack.h and it still…

---

## [Docker image version](https://community.freefem.org/t/docker-image-version/1689)

<div class="topic-metadata">

**Author:** [@aszaboa](https://community.freefem.org/u/aszaboa)\
**Replies:** 4\
**Last updated:** [April 21, 2022, 12:42pm UTC](https://community.freefem.org/t/docker-image-version/1689 "2022-04-21T12:42:34Z")

</div>

Dear FreeFem users, (@simon.garnotel ?) I am trying to run FreeFem using the docker images available in this repository. However, it seems to me all the images are exactly the same, v4.10. This is also indicated by the …

---

## [Its possible to build a dll from the FreeFem source?](https://community.freefem.org/t/its-possible-to-build-a-dll-from-the-freefem-source/1688)

<div class="topic-metadata">

**Author:** [@embastias2](https://community.freefem.org/u/embastias2)\
**Replies:** 1\
**Last updated:** [April 20, 2022, 4:55pm UTC](https://community.freefem.org/t/its-possible-to-build-a-dll-from-the-freefem-source/1688 "2022-04-20T16:55:15Z")

</div>

Hi, i trying to make a software for structural analysis with finite element method. I think there is a way to build a dll to use freefem in my own code, but i dont know how to do it. If it’s possible or you know anothe…

---

## [Load 3D mesh on Windows](https://community.freefem.org/t/load-3d-mesh-on-windows/1682)

<div class="topic-metadata">

**Author:** [@bhaveshshrimali](https://community.freefem.org/u/bhaveshshrimali)\
**Replies:** 2\
**Last updated:** [April 20, 2022, 12:31pm UTC](https://community.freefem.org/t/load-3d-mesh-on-windows/1682 "2022-04-20T12:31:42Z")

</div>

Hi, I am trying to generate a simple 3D mesh in FreeFem on a windows machine but it seems something is off. I installed FreeFem using the windows binary (v4.10) available here Could you help me figure out what is the i…

---

## [PETSc/MUMPS Compilation fail on arch-linux](https://community.freefem.org/t/petsc-mumps-compilation-fail-on-arch-linux/1648)

<div class="topic-metadata">

**Author:** [@aszaboa](https://community.freefem.org/u/aszaboa)\
**Replies:** 9\
**Last updated:** [April 7, 2022, 12:32pm UTC](https://community.freefem.org/t/petsc-mumps-compilation-fail-on-arch-linux/1648 "2022-04-07T12:32:43Z")

</div>

Dear All, I am struggling to compile FreeFem on arch-linux. I have compiled FreeFem on ubuntu 18 multiple times following this tutorial; however, it does not seems to work on arch-linux. Any kind of help is appreciated! …

---

## [How to compute and display the "maximum norm error"?](https://community.freefem.org/t/how-to-compute-and-display-the-maximum-norm-error/1625)

<div class="topic-metadata">

**Author:** [@AbuAzzan](https://community.freefem.org/u/AbuAzzan)\
**Replies:** 0\
**Last updated:** [March 25, 2022, 9:36am UTC](https://community.freefem.org/t/how-to-compute-and-display-the-maximum-norm-error/1625 "2022-03-25T09:36:30Z")

</div>

Hi there. I am applying a Schwarz alternating method code to a nonlinear elliptic PDE by splitting its domain into two subdomains. I am facing a problem of computing the maximum norm error of the approximated solution …

---

## [Make error on Fedora 35](https://community.freefem.org/t/make-error-on-fedora-35/1558)

<div class="topic-metadata">

**Author:** [@rubash](https://community.freefem.org/u/rubash)\
**Replies:** 1\
**Last updated:** [February 28, 2022, 4:40am UTC](https://community.freefem.org/t/make-error-on-fedora-35/1558 "2022-02-28T04:40:50Z")

</div>

Cmake finds everything except IPOPT Then: \[ 1%\] Building CXX object src/lglib/CMakeFiles/lglib.dir/lg.tab.cpp.o lg.ypp:32:10: fatal error: config.h: No such file or directory

---

## [FreeFem Compilation problem on Fedora / mshmet/parmmg](https://community.freefem.org/t/freefem-compilation-problem-on-fedora-mshmet-parmmg/1543)

<div class="topic-metadata">

**Author:** [@ffeppon](https://community.freefem.org/u/ffeppon)\
**Replies:** 6\
**Last updated:** [February 22, 2022, 1:05pm UTC](https://community.freefem.org/t/freefem-compilation-problem-on-fedora-mshmet-parmmg/1543 "2022-02-22T13:05:44Z")

</div>

Dear all, I am currently trying to compile the latest version of FreeFEM (version 4.10, commit 9b88bed4d1079b5af424300e) on my fedora distribution. I am following this recipe: PETSc real and complex compile smoothl…

---

## [Creating a .dylib file](https://community.freefem.org/t/creating-a-dylib-file/1545)

<div class="topic-metadata">

**Author:** [@Amin](https://community.freefem.org/u/Amin)\
**Replies:** 0\
**Last updated:** [February 22, 2022, 3:22am UTC](https://community.freefem.org/t/creating-a-dylib-file/1545 "2022-02-22T03:22:41Z")

</div>

Hi. I want to create a .dylib file for my project. So I downloaded the example of creating a class from this link and ran the .sh file. The .o and .so files were created and then I got the following error. however, the l…

---

## [Without default ffglut: ffglut.exe](https://community.freefem.org/t/without-default-ffglut-ffglut-exe/1544)

<div class="topic-metadata">

**Author:** [@Qianrui](https://community.freefem.org/u/Qianrui)\
**Replies:** 0\
**Last updated:** [February 22, 2022, 3:07am UTC](https://community.freefem.org/t/without-default-ffglut-ffglut-exe/1544 "2022-02-22T03:07:15Z")

</div>

The command cmd can call MPI execmpi.exe or FreeFem+±mpi .exe(but there is a width default ffglut: ffglut .exe), respectively, but calling the latter with the former （“Program Files\\Microsoft MPI\\Bin\\mpiexec.exe”…

---

## [Fatal error: Cannot open source file "gnu/stubs-32.h"](https://community.freefem.org/t/fatal-error-cannot-open-source-file-gnu-stubs-32-h/1488)

<div class="topic-metadata">

**Author:** [@mas](https://community.freefem.org/u/mas)\
**Replies:** 5\
**Last updated:** [February 12, 2022, 6:55am UTC](https://community.freefem.org/t/fatal-error-cannot-open-source-file-gnu-stubs-32-h/1488 "2022-02-12T06:55:23Z")

</div>

I’m installing FreeFEM on my HPC cluster environment, following the discussion " MPI fail on HPC cluster", but make failed. Final messages (translated from japanese) were eval ./ff-c++ gsl.cpp -lgsl -lgslcblas -lm -I/…

---

## [Freefem not starting in ubuntu 18.04 after installing via apt](https://community.freefem.org/t/freefem-not-starting-in-ubuntu-18-04-after-installing-via-apt/1458)

<div class="topic-metadata">

**Author:** [@mbletry](https://community.freefem.org/u/mbletry)\
**Replies:** 3\
**Last updated:** [February 9, 2022, 3:04pm UTC](https://community.freefem.org/t/freefem-not-starting-in-ubuntu-18-04-after-installing-via-apt/1458 "2022-02-09T15:04:38Z")

</div>

Hello, I have installed freefem using apt in ubuntu 18.04 and I try to execute a first example , pretty much straight from the manual: bool debug= true; border C(t=0, 2\*pi){x=cos(t); y=sin(t);} mesh Th = buildmesh(C(…

---

## [Fail test at install Richard.edp](https://community.freefem.org/t/fail-test-at-install-richard-edp/1475)

<div class="topic-metadata">

**Author:** [@mbletry](https://community.freefem.org/u/mbletry)\
**Replies:** 2\
**Last updated:** [February 9, 2022, 3:03pm UTC](https://community.freefem.org/t/fail-test-at-install-richard-edp/1475 "2022-02-09T15:03:01Z")

</div>

Hello, I have installed freefem according to Installation guide on ubuntu 18.04 and I have a fail after make -j 16 check : FAIL: Richard.edp I don’t know whether this is really really bad or if one can work in such a …

---

## [PETSc-Slepc not compiling](https://community.freefem.org/t/petsc-slepc-not-compiling/1460)

<div class="topic-metadata">

**Author:** [@Ajinks](https://community.freefem.org/u/Ajinks)\
**Replies:** 2\
**Last updated:** [January 29, 2022, 5:01pm UTC](https://community.freefem.org/t/petsc-slepc-not-compiling/1460 "2022-01-29T17:01:24Z")

</div>

I am trying to compile PETSc with Slepc. Following steps in the mentioned in documentation but finding the following error. make petsc-slepc Error during compile, check installed-arch-linux2-c-opt/lib/slepc/conf/mak…

---

## [Ubuntu 20.04.1 LTS ffglut can not run](https://community.freefem.org/t/ubuntu-20-04-1-lts-ffglut-can-not-run/681)

<div class="topic-metadata">

**Author:** [@xiaodizhang29](https://community.freefem.org/u/xiaodizhang29)\
**Replies:** 7\
**Last updated:** [January 26, 2022, 9:29am UTC](https://community.freefem.org/t/ubuntu-20-04-1-lts-ffglut-can-not-run/681 "2022-01-26T09:29:32Z")

</div>

Hello there. I get the following error after install FreeFem++ 4.7 on ubuntu 20.04. It can not plot a picture. Can you help me please? Thanks in advance.

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

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