ILLGrenoble / takin

Takin, an inelastic neutron scattering software suite.
http://www.ill.eu/takin
Other
4 stars 3 forks source link

Magnetic Dynamics Python Package doesn't build on Mac M3 #22

Closed nviolini closed 1 month ago

nviolini commented 1 month ago

I wanted to try out the Magnetic Dynamics Python Package to see if I can leverage it for spin waves calculations. Unfortunately it seems that I'm running into a local problem when building the package. Some libraries are not found and I can't seem to solve it on my own.

I attach the warnings/errors log in a separate file.

takin-log.txt

tweber-ill commented 1 month ago

Hello,

indeed, there's some dependencies missing. From what I see in the log, you'll still have to install Lapack / Lapacke (i.e. the Fortran library and its C bindings) as well as Gemmi.

Hope that helps. The building process can be a bit complicated, especially on Mac.

nviolini commented 1 month ago

After installing the dependencies, the build worked. I'm testing the installation running some scripts, and it seems ok so far. I still get some warnings. I share here for your information:

tweber-ill commented 1 month ago

Hello,

many thanks for the feedback, glad to hear that it runs now!

The warnings can be ignored, they are either harmless (the C linkage one), are general warnings from tlibs for things that are present in the library but not used in Magdyn (Faddeeva and QHull), or about parts on which I'm currently working and which are still disabled by default (Minuit for finding the ground state).