[petsc-dev] CFLAGS and COPTFLAGS

Jed Brown jed at jedbrown.org
Sat Jan 18 11:41:29 CST 2014


William Gropp <wgropp at illinois.edu> writes:

> If the MPI wrapper adds -O, its buggy.  

MPICH puts CFLAGS into the wrappers.  Since this is the standard way of
specifying optimization when building a package, many users have
wrappers configured this way.  MPICH must be configured using
MPICHLIB_CFLAGS (formerly MPICH2LIB_CFLAGS) if they do not want the
optimization to go into the wrappers.  This causes real confusion such
as in this thread.

http://www.open-mpi.org/community/lists/users/2008/10/6924.php
-------------- 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/20140118/eb2b0902/attachment.sig>


More information about the petsc-dev mailing list