[petsc-users] Error configuring with --download-ml and Intel MKL

David Knezevic david.knezevic at akselos.com
Thu Apr 2 11:52:47 CDT 2015


On Thu, Apr 2, 2015 at 11:58 AM, Satish Balay <balay at mcs.anl.gov> wrote:

> On Thu, 2 Apr 2015, David Knezevic wrote:
>
> > On Thu, Apr 2, 2015 at 1:52 AM, Satish Balay <balay at mcs.anl.gov> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150402/4c54043c/attachment.html>


More information about the petsc-users mailing list