Trouble installing FreeFEM on CentOS 7


I’m trying to compile and install FreeFEM++ on a remote centOS 7-based cluster. I am following the instructions from (this page) under the “compilation on Ubuntu” section.

Following this, at step 4, I get the following message

Following this, when I proceed to step 5, I get

and at step 6, with make petsc-slepc

Kindly help me in fixing this.


There is a problem with your firewall.

$ rm -rf 3rdparty/ff-petsc/petsc-3.*
$ cd 3rdparty/pkg
$ rm -rf petsc*tar.gz
$ wget
$ cd ../ff-petsc
$ make petsc-slepc

If the wget command does not work, download the .tar.gz by hand.

Hi, Thank you for your response. I had to manually download.tar.gz and I was able to proceed. However, moving forward, on executing make petsc-slepc command, I encounter the following error

I tried looking up the problem on the FAQ-PETSc page but was not able to identify the exact problem. If you have any pointers on this, that’ll be of great help.


It appears your MPI installation is broken. Can you run a single non-PETSc program with it? See also New MPI error with Intel 2019.1, unable to run MPI hello world - Intel Communities

I see. I’ll try to get in touch with the admin to see what can be done. Thank you very much for your quick response.