[Trilinos-Users] CMake installation
Tommy Binford
tbinford at gmail.com
Tue Nov 16 14:03:06 MST 2010
You need to tell Trilinos where your BLAS library is. The next error you
will likely see is a complaint about missing LAPACK.
Add lines like this to your do-configure script before the EXTRA_ARGS
line. Change the path below
to point to the location of libblas.a and liblapack.a on your computer):
-D TPL_BLAS_LIBRARIES:STRING="-L/path/to/blas/lib -lblas" \
-D TPL_LAPACK_LIBRARIES:STRING="-L/path/to/lapack/lib -llapack" \
That should be all you need to successfully configure.
Best,
Tommy
On Tue, Nov 16, 2010 at 2:50 PM, Amir Vahid <av19 at zips.uakron.edu> wrote:
> Thanks Tommy,
> now, it is working ~ok but it generates the following error:
>
> Getting information for all enabled TPLs ...
>
> -- Processing enabled TPL: BLAS
> -- Searching for library 'blas' ...
> -- Searching for library 'blas_win32' ...
> -- Warning: Could not find a library in the set "blas blas_win32" for the
> TPL BLAS! Please manually set BLAS_LIBRARY_DIRS and/or BLAS_LIBRARY_NAMES
> or just TPL_BLAS_LIBRARIES to point to the BLAS libraries!
> 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)
More information about the Trilinos-Users
mailing list