[Trilinos-Users] linking against blas/lapack

Edsall, William (WJ) WJEdsall at dow.com
Wed Oct 5 08:13:59 MDT 2011


Hello,

Would appreciate some suggestions on what I may be doing incorrectly..

 

I'm trying to compile trilinos using BLAS and LAPACK source builds. When
building I can't seem to get around the following error:

[  6%] Built target teuchos

[  6%] Building CXX object
packages/teuchos/test/BLAS/CMakeFiles/Teuchos_BLAS_test.dir/cxx_main.cpp
.o

Linking CXX executable Teuchos_BLAS_test.exe

/tmp/tramanto/lapack/lapack-3.3.1/blas_LINUX.a(xerbla.o): In function
`xerbla_':

 

Also tried with a separate BLAS build blas_LINUX.a but it produced the
same results.

 

Here are my cmake parameters. 

/tmp/tramanto/cmake-2.8.5-Linux-i386/bin/cmake \

     -DTPL_ENABLE_MPI:BOOL=ON \

     -DTrilinos_ENABLE_ALL_PACKAGES:BOOL=OFF \

     -DTrilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=OFF \

     -DTrilinos_ENABLE_Amesos:BOOL=ON \

     -DTrilinos_ENABLE_AztecOO:BOOL=ON \

     -DTrilinos_ENABLE_Triutils:BOOL=ON \

     -DTrilinos_ENABLE_Ifpack:BOOL=ON \

     -DTrilinos_ENABLE_EpetraExt:BOOL=ON \

     -DTrilinos_ENABLE_Epetra:BOOL=ON \

     -DNOX_ENABLE_LOCA:BOOL=ON \

     -DTrilinos_ENABLE_ML:BOOL=ON \

     -DTrilinos_ENABLE_NOX:BOOL=ON \

     -DTrilinos_ENABLE_Teuchos:BOOL=ON \

     -DTrilinos_ENABLE_TESTS:BOOL=ON \

     -D CMAKE_BUILD_TYPE:STRING=DEBUG \

     -D MPI_BASE_DIR="/tmp/tramanto/mpich2" \

     -D MPI_BIN_DIR="/tmp/tramanto/mpich2/bin" \

     -D
TPL_BLAS_LIBRARIES:PATH="/tmp/tramanto/lapack/lapack-3.3.1/blas_LINUX.a"
\

     -D
TPL_LAPACK_LIBRARIES:PATH="/tmp/tramanto/lapack/lapack-3.3.1/lapack_LINU
X.a" \

     -D CMAKE_INSTALL_PREFIX:PATH=/tmp/tramanto/trilinos/BUILD \

     $EXTRA_ARGS \

     ${TRILINOS_PATH}

 

_______________________________________
William J. Edsall 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20111005/b53cef29/attachment-0001.html 


More information about the Trilinos-Users mailing list