[petsc-users] petscconf.h missing building cpp file with dolfinx?

Matthew Knepley knepley at gmail.com
Mon Jul 17 09:58:24 CDT 2023


On Mon, Jul 17, 2023 at 10:55 AM philliprusso via petsc-users <
petsc-users at mcs.anl.gov> wrote:

> I cloned petsc source for use with dolfinx project. So after .configure
> mak sudo make install I found there was some type of difficulty with the
> destination directory so I copied the files manually into usr/includes of
> Ubuntu 22.04 jammy. So some petsc header files are now found for compiling
> cpp dolfinx source code but petscconf.h still not found by dolfinxs source
> tree of header files. Anyone know how to remedy this so dolfinx cpps can
> find petsscconf.h that g++ is claiming as missing? Thank you!
>

1. I think the safest thing is to fix the install

2. petscconf.h is in $PETSC_ARCH/include, not the top-level include, since
it is build-specific

  Thanks,

      Matt


> Sent with Proton Mail <https://proton.me/> secure email.
>


-- 
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/20230717/f11e9940/attachment.html>


More information about the petsc-users mailing list