[petsc-dev] CFLAGS and COPTFLAGS

Matthew Knepley knepley at gmail.com
Sun Jan 19 14:20:05 CST 2014


On Sun, Jan 19, 2014 at 2:15 PM, Jed Brown <jed at jedbrown.org> wrote:

> Matthew Knepley <knepley at gmail.com> writes:
> >> I'm inclined to do this because it's less code and simpler logic, thus
> >> the easiest to explain.  If they don't set CFLAGS, of course we have to
> >> automatically choose reasonable defaults based on --with-debugging.
> >>
> >
> > I think changing to this is worse than what we currently have.
>
> Why?
>
> I just talked to Brad and he mentioned that he tried to use CFLAGS and
> the optimization flags were masked.  If COPTFLAGS is not clear to an
> expert like him, something is wrong with what we have.
>

I think this is not a failure of scheme, but rather of documentation, Many
many
people also screw up the FieldSplit stuff but I still think that is right
too.

   Matt

-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20140119/d1431968/attachment.html>


More information about the petsc-dev mailing list