On Tue, May 9, 2023 at 3:12 PM neil liu <liufield@gmail.com> wrote:
Hello, Petsc Developers, 
I am trying to compile ksp/tutorial/ex36.cxx like make ex36, 

it shows an error 
" Documents/petsc-3.19.1/include/petscdmmoab.h:10:10: fatal error: moab/Core.hpp: No such file or directory
 #include <moab/Core.hpp> /*I      "moab/Core.hpp"    I*/
          ^~~~~~~~~~~~~~~
compilation terminated.  "

Did I miss something?

The example only works if you install Moab first.
 
In addition, I tried to know how to use DMAddboundary. It seems all the examples for DMAddboundary are related to a PetscFE object. Does that mean 
DMAddboundary can only be used with  PetscFE?

Yes, that is true.

   Thanks,

     Matt
 
Thanks,

Xiaodong


--
What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.
-- Norbert Wiener