[Trilinos-Users] CMake installation

Amir Vahid av19 at zips.uakron.edu
Tue Nov 16 14:38:30 MST 2010


It seems that we don't have them on our system. Do you know the best way to
get these libraries and install them. I am also in the process of contacting
ohio supercomputer center. They will inform us soon. However, in the
meanwhile, I wonder if you could tell me the fastest way to get them
installed. Thanks!

Amir Vahid
Chem Eng Dept
The University of Akron
Akron OH 44325-3906


-----Original Message-----
From: Tommy Binford [mailto:tbinford at gmail.com] 
Sent: Tuesday, November 16, 2010 4:03 PM
To: Amir Vahid
Cc: trilinos-users at software.sandia.gov; Thornquist, Heidi K
Subject: Re: [Trilinos-Users] CMake installation

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