Open drwells opened 2 years ago
I don't know a ton about docker but this was on the mailing list:
[ 50%] Building CXX object CMakeFiles/cdr.dir/cdr.cc.o In file included from /usr/include/deal.II/base/conditional_ostream.h:19, from /home/dealii/dealii/cdr/cdr.cc:1: /usr/include/deal.II/base/config.h:490:12: fatal error: mpi.h: No such file or directory 490 | # include <mpi.h> | ^~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cdr.dir/build.make:63: CMakeFiles/cdr.dir/cdr.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/cdr.dir/all] Error 2 make: *** [Makefile:84: all] Error 2 dealii@cdab72233c4c:~/dealii/cdr$
see https://groups.google.com/g/dealii/c/0iNlXmvC7Ts
This is related to not calling DEAL_II_SETUP_TARGET(target_name). If you forget to do that, then cmake does not configure correctly the includ paths.
DEAL_II_SETUP_TARGET(target_name)
I don't know a ton about docker but this was on the mailing list:
see https://groups.google.com/g/dealii/c/0iNlXmvC7Ts