[petsc-users] About case ksp/tutorial/ex36.cxx

Matthew Knepley knepley at gmail.com
Tue May 9 15:54:26 CDT 2023


On Tue, May 9, 2023 at 3:12 PM neil liu <liufield at 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

https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20230509/41755d27/attachment-0001.html>


More information about the petsc-users mailing list