This happened to me when I forgot to call `DEAL_II_SETUP_TARGET` from the CMakeLists.txt. Did you resolve this issue?
On Tuesday, December 14, 2021 at 9:54:42 AM UTC+1 jack urombo wrote: > The current docker image is not finding mpi.h > > > > > > > > > > > > *[ 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$ * > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/17e96956-4b5a-43f9-88f9-57ef8adecbc9n%40googlegroups.com.