[petsc-dev] CFLAGS and COPTFLAGS

Jed Brown jed at jedbrown.org
Sun Jan 19 17:50:57 CST 2014


Barry Smith <bsmith at mcs.anl.gov> writes:
>    User runs
>
>      —with-cc=cc CFLAGS=“-m64” —with-debugging=0
>
>    gets the same performance as
>
>      —with-cc=cc CFLAGS=“-m64” —with-debugging=1
>
>     Can’t understand why.

It wouldn't have quite the _same_ performance because of PETSc debugging
overhead, but point taken.  OTOH, we may be squashing optimization flags
internal to the wrappers and some compilers have funny names for
optimization 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/20140119/f7693959/attachment.sig>


More information about the petsc-dev mailing list