Hello,
I managed to succesfully install dolfinx on OSX. The make install command outputs, at the end,
DOLFINx has now been installed in
/usr/local
and demo programs have been installed in
/usr/local/share/dolfinx/demo
Don't forget to update your environment variables. This can be done
easily using the helper file 'dolfinx.conf' which sets the appropriate
variables (for users of the Bash shell).
The folder /usr/local/share/dolfinx/demo does not exist. However, I found some .cpp demos in /dolfinx-0.7.3/cpp/demo/, for example a demo of the solution of Poisson equation in /dolfinx-0.7.3/cpp/demo/poisson, where there is the file main.cpp.
However, when I try to compile main.cpp, it does not find the poisson.h header:
% g++ main.cpp -o main.o -I/Applications/boost_1_83_0
main.cpp:90:10: fatal error: 'poisson.h' file not found
#include "poisson.h"
^~~~~~~~~~~
1 error generated.
Once you run cmake in that folder there is a Makefile: you must use βmakeβ to compile, not trying to write your own call to g++ main.cpp -o main.o -I/Applications/boost_1_83_0