[Trilinos-Users] How to get lapack/blas library consistency?

Kurtis Nusbaum klnusbaum at gmail.com
Wed Jul 7 10:06:55 MDT 2010


Lee Buermann has actually been doing some work with the way Trilinos detects
LAPACK. He might be able to speak to this issue. Lee, any thoughts?

-Kurtis

On Wed, Jul 7, 2010 at 9:51 AM, John R Cary <cary at colorado.edu> wrote:

>
> When we build something with Trilinos, we want (I assume)
> to ensure that we use the same lapack libs that Trilinos
> uses.  Is there a way to detect this?
>
> I see:
>
> iter.cary$ grep -i lapack TrilinosConfig.cmake
> SET(Trilinos_TPL_LIBRARIES "/usr/lib64/liblapack.so;/usr/lib64/libblas.so")
> SET(Trilinos_TPL_LIST "LAPACK;BLAS")
>
> which makes me this that those were used, but then I
> see:
>
> iter.cary$ ldd lib/libifpack.so | egrep '(lapack|blas|atlas)'
>        liblapack.so.3 => /usr/lib64/atlas/liblapack.so.3
> (0x00007f61d5999000)
>        libblas.so.3 => /usr/lib64/libblas.so.3 (0x00007f61d5743000)
>        libf77blas.so.3 => /usr/lib64/atlas/libf77blas.so.3
> (0x00007f61d471f000)
>        libcblas.so.3 => /usr/lib64/atlas/libcblas.so.3 (0x00007f61d44fe000)
>        libatlas.so.3 => /usr/lib64/atlas/libatlas.so.3 (0x00007f61d3c44000)
>
> which seems to indicate that Trilinos chose not to use
> the specified libs, but chose to use atlas and the
> system blas instead.
>
> I need a strategy that works for static builds, so cannot
> use ldd to detect.
>
> Thanks....John
>
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> http://software.sandia.gov/mailman/listinfo/trilinos-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20100707/ab896ea4/attachment.html 


More information about the Trilinos-Users mailing list