I have finally made a core GPU simulator in magnetism, which previously depended on CUDA, run natively on Apple Silicon!
MuMax3 is an open-source simulator calculating nanoscale magnetism dynamics. Although it has been more than ten years since its release, it remains a vital tool widely used in magnetism research. However, it was impossible to run without a CUDA setup, making even light local tests difficult in many environments.
During a magnetism summer school, I happened to learn that senior researchers really wished MuMax3 could run on macOS. Over the three days of the event, I spent my time in the lodging integrating and stabilizing the Metal library. As a result, I successfully released mumax3-for-mac. It has passed all official examples, and because it preserves the existing simulation language, physical models, solvers, and output formats, I expect it to be immediately useful to the academic community.
When an important tool in academia is restricted to a specific environment, it clearly misses out on huge potential considering the diverse backgrounds of brilliant minds worldwide. Through this work, I hope to contribute to academia by improving the accessibility of scientific software.
The code is available on GitHub, and I have also submitted a pull request to the original MuMax3 repository. Contributions from Metal library developers and macOS users are most welcome!
Repository: https://lnkd.in/gfrVBuEs
Upstream pull request: https://lnkd.in/g3KsVFYD