# FreeFEM installation

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

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

**Page:** 5

---

## [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.

---

## [Install SuperLU and MUMPS](https://community.freefem.org/t/install-superlu-and-mumps/1354)

<div class="topic-metadata">

**Author:** [@Qianrui](https://community.freefem.org/u/Qianrui)\
**Replies:** 1\
**Last updated:** [November 27, 2021, 8:25am UTC](https://community.freefem.org/t/install-superlu-and-mumps/1354 "2021-11-27T08:25:57Z")

</div>

how install SuperLU and MUMPS of Freefem++ in windows system?

---

## [Help Installing FreeFem++ in Ubuntu 19.10](https://community.freefem.org/t/help-installing-freefem-in-ubuntu-19-10/269)

<div class="topic-metadata">

**Author:** [@nanmevi](https://community.freefem.org/u/nanmevi)\
**Replies:** 11\
**Last updated:** [December 13, 2021, 9:11pm UTC](https://community.freefem.org/t/help-installing-freefem-in-ubuntu-19-10/269 "2021-12-13T21:11:39Z")

</div>

Hi! I tried installing FreeFem++ using both the binary installation and the compilation for Ubuntu but I was unsuccessful with both methods. I’m still an Ubuntu noob and even though there seem to already exist solutions…

---

## [Crimson Editor bug](https://community.freefem.org/t/crimson-editor-bug/1359)

<div class="topic-metadata">

**Author:** [@Qianrui](https://community.freefem.org/u/Qianrui)\
**Replies:** 0\
**Last updated:** [November 28, 2021, 3:15am UTC](https://community.freefem.org/t/crimson-editor-bug/1359 "2021-11-28T03:15:14Z")

</div>

install 4.10 Freefem++, there’s something wrong with your code and you run it in Crimson Editor, it flashes back and you don’t know what’s wrong

---

## [Different result than example, could it be due to an installation error?](https://community.freefem.org/t/different-result-than-example-could-it-be-due-to-an-installation-error/1350)

<div class="topic-metadata">

**Author:** [@Gronaz](https://community.freefem.org/u/Gronaz)\
**Replies:** 0\
**Last updated:** [November 26, 2021, 10:32am UTC](https://community.freefem.org/t/different-result-than-example-could-it-be-due-to-an-installation-error/1350 "2021-11-26T10:32:35Z")

</div>

I am new to FreeFem++ and was trying to make sure it worked correctly. Unfortunately, I was trying to reproduce the example on building a mesh for a cube, but wouldn’t obtain the same image. I copied the code : cube.idp…

---

## [MPI fail on HPC cluster](https://community.freefem.org/t/mpi-fail-on-hpc-cluster/1303)

<div class="topic-metadata">

**Author:** [@100souci](https://community.freefem.org/u/100souci)\
**Replies:** 30\
**Last updated:** [November 22, 2021, 9:39am UTC](https://community.freefem.org/t/mpi-fail-on-hpc-cluster/1303 "2021-11-22T09:39:17Z")

</div>

Hello, I installed FreeFEM last month on an HPC cluster (I’m the admin). But it seems there’s a problem when a user submits a job: MPI\_INIT has failed because at least one MPI process is unreachable from another. This…

---

## [Freefem compilation with spack](https://community.freefem.org/t/freefem-compilation-with-spack/1336)

<div class="topic-metadata">

**Author:** [@mrbenson](https://community.freefem.org/u/mrbenson)\
**Replies:** 2\
**Last updated:** [November 18, 2021, 12:10pm UTC](https://community.freefem.org/t/freefem-compilation-with-spack/1336 "2021-11-18T12:10:49Z")

</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, lapac…

---

## [PETSc with Intel MKL and Pardiso on Windows](https://community.freefem.org/t/petsc-with-intel-mkl-and-pardiso-on-windows/1299)

<div class="topic-metadata">

**Author:** [@hbu](https://community.freefem.org/u/hbu)\
**Replies:** 17\
**Last updated:** [November 8, 2021, 11:49am UTC](https://community.freefem.org/t/petsc-with-intel-mkl-and-pardiso-on-windows/1299 "2021-11-08T11:49:36Z")

</div>

I would like to compile PETSc under Windows with Intel MKL and Pardiso. I tried to run ./configure with --with-blaslapack-dir=’/c/PROGRA~2/Intel/oneAPI/mkl/latest’ --with-mkl\_pardiso-dir=’/c/PROGRA~2/Intel/oneAPI/mkl/lat…

---

## [Install FreeFEM++ in MacOS Big Sur Version 11.6](https://community.freefem.org/t/install-freefem-in-macos-big-sur-version-11-6/1277)

<div class="topic-metadata">

**Author:** [@ligax](https://community.freefem.org/u/ligax)\
**Replies:** 11\
**Last updated:** [November 2, 2021, 4:32am UTC](https://community.freefem.org/t/install-freefem-in-macos-big-sur-version-11-6/1277 "2021-11-02T04:32:17Z")

</div>

Dear all, I want to install FreeFEM++ in MacOS Big Sur Version 11.6. I tried to install OpenMPI. When I input " ./configure CC=gcc-9 CXX=g+±9 FC=gfortran-9 F77=gfortran-9 --prefix=$HOME/opt/usr/local " in terminal, the…

---

## [Can FreeFem++ V4.9 work with MacOS Big Sur 11.6 with Apple M1 chips?](https://community.freefem.org/t/can-freefem-v4-9-work-with-macos-big-sur-11-6-with-apple-m1-chips/1230)

<div class="topic-metadata">

**Author:** [@Tianyou](https://community.freefem.org/u/Tianyou)\
**Replies:** 1\
**Last updated:** [October 25, 2021, 6:48am UTC](https://community.freefem.org/t/can-freefem-v4-9-work-with-macos-big-sur-11-6-with-apple-m1-chips/1230 "2021-10-25T06:48:45Z")

</div>

Hello everyone, I use MacOS Big Sur 11.6 with Apple M1 chips and can I install FreeFem++ V4.9 on my MacBook? Can FreeFem++ work properly? Thank you very much?

---

## [Compiling plugins](https://community.freefem.org/t/compiling-plugins/1276)

<div class="topic-metadata">

**Author:** [@aszaboa](https://community.freefem.org/u/aszaboa)\
**Replies:** 2\
**Last updated:** [October 24, 2021, 2:22pm UTC](https://community.freefem.org/t/compiling-plugins/1276 "2021-10-24T14:22:23Z")

</div>

Dear FreeFem users, I am trying to compile FreeFem following this tutorial. However, following these instructions, the 3rd party plugins (mmg, mshmet, fnopt, etc.) are not compiled. With which option can I turn on the c…

---

## [Code doesn't run on my laptop but do on other's - femlib issues?](https://community.freefem.org/t/code-doesnt-run-on-my-laptop-but-do-on-others-femlib-issues/1257)

<div class="topic-metadata">

**Author:** [@Minelauva](https://community.freefem.org/u/Minelauva)\
**Replies:** 2\
**Last updated:** [October 15, 2021, 10:49am UTC](https://community.freefem.org/t/code-doesnt-run-on-my-laptop-but-do-on-others-femlib-issues/1257 "2021-10-15T10:49:30Z")

</div>

Hi everyone, I was a bit shy about posting since I don’t know much yet but I was hoping you could help me with this. I have been working on a finite element method code for a school project and we’ve had to use the fol…

---

## [Can Free FEM be run from my PC?](https://community.freefem.org/t/can-free-fem-be-run-from-my-pc/1239)

<div class="topic-metadata">

**Author:** [@axa4105](https://community.freefem.org/u/axa4105)\
**Replies:** 1\
**Last updated:** [September 30, 2021, 9:39pm UTC](https://community.freefem.org/t/can-free-fem-be-run-from-my-pc/1239 "2021-09-30T21:39:22Z")

</div>

Can I run the Free FEM code from my PC? If I want to add new code/module, how do I compile and link the new code/module with Free FEM?

---

## [Installation on Ubuntu 20.04](https://community.freefem.org/t/installation-on-ubuntu-20-04/525)

<div class="topic-metadata">

**Author:** [@paolopiers](https://community.freefem.org/u/paolopiers)\
**Replies:** 11\
**Last updated:** [September 29, 2021, 7:56am UTC](https://community.freefem.org/t/installation-on-ubuntu-20-04/525 "2021-09-29T07:56:32Z")

</div>

Hello everybody, I would like to install FreeFem onto Ubuntu 20.04 (LTS). I downloaded the .deb file from the “Download” section of the official website. However, when I run the command FreeFem++ in my terminal, I am p…

---

## [Getting the petsc plugin with external petsc libs](https://community.freefem.org/t/getting-the-petsc-plugin-with-external-petsc-libs/1221)

<div class="topic-metadata">

**Author:** [@cfo](https://community.freefem.org/u/cfo)\
**Replies:** 5\
**Last updated:** [September 23, 2021, 11:19am UTC](https://community.freefem.org/t/getting-the-petsc-plugin-with-external-petsc-libs/1221 "2021-09-23T11:19:59Z")

</div>

Hi, We have FreeFem++ installed on our HPC Clusters but it seems like the PETSc plugin is missing : attempting to run the poisson example from the tutorial, i get the following error : Load error : PETSc line number …

---

## [How to switch PETSc to 64 bit?](https://community.freefem.org/t/how-to-switch-petsc-to-64-bit/768)

<div class="topic-metadata">

**Author:** [@dajopez](https://community.freefem.org/u/dajopez)\
**Replies:** 15\
**Last updated:** [September 22, 2021, 3:36pm UTC](https://community.freefem.org/t/how-to-switch-petsc-to-64-bit/768 "2021-09-22T15:36:09Z")

</div>

Hello, I need to switch PETSc to 64 bit indices. I need to run ./configure --with-64-bit-indices, but where do I run it? Do i just input it into the command prompt before I run the file or does it go in the .edp? Thank…

---

## [Windows System-Crimson-Freefem](https://community.freefem.org/t/windows-system-crimson-freefem/1157)

<div class="topic-metadata">

**Author:** [@PearsonXu](https://community.freefem.org/u/PearsonXu)\
**Replies:** 0\
**Last updated:** [August 15, 2021, 11:29am UTC](https://community.freefem.org/t/windows-system-crimson-freefem/1157 "2021-08-15T11:29:35Z")

</div>

Where can I find the zip file with the name Crimson-freefem.zip?

---

## [Missing package for build - slepc-3.9.1.tar.gz](https://community.freefem.org/t/missing-package-for-build-slepc-3-9-1-tar-gz/1151)

<div class="topic-metadata">

**Author:** [@Mike](https://community.freefem.org/u/Mike)\
**Replies:** 2\
**Last updated:** [August 11, 2021, 10:06am UTC](https://community.freefem.org/t/missing-package-for-build-slepc-3-9-1-tar-gz/1151 "2021-08-11T10:06:26Z")

</div>

Hi all, One of my users has asked me to build an older version of freefem (3.61) to try out an older script. I’ve quickly discovered that the download/getall script for that version points to sites that no longer exist. …

---

## [Freefem on Docker](https://community.freefem.org/t/freefem-on-docker/1112)

<div class="topic-metadata">

**Author:** [@jurombo](https://community.freefem.org/u/jurombo)\
**Replies:** 0\
**Last updated:** [July 22, 2021, 5:25am UTC](https://community.freefem.org/t/freefem-on-docker/1112 "2021-07-22T05:25:40Z")

</div>

I am using Docker and pulled the repo freefem/freefem. When I run it in Docker I get the error ls: cannot access ‘/data/\*.edp’: No such file or directory How do I fix this?

---

## [Identifier \`savegmsh\` does not exist](https://community.freefem.org/t/identifier-savegmsh-does-not-exist/1101)

<div class="topic-metadata">

**Author:** [@Ionizing](https://community.freefem.org/u/Ionizing)\
**Replies:** 7\
**Last updated:** [July 20, 2021, 3:18pm UTC](https://community.freefem.org/t/identifier-savegmsh-does-not-exist/1101 "2021-07-20T15:18:38Z")

</div>

Hello, I am a newbie to FreeFEM++ and I’ve been learning it for some days. Here there is something wrong with the learning… Problem I ran across a problem that is 177 : savegmsh The Identifier savegmsh does not exist E…

---

## [Cannot run ff-mpirun on ubuntu 20.04](https://community.freefem.org/t/cannot-run-ff-mpirun-on-ubuntu-20-04/1095)

<div class="topic-metadata">

**Author:** [@AbdelhakTouiti](https://community.freefem.org/u/AbdelhakTouiti)\
**Replies:** 2\
**Last updated:** [July 15, 2021, 9:50am UTC](https://community.freefem.org/t/cannot-run-ff-mpirun-on-ubuntu-20-04/1095 "2021-07-15T09:50:09Z")

</div>

Hello, ff-mpirun is aborted whenever I try to run a script with “ff-mpirun -np 4 script.edp” and I get the below message. freefem++ and mpicc work without a problem in my machine. The same ff-mpirun scripts are worki…

---

## [Building FreeFEM with MPI from source with PETSc](https://community.freefem.org/t/building-freefem-with-mpi-from-source-with-petsc/1080)

<div class="topic-metadata">

**Author:** [@cmd](https://community.freefem.org/u/cmd)\
**Replies:** 13\
**Last updated:** [July 7, 2021, 12:10pm UTC](https://community.freefem.org/t/building-freefem-with-mpi-from-source-with-petsc/1080 "2021-07-07T12:10:29Z")

</div>

Dear FreeFEM developers, I have noticed some new conflicts with PETSc and MPI after upgrading to v4.9. In particular, I am finding segmentation violations in parts of my codes (real matrix factorizations using MUMPS in …

---

## [CMake or Autotools?](https://community.freefem.org/t/cmake-or-autotools/1078)

<div class="topic-metadata">

**Author:** [@mzf](https://community.freefem.org/u/mzf)\
**Replies:** 2\
**Last updated:** [July 4, 2021, 2:00pm UTC](https://community.freefem.org/t/cmake-or-autotools/1078 "2021-07-04T14:00:59Z")

</div>

Hello, I’m trying to update the Debian package of FreeFem++ to version 4.9. I can see some CMake files in the source folder, but the documentation states to use Autotools. Is CMake fully supported? Or still experimenta…

---

## [Mpi error when running ff-mpirun on Ubuntu 20.04.2 LTS](https://community.freefem.org/t/mpi-error-when-running-ff-mpirun-on-ubuntu-20-04-2-lts/1068)

<div class="topic-metadata">

**Author:** [@yongxing](https://community.freefem.org/u/yongxing)\
**Replies:** 0\
**Last updated:** [June 28, 2021, 2:23pm UTC](https://community.freefem.org/t/mpi-error-when-running-ff-mpirun-on-ubuntu-20-04-2-lts/1068 "2021-06-28T14:23:33Z")

</div>

error while loading shared libraries: libmpi\_cxx.so.20: cannot open shared object file: No such file or directory I am sure libopenmpi-dev has been install already. Please can anyone suggest what’s wrong? I followed t…

---

## [Running FreeFem fails](https://community.freefem.org/t/running-freefem-fails/1046)

<div class="topic-metadata">

**Author:** [@balajek](https://community.freefem.org/u/balajek)\
**Replies:** 0\
**Last updated:** [June 18, 2021, 12:23am UTC](https://community.freefem.org/t/running-freefem-fails/1046 "2021-06-18T00:23:59Z")

</div>

Hi everyone, I am trying to install FreeFem (v4.9) on a 2020 M1 MacBook Air using the source code, and I get the following error while trying to run a program. \>\>\> FreeFem++ test.edp 1 != 7 - dHat = 3 0107269324801 6 …

---

## [Rane-Kutta of order 2](https://community.freefem.org/t/rane-kutta-of-order-2/1030)

<div class="topic-metadata">

**Author:** [@Kamal\_FEM](https://community.freefem.org/u/Kamal_FEM)\
**Replies:** 0\
**Last updated:** [June 13, 2021, 1:18pm UTC](https://community.freefem.org/t/rane-kutta-of-order-2/1030 "2021-06-13T13:18:42Z")

</div>

Hi everybody, I ask about a Freefem++ code of a Runge-Kutta schema of order 2 if there is one available somewhere? I used the following code but it doesn’t work: // Runge - Kutta Scheme of order 2… func real \[ int \] …

---

## [Installation of 4.9 full version on Mac](https://community.freefem.org/t/installation-of-4-9-full-version-on-mac/954)

<div class="topic-metadata">

**Author:** [@mordechaiy](https://community.freefem.org/u/mordechaiy)\
**Replies:** 0\
**Last updated:** [April 29, 2021, 9:21pm UTC](https://community.freefem.org/t/installation-of-4-9-full-version-on-mac/954 "2021-04-29T21:21:16Z")

</div>

Dear FF++ developers and users , I tried to install the full version of FF++ on MacOS 4.9 but didn’t succeed it keeps telling me that he can’t find a way to open it. I have a MacBook pro and the MacOS version is Big S…

---

## [Issue configuring PETSc during FF installation on Mac](https://community.freefem.org/t/issue-configuring-petsc-during-ff-installation-on-mac/889)

<div class="topic-metadata">

**Author:** [@KBarrett](https://community.freefem.org/u/KBarrett)\
**Replies:** 20\
**Last updated:** [April 26, 2021, 9:07pm UTC](https://community.freefem.org/t/issue-configuring-petsc-during-ff-installation-on-mac/889 "2021-04-26T21:07:53Z")

</div>

Hello, I am trying to install FreeFEM v 4.6 on my mac (macOS Big Sur version 11.0.1) via the terminal using the source code, and I come across this issue while trying to configure PETSc: ==============================…

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

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