[petsc-dev] petsc release soon

Barry Smith bsmith at mcs.anl.gov
Mon Mar 12 14:18:01 CDT 2012


On Mar 12, 2012, at 2:05 PM, Jed Brown wrote:

> On Mon, Mar 12, 2012 at 13:57, Matthew Knepley <knepley at gmail.com> wrote:
> > 3. Move all private headers from include/private/ to include/petsc/ (convention adopted by hundreds of packages) or include/petsc-private/ (like Tk).
> 
>  I prefer petsc-private because if one installs in the xxxx/petsc/  you get this stupid looking  xxxx/petsc/include/petsc.   Better xxxx/petsc/include/petsc-private
> 
> I agree that petsc/include/petsc is stupid. I see no reason to change the perfectly logical include/private just to match what
> some idiot programmers did.
> 
> Don't any of you look at /usr/include? Hundreds of packages put one (or a small number) public header at $prefix/include/package.h and place all their private headers in $prefix/include/package/*.h.

   But we don't have this model. We have petscvec.h petscsys.h etc etc. then the model breaks down. Hence I like the petsc-private. Jed gets what he wants and I get what I want. Plus it doesn't break the current PETSc application code.


   Barry





More information about the petsc-dev mailing list