[petsc-dev] COPTFLAGS

Jed Brown jedbrown at mcs.anl.gov
Wed Nov 13 11:37:30 CST 2013


Satish Balay <balay at mcs.anl.gov> writes:
> I don't understand why this would be needed. Thid code sets the
> defaults for bopt='g' or 'O'. But if COPTFLAGS flags is set by user -
> it routine should not be called. [so the above 2 lines appear to be
> redundant]

How do you figure that the routine is not called when COPTFLAGS is set
by the user?

(And note that the function is called twice, once with bopt='' to get
warning flags and again with bopt in ['g', 'O'] to get
optimization/debug flags.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20131113/41baab87/attachment.sig>


More information about the petsc-dev mailing list