[chimerax-users] Apple silicon (M1 chip) native version?
Tom Goddard
goddard at sonic.net
Mon Mar 22 10:57:42 PDT 2021
In the future we would like to provide a native Apple Silicon (ARM CPU) version of ChimeraX. We have not tried it yet. It would be easy to compile the C++ code we develop for the new CPU. But the trouble is that ChimeraX depends on over 50 third party Python modules, some of them including compiled code. I believe all of those compiled python modules will have to be available compiled for ARM in order for us to make a native ChimeraX app. According to Apple's developer documentation you cannot mix ARM compiled code with Intel compiled dynamically loaded modules in the same process:
From https://developer.apple.com/documentation/apple-silicon/about-the-rosetta-translation-environment
Important
The system prevents you from mixing arm64 code and x86_64 code in the same process. Rosetta translation applies to an entire process, including all code modules that the process loads dynamically.
Major packages we use like the Qt window toolkit and numpy array module provide native ARM versions. But less well maintained modules like the PyOpenGL-accelerate module ChimeraX uses for OpenGL graphics has not been updated for more than a year (Jan 2020) and there is no telling when an ARM version will become available.
The following GitHub repository (focused on neuroimaging) describes some of the availability problems from scientific packages on ARM CPUs.
https://github.com/neurolabusc/AppleSiliconForNeuroimaging <https://github.com/neurolabusc/AppleSiliconForNeuroimaging>
Tom
> On Mar 21, 2021, at 7:40 PM, Jeffrey D. Hartgerink <jdh at rice.edu> wrote:
>
> Are there any plans for an Apple Silicon (M1 chip) native version of ChimeraX? While things work ok via the Rosetta emulator, it would be great to have the performance from a native app.
>
> --------------------------------------
> Jeffrey D. Hartgerink, Ph.D.
> Prof. of Chemistry and Bioengineering
> Rice University, MS 602
> 6100 Main Street
> Houston, TX 77005
> jdh at rice.edu <mailto:jdh at rice.edu> / 713-348-4142
> hartgerink.rice.edu <http://hartgerink.rice.edu/>
> _______________________________________________
> ChimeraX-users mailing list
> ChimeraX-users at cgl.ucsf.edu
> Manage subscription:
> https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20210322/66a5f58c/attachment.html>
More information about the ChimeraX-users
mailing list