dice icon indicating copy to clipboard operation
dice copied to clipboard

Version 3.0-beta.4 OS intaller error

Open alchemist31 opened this issue 4 years ago • 2 comments

Using the package installer for version 3.0-beta.4, and attempting to run DICe from terminal, I receive the following error:

dyld: Library not loaded: /opt/local/lib/lapack/liblapack.3.dylib Referenced from: user//dice_working_dir/dice Reason: image not found

This issues does not occur with version 3.0-beta.3

alchemist31 avatar Dec 23 '21 17:12 alchemist31

Thanks for the heads up. Looks like since we updated the DICe mac build machine to Big Sur, it no longer ships with the Accelerate BLAS and LAPACK shared libraries so the installer was built with some local shared libraries from that machine instead. Since there isn't a native BLAS or LAPACK that ships with mac currently we need to figure out another solution. Hopefully we can find a way to include these libraries statically in DICe instead. I'll update you when we have a solution.

As a workaround for now, you could install lapack with macports. Otherwise, you'll have to wait for an updated installer to be posted to the DICe releases site.

dicengine avatar Dec 24 '21 14:12 dicengine

Hopefully this is now fixed. The updated installer is here: https://github.com/dicengine/dice/releases/tag/v3.0-beta.4

The dice executable on mac is now linked with the intel MKL libraries for blas and lapack instead of the Accelerate (or local macports lapack).

dicengine avatar Dec 25 '21 15:12 dicengine