Hi Peter,
It's possible to get it running with the pip version, you just need to point CMake to the right directories.
To find out, where netgen/ngsolve is installed, run
Code:
python3 -c "import ngsolve; print(ngsolve.__file__)"
In my case, that's
Code:
/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/ngsolve/__init__.py
Now take the directory above and add 'cmake', this is where CMake finds the build configuration (same applies for netgen).
The final build call looks like this:
Code:
git clone https://github.com/ngsolve/ngs-special-functions.git
cd ngs-special-functions
mkdir build
cd build
cmake .. \
-DNGSolve_DIR=/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/ngsolve/cmake \
-DNetgen_DIR=/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/netgen/cmake
make -j4
Make sure to run cmake in an empty directory (remove files created by cmake before), otherwise the install dir is not set correctly.
Best,
Matthias