Apple Silicon

The latest git version is now supporting the Apple M1 device!

NGSolve can be compiled with the following steps:

Run the following code to download/build/install NGSolve

git clone https://github.com/ngsolve/ngsolve.git
cd ngsolve
git submodule update --init --recursive
mkdir build
cd build
/Applications/CMake.app/Contents/bin/cmake ..
make -j5 install

Currently the linker issues a lot of warnings about different visibilities, we are about to fix this.

As usual, set some environment variables to use NGSolve from the command line. Put these lines in the .bash_profile file in your home directory:

export PATH=/Applications/Netgen.app/Contents/MacOS:$PATH
export PYTHONPATH=/Applications/Netgen.app/Contents/Resources/lib/python3.9/site-packages:$PYTHONPATH

Any feedback is welcome :slight_smile:

Best,
Matthias