[petsc-dev] Build petsc-3.2 with "mpicc -cc=icc"

Jed Brown jedbrown at mcs.anl.gov
Wed Sep 7 01:59:30 CDT 2011


On Wed, Sep 7, 2011 at 01:15, Lisandro Dalcin <dalcinl at gmail.com> wrote:

> Of course, I could try co pass CFLAGS="-cc=icc"


This should work. CMake really, desperately wants to turn the "compiler"
into a path.

I find it unfortunate that MPICH2 configure automatically puts whatever
CFLAGS it was built with into the wrappers. You have to use MPICH2LIB_CFLAGS
to only use them for MPICH2. This is probably the issue with your -O2/-O3
warning.

Better BLAS/Lapack detection would be worthwhile. Note that it currently
accounts for almost 50% of the entire time spent in configure. It's hard for
me to believe there is no faster way to do it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110907/f2acd862/attachment.html>


More information about the petsc-dev mailing list