# FreeFEM installation

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

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

**Page:** 6

---

## [PETSc not detected on cluster with mpirun = mpiexec](https://community.freefem.org/t/petsc-not-detected-on-cluster-with-mpirun-mpiexec/829)

<div class="topic-metadata">

**Author:** [@zcwang6](https://community.freefem.org/u/zcwang6)\
**Replies:** 8\
**Last updated:** [February 26, 2021, 8:09pm UTC](https://community.freefem.org/t/petsc-not-detected-on-cluster-with-mpirun-mpiexec/829 "2021-02-26T20:09:50Z")

</div>

Hey there, since the DM plex features requires FreeFem higher than 4.5; I tired to reinstall the FreeFem++ on my school’s cluster; The 4.5 version installation is good; But when I change it to 4.8 version, the PETSc can …

---

## [FreeFem++ PETSc configuration problem in Linux](https://community.freefem.org/t/freefem-petsc-configuration-problem-in-linux/542)

<div class="topic-metadata">

**Author:** [@vaalea](https://community.freefem.org/u/vaalea)\
**Replies:** 32\
**Last updated:** [January 28, 2021, 5:24pm UTC](https://community.freefem.org/t/freefem-petsc-configuration-problem-in-linux/542 "2021-01-28T17:24:02Z")

</div>

Dear developer, I am trying to compile FreeFem with PETSc on a cluster who uses slurm queuing system. I used intel compilers and intel mpi to configure then I installed petsc-slepc. As in the installation guide. Then,…

---

## [Problem linking 3rdparty/parmmg](https://community.freefem.org/t/problem-linking-3rdparty-parmmg/727)

<div class="topic-metadata">

**Author:** [@MPiotr](https://community.freefem.org/u/MPiotr)\
**Replies:** 4\
**Last updated:** [January 12, 2021, 7:03am UTC](https://community.freefem.org/t/problem-linking-3rdparty-parmmg/727 "2021-01-12T07:03:24Z")

</div>

Hi, everyone, I need help with compiling latest version of FreeFem from source. I have problem compiling FreeFem after git pull command. I have tons of undefined references errors related to OpenMPI, for example: /usr/…

---

## [Error with FreeFem](https://community.freefem.org/t/error-with-freefem/685)

<div class="topic-metadata">

**Author:** [@Emma87](https://community.freefem.org/u/Emma87)\
**Replies:** 3\
**Last updated:** [December 13, 2020, 3:28pm UTC](https://community.freefem.org/t/error-with-freefem/685 "2020-12-13T15:28:37Z")

</div>

The ff-mpirun and FreeFem ++ command is not being recognized after finishing the installation of the latest version of FreeFem on my Ubuntu 20.04LTS machineconfig.log (339.7 KB)

---

## [Installation on remote machine](https://community.freefem.org/t/installation-on-remote-machine/671)

<div class="topic-metadata">

**Author:** [@sudhisharmapadillath](https://community.freefem.org/u/sudhisharmapadillath)\
**Replies:** 1\
**Last updated:** [November 30, 2020, 7:46am UTC](https://community.freefem.org/t/installation-on-remote-machine/671 "2020-11-30T07:46:30Z")

</div>

Hi, I am trying to install freefem on a remote machine (Compute Canada) with Linux. |Distributor ID:|CentOS| |Description:|CentOS Linux release 7.8.2003 (Core)| |Release:|7.8.2003| |Codename:|Core| I followed the d…

---

## [Install Error for additional packages](https://community.freefem.org/t/install-error-for-additional-packages/653)

<div class="topic-metadata">

**Author:** [@dajopez](https://community.freefem.org/u/dajopez)\
**Replies:** 15\
**Last updated:** [November 13, 2020, 9:15am UTC](https://community.freefem.org/t/install-error-for-additional-packages/653 "2020-11-13T09:15:14Z")

</div>

Whenever I try to do step 6 or 7 of the Windows install guide I get the following: Sorry missing unzip,m4,bison,flex,patch command How do I deal with this? Also what exactly should I be putting in mingw64 for the full …

---

## [Simple Install Question](https://community.freefem.org/t/simple-install-question/652)

<div class="topic-metadata">

**Author:** [@dajopez](https://community.freefem.org/u/dajopez)\
**Replies:** 4\
**Last updated:** [November 13, 2020, 8:03am UTC](https://community.freefem.org/t/simple-install-question/652 "2020-11-13T08:03:50Z")

</div>

Hello, I am this part of the full installation guide (pt 6). What should a valid expression for the --prefix=/where/you/want/to/have/files/installed part look like? I have tried file locations and it doesnt like it. Also…

---

## [My computer keeps freezing when running FreeFEM](https://community.freefem.org/t/my-computer-keeps-freezing-when-running-freefem/648)

<div class="topic-metadata">

**Author:** [@dajopez](https://community.freefem.org/u/dajopez)\
**Replies:** 12\
**Last updated:** [November 12, 2020, 9:49am UTC](https://community.freefem.org/t/my-computer-keeps-freezing-when-running-freefem/648 "2020-11-12T09:49:13Z")

</div>

Hello, Whenever I run more intensive code my computer freezes. I am trying to solve an eigebvalue problem on geometry, and need to get to like 1000 eigenvalues with a couple hundred nodes on each side, so I expect it to…

---

## [Problem with iovtk library in the latest versions](https://community.freefem.org/t/problem-with-iovtk-library-in-the-latest-versions/619)

<div class="topic-metadata">

**Author:** [@Jacoban90](https://community.freefem.org/u/Jacoban90)\
**Replies:** 1\
**Last updated:** [October 19, 2020, 1:41pm UTC](https://community.freefem.org/t/problem-with-iovtk-library-in-the-latest-versions/619 "2020-10-19T13:41:45Z")

</div>

Hello everyone, I recently installed the latest version of the program for windows and when i try to view the generated .vtk file, I am unable to se anythin g. Using the notepad, I mainly see binary data. This problem s…

---

## [Error running make on SCALAPACK](https://community.freefem.org/t/error-running-make-on-scalapack/610)

<div class="topic-metadata">

**Author:** [@nabil3achour](https://community.freefem.org/u/nabil3achour)\
**Replies:** 4\
**Last updated:** [October 10, 2020, 11:39am UTC](https://community.freefem.org/t/error-running-make-on-scalapack/610 "2020-10-10T11:39:40Z")

</div>

Hello, I’m trying to reinstall FreeFem++ v4.7 in a new computer (MacOs version 10.15.7). At the step make petsc-slepc , it gives me this error message: \> \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Specifying freeglut library and include directories](https://community.freefem.org/t/specifying-freeglut-library-and-include-directories/605)

<div class="topic-metadata">

**Author:** [@ffeppon](https://community.freefem.org/u/ffeppon)\
**Replies:** 0\
**Last updated:** [October 8, 2020, 1:22pm UTC](https://community.freefem.org/t/specifying-freeglut-library-and-include-directories/605 "2020-10-08T13:22:44Z")

</div>

Dear developers, I need to compile freefem on a machine without administrator rights, and I need graphics. I installed freeglut manually in some local directory. I do not understand how to specify the directory correct…

---

## [Installation FreeFEM++ on MacOS Catalina](https://community.freefem.org/t/installation-freefem-on-macos-catalina/598)

<div class="topic-metadata">

**Author:** [@faisalharish](https://community.freefem.org/u/faisalharish)\
**Replies:** 0\
**Last updated:** [October 4, 2020, 12:19pm UTC](https://community.freefem.org/t/installation-freefem-on-macos-catalina/598 "2020-10-04T12:19:04Z")

</div>

i face problem when run the example of script .edp by FreeFEM++ program i have installed FreeFem+±4.6-full-MacOS\_10.11.pkg on my macbook when i open the program, it shows box “Choose a edp script” when i choose a edp s…

---

## [Problem with plot in V 4.7](https://community.freefem.org/t/problem-with-plot-in-v-4-7/592)

<div class="topic-metadata">

**Author:** [@nabil3achour](https://community.freefem.org/u/nabil3achour)\
**Replies:** 10\
**Last updated:** [September 24, 2020, 9:45am UTC](https://community.freefem.org/t/problem-with-plot-in-v-4-7/592 "2020-09-24T09:45:47Z")

</div>

Hello, I installed the last version of FreeFem++ yesterday (V 4.7). When I put a plot in my program no window appears any more to show the figure and the program stop running. Is there someone who could help me to fix …

---

## [Error on Ubuntu 20.04](https://community.freefem.org/t/error-on-ubuntu-20-04/581)

<div class="topic-metadata">

**Author:** [@Aicha](https://community.freefem.org/u/Aicha)\
**Replies:** 8\
**Last updated:** [September 23, 2020, 9:55am UTC](https://community.freefem.org/t/error-on-ubuntu-20-04/581 "2020-09-23T09:55:21Z")

</div>

Hi i install on Ubuntu 20.04 FreeFem++ 3.61.1+dfsg1-5build using the command sudo apt-get install freefem++, but when i execute a code of FreeFem++, i have the error message: Instruction non permise (core dumped) The…

---

## [Problem when compiling SCALAPACK](https://community.freefem.org/t/problem-when-compiling-scalapack/587)

<div class="topic-metadata">

**Author:** [@nabil3achour](https://community.freefem.org/u/nabil3achour)\
**Replies:** 27\
**Last updated:** [September 23, 2020, 9:11am UTC](https://community.freefem.org/t/problem-when-compiling-scalapack/587 "2020-09-23T09:11:19Z")

</div>

Dear all We are trying to install FreeFem (from git) on a MacBook (macOS 10.15.6). We have a problem at the 'make petsc-slepc ’ stage when compiling SCALAPACK. Below is the error message. We don’t understand why the c…

---

## [Feature-request : use --download-mpich on Ubuntu](https://community.freefem.org/t/feature-request-use-download-mpich-on-ubuntu/407)

<div class="topic-metadata">

**Author:** [@ffeppon](https://community.freefem.org/u/ffeppon)\
**Replies:** 6\
**Last updated:** [September 21, 2020, 11:19am UTC](https://community.freefem.org/t/feature-request-use-download-mpich-on-ubuntu/407 "2020-09-21T11:19:35Z")

</div>

Dear FreeFEM developpers After most struggle to compile FreeFEM on Ubuntu 20.04, I found that many problems can be avoided if PETSc is compiled beforehand as suggested by https://community.freefem.org/t/compiling-with-y…

---

## [Density plot are not shown, while mesh plots are fine](https://community.freefem.org/t/density-plot-are-not-shown-while-mesh-plots-are-fine/579)

<div class="topic-metadata">

**Author:** [@MPiotr](https://community.freefem.org/u/MPiotr)\
**Replies:** 2\
**Last updated:** [September 10, 2020, 4:48pm UTC](https://community.freefem.org/t/density-plot-are-not-shown-while-mesh-plots-are-fine/579 "2020-09-10T16:48:12Z")

</div>

Dear all After compiling and installing FreeFem I found that density plots are not shown, while the mesh plots are fine. The FreeFem warning is Plot:: Sorry no ps version for this type of plot 11 The system is Ubuntu…

---

## [Trouble compiling FreeFem++-cs on MacOS](https://community.freefem.org/t/trouble-compiling-freefem-cs-on-macos/568)

<div class="topic-metadata">

**Author:** [@Yingyuan\_Li](https://community.freefem.org/u/Yingyuan_Li)\
**Replies:** 0\
**Last updated:** [September 4, 2020, 12:54pm UTC](https://community.freefem.org/t/trouble-compiling-freefem-cs-on-macos/568 "2020-09-04T12:54:54Z")

</div>

When hg clone --insecure https://www.ann.jussieu.fr/~lehyaric/ffcs/dev ffcs-dev on my computer terminal,it shows “nodename nor servname provided, or not known”. I wonder why

---

## [Freefem quits unexpectedly on MacOS 10.15.4](https://community.freefem.org/t/freefem-quits-unexpectedly-on-macos-10-15-4/567)

<div class="topic-metadata">

**Author:** [@Yingyuan\_Li](https://community.freefem.org/u/Yingyuan_Li)\
**Replies:** 0\
**Last updated:** [September 4, 2020, 11:14am UTC](https://community.freefem.org/t/freefem-quits-unexpectedly-on-macos-10-15-4/567 "2020-09-04T11:14:13Z")

</div>

After running examples, Freefem++ just quits unexpectedly. Is there anybody know why?

---

## [Mac OS Examples will not run](https://community.freefem.org/t/mac-os-examples-will-not-run/428)

<div class="topic-metadata">

**Author:** [@BlaecBejarano](https://community.freefem.org/u/BlaecBejarano)\
**Replies:** 2\
**Last updated:** [September 4, 2020, 11:10am UTC](https://community.freefem.org/t/mac-os-examples-will-not-run/428 "2020-09-04T11:10:16Z")

</div>

Hello everyone, I have just downloaded the FreeFEM++ software on my Mac, and unfortunately I am having issues opening the example files for even a test run. It claims to have a compiling issue. Any advice would be much a…

---

## [Compline on macOS 10.15.6](https://community.freefem.org/t/compline-on-macos-10-15-6/543)

<div class="topic-metadata">

**Author:** [@bpabbott](https://community.freefem.org/u/bpabbott)\
**Replies:** 9\
**Last updated:** [August 30, 2020, 4:54am UTC](https://community.freefem.org/t/compline-on-macos-10-15-6/543 "2020-08-30T04:54:38Z")

</div>

I initially pulled from git a couple of months back and had no trouble building. After updating to macOS 10.15.6 I’m seeing the error below. Unfortunately, I also pulled fresh sources for freeFEM. Thus the sources may ha…

---

## [Excluding "-g" option when compiling](https://community.freefem.org/t/excluding-g-option-when-compiling/504)

<div class="topic-metadata">

**Author:** [@arousta](https://community.freefem.org/u/arousta)\
**Replies:** 2\
**Last updated:** [July 13, 2020, 9:36am UTC](https://community.freefem.org/t/excluding-g-option-when-compiling/504 "2020-07-13T09:36:26Z")

</div>

How can I make configure script to exclude the debug “-g” option? It includes -g even when we have --enable-optim to produce an optimized binary.

---

## [About default view, the command plot](https://community.freefem.org/t/about-default-view-the-command-plot/432)

<div class="topic-metadata">

**Author:** [@macro2micro](https://community.freefem.org/u/macro2micro)\
**Replies:** 0\
**Last updated:** [May 26, 2020, 7:59am UTC](https://community.freefem.org/t/about-default-view-the-command-plot/432 "2020-05-26T07:59:06Z")

</div>

When I FreeFem++ membrane.edp, I set the plot command in the membrane.edp as plot (phi, wait=true, ps=“membrane.eps”). But it couldn’t occur the graphic of modeling result on the screen, and just generated membrane.eps f…

---

## [Error running FreeFem++ in ubuntu 19.04](https://community.freefem.org/t/error-running-freefem-in-ubuntu-19-04/45)

<div class="topic-metadata">

**Author:** [@rcabrales](https://community.freefem.org/u/rcabrales)\
**Replies:** 9\
**Last updated:** [May 13, 2020, 2:50am UTC](https://community.freefem.org/t/error-running-freefem-in-ubuntu-19-04/45 "2020-05-13T02:50:41Z")

</div>

Hello there. I get the following error after install FreeFem++ 4.0 on ubuntu 19.04 FreeFem++: error while loading shared libraries: libhdf5.so.103: cannot open shared object file: No such file or directory Can you help…

---

## [Could you provide me a binary 4.6 version for macOS?](https://community.freefem.org/t/could-you-provide-me-a-binary-4-6-version-for-macos/366)

<div class="topic-metadata">

**Author:** [@zhaog6](https://community.freefem.org/u/zhaog6)\
**Replies:** 0\
**Last updated:** [April 22, 2020, 9:25am UTC](https://community.freefem.org/t/could-you-provide-me-a-binary-4-6-version-for-macos/366 "2020-04-22T09:25:38Z")

</div>

Dear FreeFEM team, Could you provide me a binary 4.6 version for macOS? because I wouldn’t like to install other packages on my Mac for some reasons. Thank you.

---

## [Errors on Compilation in Ubuntu](https://community.freefem.org/t/errors-on-compilation-in-ubuntu/219)

<div class="topic-metadata">

**Author:** [@ylnz7](https://community.freefem.org/u/ylnz7)\
**Replies:** 18\
**Last updated:** [April 9, 2020, 8:19am UTC](https://community.freefem.org/t/errors-on-compilation-in-ubuntu/219 "2020-04-09T08:19:08Z")

</div>

Hello, I got such errors when compiling the FreeFem++ in ubuntu 18.1: File “/home/ylnz7/FreeFem-sources/3rdparty/ff-petsc/petsc 3.12.2/config/BuildSystem/nargs.py”, line 360, in setValue raise ValueError('Invalid di…

---

## [Compiling parallel version on macOS 10.13](https://community.freefem.org/t/compiling-parallel-version-on-macos-10-13/310)

<div class="topic-metadata">

**Author:** [@lcirrottola](https://community.freefem.org/u/lcirrottola)\
**Replies:** 3\
**Last updated:** [March 26, 2020, 8:59pm UTC](https://community.freefem.org/t/compiling-parallel-version-on-macos-10-13/310 "2020-03-26T20:59:22Z")

</div>

Hello, I am compiling FreeFem++ on macOS 10.13 (HighSierra) with all library dependencies from brew. The compiler is gcc-9, the MPI library is openmpi 4.0.2 (from brew again). I am sticking to the documentation Install…

---

## [MS MPI V7 no longer archived](https://community.freefem.org/t/ms-mpi-v7-no-longer-archived/141)

<div class="topic-metadata">

**Author:** [@fotios.kasolis](https://community.freefem.org/u/fotios.kasolis)\
**Replies:** 4\
**Last updated:** [October 6, 2019, 11:59am UTC](https://community.freefem.org/t/ms-mpi-v7-no-longer-archived/141 "2019-10-06T11:59:05Z")

</div>

Dear FreeFEM community, FYI, MS MPI V7 is no longer available in the MS download center. Any solutions? Regards /Fotios Kasolis

---

## [Compilation Error with Raviart-Thomas (RT) element](https://community.freefem.org/t/compilation-error-with-raviart-thomas-rt-element/282)

<div class="topic-metadata">

**Author:** [@Hanen](https://community.freefem.org/u/Hanen)\
**Replies:** 2\
**Last updated:** [March 2, 2020, 4:02pm UTC](https://community.freefem.org/t/compilation-error-with-raviart-thomas-rt-element/282 "2020-03-02T16:02:45Z")

</div>

Hello Evry one , I need you help, i got such errors when compiling my code: “Compile error : Invalide array size for vectorial fespace function”, I changed the finite element , i just moved from P1 ( with P1 finit…

---

## [Problem with plot on V4.4-3](https://community.freefem.org/t/problem-with-plot-on-v4-4-3/266)

<div class="topic-metadata">

**Author:** [@Tianyou](https://community.freefem.org/u/Tianyou)\
**Replies:** 1\
**Last updated:** [February 25, 2020, 8:45am UTC](https://community.freefem.org/t/problem-with-plot-on-v4-4-3/266 "2020-02-25T08:45:22Z")

</div>

I had installed FreeFem++ V3 on Fedora before and it worked well. When I made the plot, a new window opened showing the figure. Now I had updated and installed V4.4-3 and there is a problem. When I make the plot, no new…

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

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