This code in BuildSystem makes NO fucking sense

Matthew Knepley knepley at
Wed Dec 9 18:29:17 CST 2009

On Wed, Dec 9, 2009 at 6:24 PM, Barry Smith <bsmith at> wrote:

> in it logs and error message but keeps on running if the C
> libraries cannot be used from Fortran. Why is this? It seems totally insane,
> it just delays the error until later when it is confusing and unclear what
> the problem is. Is there a DAMN good reason I shouldn't fix this?

I believe we did this because

  1) PETSc itself does not require it. We do all the linking with C

  2) Some Fortran linkers refused to handle the C libraries and we had not
work around

By failing, we would have prevented some user from enjoying his perversely
Fortran compiler.


>   Barry
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the petsc-dev mailing list