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

Satish Balay balay at mcs.anl.gov
Mon Jul 17 10:08:29 CDT 2023


We do not recommend installing PETSc in /usr/include [aka --prefix=/usr].  Now you have some petsc includes here that will potentially conflict with any other install of PETSc you might attempt.

You might have to manually check - and delete PETSc installed files from here.

For most uses - one can install PETSc in $HOME

If you need a common install - suggest --prefix=/usr/local/petsc-version

Satish

On Sun, 16 Jul 2023, philliprusso via petsc-users 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!
> 
> Sent with [Proton Mail](https://proton.me/) secure email.



More information about the petsc-users mailing list