# Installing freefem on ubuntu can not download petsc

**URL:** <https://community.freefem.org/t/installing-freefem-on-ubuntu-can-not-download-petsc/79>\
**Category:** FreeFEM installation\
**Created:** [June 20, 2019, 11:53pm UTC](https://community.freefem.org/t/installing-freefem-on-ubuntu-can-not-download-petsc/79 "2019-06-20T23:53:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jueliang](https://avatars.discourse-cdn.com/v4/letter/j/ee7513/32.png) [@jueliang](https://community.freefem.org/u/jueliang)\
**Post date:** [June 20, 2019, 11:53pm UTC](https://community.freefem.org/t/installing-freefem-on-ubuntu-can-not-download-petsc/79/1 "2019-06-20T23:53:07Z")

</div>

when I try to install freefem on my ubuntu, I cannot download the petsc, just like following

Download failed from http//ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-lite-3.11.2.tar.gz  
Try other site: http//pkgs.freefem.org/pkg/petsc-lite-3.11.2.tar.gz

- test -x /usr/bin/wget
- opts=
- test ‘’ = BAD\_CERT
- wget http//pkgs.freefem.org/pkg/petsc-lite-3.11.2.tar.gz --timeout=30 --tries=2 --output-document=pkg/petsc-lite-3.11.2.tar.gz  
–2019-06-21 07:18:50-- http//pkgs.freefem.org/pkg/petsc-lite-3.11.2.tar.gz  
Connecting to [pkgs.freefem.org](http://pkgs.freefem.org) ([pkgs.freefem.org](http://pkgs.freefem.org))|134.157.2.3|:80… connected.  
HTTP request sent, awaiting response… 404 Not Found  
2019-06-21 07:18:50 ERROR 404: Not Found.

Download failed from http//pkgs.freefem.org/pkg/petsc-lite-3.11.2.tar.gz  
Try other site: http//104.46.50.187/pkg/petsc-lite-3.11.2.tar.gz

- test -x /usr/bin/wget
- opts=
- test ‘’ = BAD\_CERT
- wget http//104.46.50.187/pkg/petsc-lite-3.11.2.tar.gz --timeout=30 --tries=2 --output-document=pkg/petsc-lite-3.11.2.tar.gz  
–2019-06-21 07:18:50-- http//104.46.50.187/pkg/petsc-lite-3.11.2.tar.gz  
Connecting to 104.46.50.187:80… connected.  
HTTP request sent, awaiting response… 404 Not Found  
2019-06-21 07:18:51 ERROR 404: Not Found.

ERROR: …/bin/build/download http//104.46.50.187/pkg/petsc-lite-3.11.2.tar.gz pkg/petsc-lite-3.11.2.tar.gz FAILED  
ERROR: INVALID MD5 for pkg/petsc-lite-3.11.2.tar.gz d41d8cd98f00b204e9800998ecf8427e

what should i do? (the ‘:’ after http is deleted because new users can only put 2 links in a post)

---

<div class="post-metadata">

**Author:** ![simon.garnotel](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/simon.garnotel/32/11_2.png) [@simon.garnotel](https://community.freefem.org/u/simon.garnotel)\
**Post date:** [June 21, 2019, 10:22am UTC](https://community.freefem.org/t/installing-freefem-on-ubuntu-can-not-download-petsc/79/2 "2019-06-21T10:22:29Z")

</div>

This kind of error is due to non accesible PETSc download page, and the backup server was not up-to-date, I just upgrade it.

Does it works now ?

---

<div class="post-metadata">

**Author:** ![jueliang](https://avatars.discourse-cdn.com/v4/letter/j/ee7513/32.png) [@jueliang](https://community.freefem.org/u/jueliang)\
**Post date:** [June 23, 2019, 10:54am UTC](https://community.freefem.org/t/installing-freefem-on-ubuntu-can-not-download-petsc/79/3 "2019-06-23T10:54:43Z")

</div>

Yes, it works, thanks a lot!

But another problem occurs: when I run the examples in hpddm, it cannot load metis module, just like

load error : metis  
fail :  
dlerror : …/…/plugin/seq/metis.so: undefined symbol: METIS\_PartMeshNodal  
list prefix: ‘…/…/plugin/mpi/’ ‘’ ‘…/…/plugin/seq/’ list suffix : ‘’ , ‘.so’

some details:

after reconfigure, it shows:  
configure: – without libs:  
configure: – without plugin:  
configure: progs: FreeFem+±nw bamg cvmsh2 FreeFem+±mpi ffmedit ffglut  
configure: use of download freeyams see 3rdparty/yams/freeyams.2011.02.22 (suface mesh adaptation)  
configure: use of download mmg3d (v4) see 3rdparty/mmg3d/mmg3d4/LICENCE.txt  
configure: try to download: htool hpddm yams mshmet mmg3d  
configure: Please run “3rdparty/getall” to download all necessary packages before running make

and other modules list in Document is installed.
