On Thu, Apr 2, 2015 at 11:58 AM, Satish Balay <[email protected]> wrote:
> On Thu, 2 Apr 2015, David Knezevic wrote: > > > On Thu, Apr 2, 2015 at 1:52 AM, Satish Balay <[email protected]> wrote: > > > > > And to get g++ to behave similar to gcc on 14.04 - you can add an > > > extra configure option LIBS="-Wl,--no-as-needed -lc" [so > > > --with-clanguage=cxx should work with it] > > > > > > ./configure --with-scalar-type=complex --with-clanguage=cxx > > > --download-metis --download-parmetis --download-superlu_dist > > > > --with-blas-lapack-dir=/opt/intel/system_studio_2015.2.050/mkl/lib/intel64 > > > LIBS="-Wl,--no-as-needed -lc" > > > > > > > > > Thanks! Adding the LIBS option fixed this for me. > > Looks like you can also use: > > CXXFLAGS=-Wl,--no-as-needed > > And --download-ml should work with this.. [as CXXFLAGS get passed down to > ML's configure] > Yep, that works for me for both ML and SuperLU with MKL. Thanks so much for your help! David
