[petsc-dev] CFLAGS and COPTFLAGS

Jed Brown jed at jedbrown.org
Sun Jan 19 18:11:54 CST 2014

Barry Smith <bsmith at mcs.anl.gov> writes:

>    Nope because in my previous assignment I asked Satish to check for
>    -O stuff in compiler wrappers as well as CFLAGS.

So if a user builds with MPICH, they'll get different optimization
options than building with Open MPI, simply because MPICH includes -O2
in the wrapper?

>> and some compilers have funny names for
>> optimization flags.
>    This is a small possibility because normally there is a -Od as well
>    as the funny named other stuff. If we come upon another funny name
>    that replaces -Od we can incorporate that as well.

I'm just not wild about being in the business of classifying which
options are related to optimization.
-------------- 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/5435e216/attachment.sig>

More information about the petsc-dev mailing list