# Critical issues with getall to download 3rdparty dependencies

**URL:** <https://community.freefem.org/t/critical-issues-with-getall-to-download-3rdparty-dependencies/3178>\
**Category:** FreeFEM installation\
**Created:** [April 30, 2024, 9:27am UTC](https://community.freefem.org/t/critical-issues-with-getall-to-download-3rdparty-dependencies/3178 "2024-04-30T09:27:41Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![julienG](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/julieng/32/222_2.png) [@julienG](https://community.freefem.org/u/julienG)\
**Post date:** [April 30, 2024, 9:27am UTC](https://community.freefem.org/t/critical-issues-with-getall-to-download-3rdparty-dependencies/3178/1 "2024-04-30T09:27:41Z")

</div>

Dear all,

As explained in the title, I encounter critical issues in downloading 3rd party libraries upon rebuilding FreeFem++ after fresh ubuntu 24.04 installation. All configuration is fine except the `getall` part (see the output for `getall`[getall.log](https://community.freefem.org/uploads/short-url/btebwYSri3QqzVMBD1VpuwIM7Go.log) (10.4 KB) ).

Does anyone know what can be the issue?  
Thanks for the help!

---

<div class="post-metadata">

**Author:** ![prj](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@prj](https://community.freefem.org/u/prj)\
**Post date:** [April 30, 2024, 9:31am UTC](https://community.freefem.org/t/critical-issues-with-getall-to-download-3rdparty-dependencies/3178/2 "2024-04-30T09:31:10Z")

</div>

Could you try switching to the `develop` branch?

---

<div class="post-metadata">

**Author:** ![julienG](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/julieng/32/222_2.png) [@julienG](https://community.freefem.org/u/julienG)\
**Post date:** [April 30, 2024, 9:39am UTC](https://community.freefem.org/t/critical-issues-with-getall-to-download-3rdparty-dependencies/3178/3 "2024-04-30T09:39:33Z")

</div>

I do this to update: `git pull origin develop` so I should be on the develop branch right?

If I type `git branch -a` I get:

> - master  
> remotes/origin/HEAD → origin/master  
> remotes/origin/cwipi  
> remotes/origin/develop  
> remotes/origin/example-tags  
> remotes/origin/feature-github-actions  
> remotes/origin/feature-newplot  
> remotes/origin/kaij  
> remotes/origin/master  
> remotes/origin/new\_bem\_examples  
> remotes/origin/weird-partitioning

---

<div class="post-metadata">

**Author:** ![prj](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@prj](https://community.freefem.org/u/prj)\
**Post date:** [April 30, 2024, 4:19pm UTC](https://community.freefem.org/t/critical-issues-with-getall-to-download-3rdparty-dependencies/3178/4 "2024-04-30T16:19:04Z")

</div>

No, you also need to `git checkout develop` (sorry for the delay, tough day at work).

---

<div class="post-metadata">

**Author:** ![julienG](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/julieng/32/222_2.png) [@julienG](https://community.freefem.org/u/julienG)\
**Post date:** [April 30, 2024, 4:57pm UTC](https://community.freefem.org/t/critical-issues-with-getall-to-download-3rdparty-dependencies/3178/5 "2024-04-30T16:57:50Z")

</div>

I did change to the `develop` branch, the problem with `./3rdparty/getall -a` persists. Several 3rd party fail to be downloaded, for example MUMPS:

> Error download pkg/MUMPS\_5.0.2.tar.gz  
> Download failed from [http://mumps.enseeiht.fr/MUMPS\_5.0.2.tar.gz](http://mumps.enseeiht.fr/MUMPS_5.0.2.tar.gz) of MUMPS\_5.0.2.tar.gz  
> Try other site: [http://pkgs.freefem.org/MUMPS\_5.0.2.tar.gz](http://pkgs.freefem.org/MUMPS_5.0.2.tar.gz)  
> Error download pkg/MUMPS\_5.0.2.tar.gz  
> Download 2 times failed from [http://pkgs.freefem.org/MUMPS\_5.0.2.tar.gz](http://pkgs.freefem.org/MUMPS_5.0.2.tar.gz) of MUMPS\_5.0.2.tar.gz  
> Try (2 times) other site: [http://104.46.50.187/pkg/MUMPS\_5.0.2.tar.gz](http://104.46.50.187/pkg/MUMPS_5.0.2.tar.gz)

See [getall.log](https://community.freefem.org/uploads/short-url/mo9Jo0x8MpeplWqbvrk0cIF3eTt.log) (10.4 KB) for full log of the download

As a matter of fact I just tried on another machine (ubuntu 20.04) that have a perfectly functionning FreeFem++ v4.14, and I get the very same error with `3rdparty/getall`

It looks very much like an error that was reported previously on this [thread](https://community.freefem.org/t/installing-freefem-on-ubuntu-can-not-download-petsc/79) and seemed to be due to backup server was not up-to-date according to this [answer](https://community.freefem.org/t/installing-freefem-on-ubuntu-can-not-download-petsc/79/2)

---

<div class="post-metadata">

**Author:** ![cmd](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/cmd/32/67_2.png) [@cmd](https://community.freefem.org/u/cmd)\
**Post date:** [April 30, 2024, 5:40pm UTC](https://community.freefem.org/t/critical-issues-with-getall-to-download-3rdparty-dependencies/3178/6 "2024-04-30T17:40:33Z")

</div>

I have also found this error on MacOS. (issue [here](https://github.com/FreeFem/FreeFem-sources/issues/300))  
It seems there is not much effort to maintain the `3rdparty/getall` build process. If you use the PETSc interface, you can skip the `3rdparty/getall` step and get access to MUMPS and several other libraries that way.

---

<div class="post-metadata">

**Author:** ![prj](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@prj](https://community.freefem.org/u/prj)\
**Post date:** [April 30, 2024, 6:04pm UTC](https://community.freefem.org/t/critical-issues-with-getall-to-download-3rdparty-dependencies/3178/7 "2024-04-30T18:04:48Z")

</div>

Right, I’ve given up updating `3rdparty/getall` except for PETSc, so you should not expect other packages to be downloaded properly until someone else does the job.

---

<div class="post-metadata">

**Author:** ![Floran](https://avatars.discourse-cdn.com/v4/letter/f/8c91f0/32.png) [@Floran](https://community.freefem.org/u/Floran)\
**Post date:** [May 5, 2024, 12:07pm UTC](https://community.freefem.org/t/critical-issues-with-getall-to-download-3rdparty-dependencies/3178/8 "2024-05-05T12:07:41Z")

</div>

Some links in the to download the 3rdparty are broken.  
To overcome this problem, you can edit yourself the link in the file “getall” of folder 3rdparty, similarly as

download(‘libpthread-google’,‘[https://raw.githubusercontent.com/FreeFem/FreeFEM-3rdparties/main/libpthread-google.tar.gz](https://raw.githubusercontent.com/FreeFem/FreeFEM-3rdparties/main/libpthread-google.tar.gz)’,  
‘[https://raw.githubusercontent.com/FreeFem/FreeFEM-3rdparties/main/](https://raw.githubusercontent.com/FreeFem/FreeFEM-3rdparties/main/)’,  
‘libpthread-google.tar.gz’,  
‘751874eb5d14d4f445a94df1aa0c56b6’);

---

<div class="post-metadata">

**Author:** ![Floran](https://avatars.discourse-cdn.com/v4/letter/f/8c91f0/32.png) [@Floran](https://community.freefem.org/u/Floran)\
**Post date:** [May 5, 2024, 12:10pm UTC](https://community.freefem.org/t/critical-issues-with-getall-to-download-3rdparty-dependencies/3178/9 "2024-05-05T12:10:56Z")

</div>

you may need to adjust the md5 checksum for some files.  
just download the hosted file from

> **[GitHub - FreeFem/FreeFEM-3rdparties](https://github.com/FreeFem/FreeFEM-3rdparties/tree/main)**
>
> main

and get the md5 check sum from

> **[MD5 File Checksum](https://emn178.github.io/online-tools/md5_checksum.html)**
>
> This MD5 online tool helps you calculate file hash by MD5 without uploading file. It also supports HMAC.

---

<div class="post-metadata">

**Author:** ![cmd](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/cmd/32/67_2.png) [@cmd](https://community.freefem.org/u/cmd)\
**Post date:** [May 5, 2024, 12:28pm UTC](https://community.freefem.org/t/critical-issues-with-getall-to-download-3rdparty-dependencies/3178/10 "2024-05-05T12:28:47Z")

</div>

If you’ve done this, it would be nice to submit a pull request with your fixes to help other users!

---

<div class="post-metadata">

**Author:** ![Floran](https://avatars.discourse-cdn.com/v4/letter/f/8c91f0/32.png) [@Floran](https://community.freefem.org/u/Floran)\
**Post date:** [May 5, 2024, 1:31pm UTC](https://community.freefem.org/t/critical-issues-with-getall-to-download-3rdparty-dependencies/3178/11 "2024-05-05T13:31:01Z")

</div>

It is not too bad to let the other users learning how to do this. I would have uploaded my getall file here if I were not restricted by the new users limitation.  
At the end, it is just a matter of replacing the url link in the download link which fails and adjust their md5 checksum.

---

<div class="post-metadata">

**Author:** ![clthu](https://avatars.discourse-cdn.com/v4/letter/c/f04885/32.png) [@clthu](https://community.freefem.org/u/clthu)\
**Post date:** [May 5, 2024, 3:14pm UTC](https://community.freefem.org/t/critical-issues-with-getall-to-download-3rdparty-dependencies/3178/12 "2024-05-05T15:14:20Z")

</div>

I think maybe you could just download all the 3rdparties zips from the github link

[GitHub - FreeFem/FreeFEM-3rdparties](https://github.com/FreeFem/FreeFEM-3rdparties/tree/main)

and put them in the correct folder.

This help me solve the problem two weeks ago…

---

<div class="post-metadata">

**Author:** ![cmd](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/cmd/32/67_2.png) [@cmd](https://community.freefem.org/u/cmd)\
**Post date:** [May 5, 2024, 6:17pm UTC](https://community.freefem.org/t/critical-issues-with-getall-to-download-3rdparty-dependencies/3178/13 "2024-05-05T18:17:01Z")

</div>

Looks like Frederic just patched this in two commits on the develop branch:

> <https://github.com/FreeFem/FreeFem-sources/commit/b2482a87a707e2b45024d6a633adbe04f320565a>

> <https://github.com/FreeFem/FreeFem-sources/commit/d4ceaf2f2f7455ac4a5d0f4eadbc1e3811391a34>
>
> http://pkgs.freefem.org in https://www.ljll.fr/hecht/ due to problem of web serv…eur

---

<div class="post-metadata">

**Author:** ![Floran](https://avatars.discourse-cdn.com/v4/letter/f/8c91f0/32.png) [@Floran](https://community.freefem.org/u/Floran)\
**Post date:** [May 16, 2024, 10:35am UTC](https://community.freefem.org/t/critical-issues-with-getall-to-download-3rdparty-dependencies/3178/14 "2024-05-16T10:35:50Z")

</div>

The technique to adjust the checksum from a downloaded file should be avoided.  
The checksum is meant to recognize a malicious version which would not have the same checksum.

---

<div class="post-metadata">

**Author:** ![frederichecht](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/frederichecht/32/15_2.png) [@frederichecht](https://community.freefem.org/u/frederichecht)\
**Post date:** [May 20, 2024, 8:59am UTC](https://community.freefem.org/t/critical-issues-with-getall-to-download-3rdparty-dependencies/3178/15 "2024-05-20T08:59:17Z")

</div>

Yes and know, it is also a test to get the correct version.
