Error launching ff-mpirun

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

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.