[Trilinos-Users] FW: blas/lapack irritation

Kurtis Nusbaum klnusbaum at gmail.com
Wed Nov 17 15:13:55 MST 2010


Ah, that seems to do the trick. Thanks guys.

-Kurtis

On Wed, Nov 17, 2010 at 4:05 PM, Parks, Michael L <mlparks at sandia.gov>wrote:

> Kurtis,
>
>
>
>    To Ross’ point: The first line in my configure script is “rm -f
> CMakeCache.txt”. Otherwise, I’d never remember to delete it.
>
>
>
> - Mike
>
>
>
> ---------------------------------------------------------------
>
> Mike Parks
>
> http://www.sandia.gov/~mlparks <http://www.sandia.gov/%7Emlparks>
>
> Applied Mathematics and Applications
>
> Sandia National Laboratories
>
> ---------------------------------------------------------------
>
>
>
> *From:* trilinos-users-bounces at software.sandia.gov [mailto:
> trilinos-users-bounces at software.sandia.gov] *On Behalf Of *Bartlett,
> Roscoe A
> *Sent:* Wednesday, November 17, 2010 3:04 PM
> *To:* Kurtis Nusbaum; Trilinos Mailing List
> *Subject:* Re: [Trilinos-Users] blas/lapack irritation
>
>
>
> Kurtis,
>
>
>
> One quick thing to check.  Delete you CMakeCache.txt file and try again.
>
>
>
> - Ross
>
>
>
>
>
> *From:* trilinos-users-bounces at software.sandia.gov [mailto:
> trilinos-users-bounces at software.sandia.gov] *On Behalf Of *Kurtis Nusbaum
> *Sent:* Wednesday, November 17, 2010 2:57 PM
> *To:* Trilinos Mailing List
> *Subject:* [Trilinos-Users] blas/lapack irritation
>
>
>
> For the longest time now, I've had problems telling Trilinos where to find
> my blas and lapack. Here's my configure file:
>
> cmake \
> -DCMAKE_INSTALL_PREFIX=/home/f07/klnusbau/trilinos10/teuchosBuild \
> -DCMAKE_Fortran_COMPILER=gfortran \
> -DBLAS_LIBRARY_DIRS=/home/f07/klnusbau/opt/lapack \
> -DBLAS_LIBRARY_NAMES=blas \
> -DTrilinos_ENABLE_DEBUG=ON \
> -DTrilinos_ENABLE_Teuchos=ON \
> -DTrilinos_ENABLE_TESTS:BOOL=ON \
> -DTrilinos_ENABLE_EXAMPLES=ON \
> ..
>
> When I run cmake I get this:
>
> Getting information for all enabled TPLs ...
>
> -- Processing enabled TPL: BLAS
> --   BLAS_LIBRARY_DIRS='/home/f07/klnusbau/opt/lapack'
> --   Searching for library 'blas' ...
> --     Found BLAS TPL library: /home/f07/klnusbau/opt/lapack/libblas.a
> CMake Error at cmake/package_arch/TPLDeclareLibraries.cmake:196 (MESSAGE):
>   Error, could not find the BLAS Library! Please manually set
>   BLAS_LIBRARY_DIRS and/or BLAS_LIBRARY_NAMES or just TPL_BLAS_LIBRARIES to
>   point to the BLAS libraries!
> Call Stack (most recent call first):
>   cmake/TPLs/FindTPLBLAS.cmake:3 (TPL_DECLARE_LIBRARIES)
>   cmake/package_arch/PackageArchGlobalMacros.cmake:693 (INCLUDE)
>   CMakeLists.txt:179 (PACKAGE_ARCH_PROCESS_ENABLED_TPLS)
>
>
> It says it finds blas, but then right after that it says it couldn't find
> blas. What's going on?
>
> -Kurtis
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20101117/916ca288/attachment.html 


More information about the Trilinos-Users mailing list