[Trilinos-Users] how to set the blas path

vegihat vegihat vegihatduke at gmail.com
Mon Jul 16 10:37:21 MDT 2012


Hello folks...

I try to install Trilinos but without success. When i do cmake i take some
errors  on blas library path.

I don't know how to set BLAS_LIBRARY_DIRS ,BLAS_LIBRARY_NAMES,
TPL_BLAS_LIBRARIES......

I appreciate any kind of help

ps: below is some of the output of cmake


---------------------------------------------------------------------------------------------------------------------------------------------------------------
CMake Error: Error in cmake code at
/home/papadakis/Downloads/BLAS/blas_LINUX.a:1:
Parse error.  Expected a command name, got unquoted argument with text
"!<arch>".
CMake Error at cmake/tribits/package_arch/TribitsGlobalMacros.cmake:1177
(INCLUDE):
  include could not find load file:

    ~/Downloads/BLAS/blas_LINUX.a
Call Stack (most recent call first):
  cmake/tribits/package_arch/TribitsProjectImpl.cmake:252
(TRIBITS_PROCESS_ENABLED_TPLS)
  cmake/tribits/package_arch/TribitsProject.cmake:96 (TRIBITS_PROJECT_IMPL)
  CMakeLists.txt:85 (TRIBITS_PROJECT)


-- Processing enabled TPL: BLAS
CMake Error: Error in cmake code at
/home/papadakis/Downloads/BLAS/blas_LINUX.a:1:
Parse error.  Expected a command name, got unquoted argument with text
"!<arch>".
CMake Error at cmake/tribits/package_arch/TribitsGlobalMacros.cmake:1177
(INCLUDE):
  include could not find load file:

    ~/Downloads/BLAS/blas_LINUX.a
Call Stack (most recent call first):
  cmake/tribits/package_arch/TribitsProjectImpl.cmake:252
(TRIBITS_PROCESS_ENABLED_TPLS)
  cmake/tribits/package_arch/TribitsProject.cmake:96 (TRIBITS_PROJECT_IMPL)
  CMakeLists.txt:85 (TRIBITS_PROJECT)


CMake Error at cmake/tribits/utils/AssertDefined.cmake:59 (MESSAGE):
  Error, the variable TPL_BLAS_INCLUDE_DIRS is not defined!
Call Stack (most recent call first):
  cmake/tribits/package_arch/TribitsGlobalMacros.cmake:1178 (ASSERT_DEFINED)
  cmake/tribits/package_arch/TribitsProjectImpl.cmake:252
(TRIBITS_PROCESS_ENABLED_TPLS)
  cmake/tribits/package_arch/TribitsProject.cmake:96 (TRIBITS_PROJECT_IMPL)
  CMakeLists.txt:85 (TRIBITS_PROJECT)


CMake Error at cmake/tribits/utils/AssertDefined.cmake:59 (MESSAGE):
  Error, the variable TPL_BLAS_LIBRARY_DIRS is not defined!
Call Stack (most recent call first):
  cmake/tribits/package_arch/TribitsGlobalMacros.cmake:1180 (ASSERT_DEFINED)
  cmake/tribits/package_arch/TribitsProjectImpl.cmake:252
(TRIBITS_PROCESS_ENABLED_TPLS)
  cmake/tribits/package_arch/TribitsProject.cmake:96 (TRIBITS_PROJECT_IMPL)
  CMakeLists.txt:85 (TRIBITS_PROJECT)


-- Processing enabled TPL: LAPACK
CMake Error: Error in cmake code at
/home/papadakis/Downloads/BLAS/blas_LINUX.a:1:
Parse error.  Expected a command name, got unquoted argument with text
"!<arch>".
CMake Error at cmake/tribits/package_arch/TribitsGlobalMacros.cmake:1177
(INCLUDE):
  include could not find load file:

    ~/Downloads/BLAS/blas_LINUX.a
Call Stack (most recent call first):
  cmake/tribits/package_arch/TribitsProjectImpl.cmake:252
(TRIBITS_PROCESS_ENABLED_TPLS)
  cmake/tribits/package_arch/TribitsProject.cmake:96 (TRIBITS_PROJECT_IMPL)
  CMakeLists.txt:85 (TRIBITS_PROJECT)


CMake Error at cmake/tribits/utils/AssertDefined.cmake:59 (MESSAGE):
  Error, the variable TPL_LAPACK_INCLUDE_DIRS is not defined!
Call Stack (most recent call first):
  cmake/tribits/package_arch/TribitsGlobalMacros.cmake:1178 (ASSERT_DEFINED)
  cmake/tribits/package_arch/TribitsProjectImpl.cmake:252
(TRIBITS_PROCESS_ENABLED_TPLS)
  cmake/tribits/package_arch/TribitsProject.cmake:96 (TRIBITS_PROJECT_IMPL)
  CMakeLists.txt:85 (TRIBITS_PROJECT)


CMake Error at cmake/tribits/utils/AssertDefined.cmake:59 (MESSAGE):
  Error, the variable TPL_LAPACK_LIBRARIES is not defined!
Call Stack (most recent call first):
  cmake/tribits/package_arch/TribitsGlobalMacros.cmake:1179 (ASSERT_DEFINED)
  cmake/tribits/package_arch/TribitsProjectImpl.cmake:252
(TRIBITS_PROCESS_ENABLED_TPLS)
  cmake/tribits/package_arch/TribitsProject.cmake:96 (TRIBITS_PROJECT_IMPL)
  CMakeLists.txt:85 (TRIBITS_PROJECT)


CMake Error at cmake/tribits/utils/AssertDefined.cmake:59 (MESSAGE):
  Error, the variable TPL_LAPACK_LIBRARY_DIRS is not defined!
Call Stack (most recent call first):
  cmake/tribits/package_arch/TribitsGlobalMacros.cmake:1180 (ASSERT_DEFINED)
  cmake/tribits/package_arch/TribitsProjectImpl.cmake:252
(TRIBITS_PROCESS_ENABLED_TPLS)
  cmake/tribits/package_arch/TribitsProject.cmake:96 (TRIBITS_PROJECT_IMPL)
  CMakeLists.txt:85 (TRIBITS_PROJECT)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20120716/736b3054/attachment.html 


More information about the Trilinos-Users mailing list