← Back to team overview

dolfin team mailing list archive

Re: FindLAPACK

 

On Tue, Oct 23, 2012 at 05:21:07PM +0200, Johannes Ring wrote:

> >> There was a typo there, but this also works for me:
> >>
> >>       -D LAPACK_LIBRARIES:FILEPATH=${ATLAS_DIR}/lib/liblapack.a \
> >>       -D BLAS_LIBRARIES:FILEPATH=${ATLAS_DIR}/lib/libatlas.a

This makes the FindLAPACK test pass, but then I get in trouble with
the Armadillo test. The test program is failing with link errors:

/scratch/fenics-test/lib/liblapack.a(ATL_dgelqf.o): In function `ATL_dgelqf':
ATL_gelqf.c:(.text+0x235): undefined reference to `ATL_dgemoveT'
ATL_gelqf.c:(.text+0x29d): undefined reference to `ATL_dgemoveT'
ATL_gelqf.c:(.text+0x35b): undefined reference to `ATL_xerbla'
etc

Can you comment out the lines I added at the top of FindLAPACK.cmake
and check whether you can build Armadillo?

My Armadillo is linked against the ATLAS BLAS/LAPACK and located in
the same directory.

--
Anders


Follow ups

References