Installation on Apple M1 machines

Are there any plans for supporting an OpenMC conda package for Apple M1 machines? I do not currently posses the skills to install and link dependencies to OpenMC for an install from scratch (without also possibly messing up my environment for other applications). Currently, I am relying an installing Carinal (GitHub - neams-th-coe/cardinal: High-Resolution Nuclear Reactor Multiphysics) and using the standalone OpenMC executable that comes with it. However, I have been having issues with this installation (see image below).

1 Like

Same question here. I also tried to use Docker - seems the docker images are not setup for ARM64 either.

I would be interested in adding ARM support to the docker image but unfortunately i don’t have a ARM processor to test things on.

I notce there are ARM base images that could be used

https://hub.docker.com/r/arm64v8/debian/

Would someone with and ARM processor be interested in trying to build the docker image.

It would need this line changing

To the name of the arm debian docker imamge in the forst link

I can’t promise success but I will play with it when can make some time. It would be very useful.

For info. Having trouble with the build " Arm wheels missing from latest release" Arm wheels missing from latest release · Issue #2408 · h5py/h5py · GitHub

So I need to a bit more work to get an earlier build working.

Built, you can pull it from:

markmit1908/openmc-arm

1 Like

Building from source should work just fine. Instructions on getting the dependencies and building on mac are below.

https://docs.openmc.org/en/latest/quickinstall.html#obtaining-prerequisites-on-macos

1 Like

Thanks for the docker build link and congrats on that

I notice a lot of ARM laptop are arriving for windows as well as Mac so I guess ARM processor support is something we shall encounter increasingly often

1 Like