<div class="gmail_quote">On Wed, Sep 7, 2011 at 01:15, Lisandro Dalcin <span dir="ltr"><<a href="mailto:dalcinl@gmail.com">dalcinl@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Of course, I could try co pass CFLAGS="-cc=icc"</blockquote></div><br><div>This should work. CMake really, desperately wants to turn the "compiler" into a path.</div><div><br></div><div>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.</div>
<div><br></div><div>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.</div>