# Error launching ff-mpirun

**URL:** <https://community.freefem.org/t/error-launching-ff-mpirun/4146>\
**Category:** FreeFEM installation\
**Created:** [December 5, 2025, 1:09pm UTC](https://community.freefem.org/t/error-launching-ff-mpirun/4146 "2025-12-05T13:09:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Morgane](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/morgane/32/3525_2.png) [@Morgane](https://community.freefem.org/u/Morgane)\
**Post date:** [December 5, 2025, 1:09pm UTC](https://community.freefem.org/t/error-launching-ff-mpirun/4146/1 "2025-12-05T13:09:43Z")

</div>

Hello,

I just reinstalled FreeFem 4.15 on a MacOS using the dmg for Apple-Silicon. The commande “FreeFem++” works, however, the commands “ff-mpirun“ and “FreeFem+±mpi” do not work and give the following :

_dyld[62918]: Library not loaded: /Applications/FreeFem++.app/Contents/ff-4.15/ff-petsc/r/lib/libscalapack.2.2.dylib_

_Referenced from: /Applications/FreeFem++.app/Contents/ff-4.15/bin/FreeFem+±mpi_

_Reason: tried: ‘/Applications/FreeFem++.app/Contents/ff-4.15/ff-petsc/r/lib/libscalapack.2.2.dylib’ (duplicate LC\_RPATH ‘/Applications/FreeFem++.app/Contents/ff-4.15/ff-petsc/r/lib’), ‘/libscalapack.2.2.dylib’ (no such file), ‘/Applications/FreeFem++.app/Contents/ff-4.15/ff-petsc/r/lib/libscalapack.2.2.dylib’ (duplicate LC\_RPATH ‘/Applications/FreeFem++.app/Contents/ff-4.15/ff-petsc/r/lib’), ‘/System/Volumes/Preboot/Cryptexes/OS/Applications/FreeFem++.app/Contents/ff-4.15/ff-petsc/r/lib/libscalapack.2.2.dylib’ (no such file), ‘/Applications/FreeFem++.app/Contents/ff-4.15/ff-petsc/r/lib/libscalapack.2.2.dylib’ (duplicate LC\_RPATH ‘/Applications/FreeFem++.app/Contents/ff-4.15/ff-petsc/r/lib’), ‘/usr/local/lib/libscalapack.2.2.dylib’ (no such file), ‘/usr/lib/libscalapack.2.2.dylib’ (no such file, not in dyld cache)_

_zsh: abort FreeFem+±mpi -n 1 Fissure.edp -v 0_

I checked that libscalapack.2.2 existed and I also checked that LC\_RPATH had no duplicates.

Can you help me figure out what is wrong?

Best regards,

Morgane

---

<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:** [December 5, 2025, 1:36pm UTC](https://community.freefem.org/t/error-launching-ff-mpirun/4146/2 "2025-12-05T13:36:01Z")

</div>

This is fixed in the `develop` branch of the repository, this `.dmg` will not work unfortunately, you can search for similar posts in the forum using the keyword `LC_RPATH`.

---

<div class="post-metadata">

**Author:** ![zxss](https://avatars.discourse-cdn.com/v4/letter/z/bc8723/32.png) [@zxss](https://community.freefem.org/u/zxss)\
**Post date:** [January 3, 2026, 2:13pm UTC](https://community.freefem.org/t/error-launching-ff-mpirun/4146/3 "2026-01-03T14:13:34Z")

</div>

Hi, I met the same problem, how do you handle this?
