<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Apr 2, 2015 at 11:58 AM, Satish Balay <span dir="ltr"><<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Thu, 2 Apr 2015, David Knezevic wrote:<br>
<br>
> On Thu, Apr 2, 2015 at 1:52 AM, Satish Balay <<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>> wrote:<br>
><br>
> > And to get g++ to behave similar to gcc on 14.04 - you can add an<br>
> > extra configure option LIBS="-Wl,--no-as-needed -lc" [so<br>
> > --with-clanguage=cxx should work with it]<br>
> ><br>
> > ./configure --with-scalar-type=complex --with-clanguage=cxx<br>
> > --download-metis --download-parmetis --download-superlu_dist<br>
> > --with-blas-lapack-dir=/opt/intel/system_studio_2015.2.050/mkl/lib/intel64<br>
> > LIBS="-Wl,--no-as-needed -lc"<br>
> ><br>
><br>
><br>
> Thanks! Adding the LIBS option fixed this for me.<br>
<br>
</div></div>Looks like you can also use:<br>
<br>
CXXFLAGS=-Wl,--no-as-needed<br>
<br>
And --download-ml should work with this.. [as CXXFLAGS get passed down to ML's configure]<br></blockquote><div><br></div><div><br></div><div>Yep, that works for me for both ML and SuperLU with MKL. Thanks so much for your help!</div><div><br>David</div><div><br></div><div><br></div></div><br></div></div>