libsmu icon indicating copy to clipboard operation
libsmu copied to clipboard

Version compatable with Mac computers with M1/M2 processors?

Open damercer opened this issue 2 years ago • 4 comments

Hi: I've been contacted by a professor who is trying to use libsmu on Mac M1/M2 processor computer(s) and having trouble getting it to work. Are you aware of any differences / issues when compiling libsmu targeting for M1/M2 processors? Has libsmu been tested on M1/M2 Macs? Any plan on offering versions specific for these Mac's?

Thanks Doug

damercer avatar May 08 '23 19:05 damercer

Some addition information on this issue. It seems to be more related to the Python bindings of libsmu. I'm told that it was a common issue for the Intel vs M1 processor Mac versions early on with Python code, particularly anything which was related to Anaconda.

Doug

damercer avatar May 09 '23 13:05 damercer

Hi,

I checked the builds on M1/M2 processors. There are some small fixes that need to be done in order to be able to build the core library for the required architecture. I will commit those in the next few days. As for the Conda packages to be updated and compatible with these processors, we need to create a new release. A new libsmu release would trigger a new conda and pip package. I will work on adding it, but I can't provide a specific timeline for this. The quick fix (until I manage to release a new package) would be to compile the library from sources, after I commit the above mentioned fixes.

Thank you! -Alexandra

AlexandraTrifan avatar May 12 '23 14:05 AlexandraTrifan

Thanks for looking into this. It probably explains some other un-specified MAC related complaints I've gotten over the last few months. Doug.

damercer avatar May 12 '23 14:05 damercer