[petsc-users] Error configuring with --download-ml and Intel MKL
Satish Balay
balay at mcs.anl.gov
Thu Apr 2 10:58:26 CDT 2015
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]
Satish
More information about the petsc-users
mailing list