[Trilinos-Users] cmake warning on installing

Bartlett, Roscoe A. bartlettra at ornl.gov
Tue Feb 4 08:06:33 MST 2014


You are not using the TPL_BLAS_LIBRARIES and TPL_LAPACK_LIBRARIES options correctly.  See:

    http://trilinos.sandia.gov/TrilinosBuildQuickRef.html#enabling-support-for-an-optional-third-party-library-tpl

-Ross

From: trilinos-users-bounces at software.sandia.gov [mailto:trilinos-users-bounces at software.sandia.gov] On Behalf Of Sunghwan Choi
Sent: Tuesday, February 04, 2014 9:57 AM
To: trilinos-users at software.sandia.gov
Subject: [Trilinos-Users] cmake warning on installing

Hi,
I installed Trilinos with cmake. I finally installed it without errors. However, I have a question on the warning that occurred in cmake step. When I do cmake, I got many warnings similar to the below line.

WARNING: Target "epetra" requests linking to directory "/applic/compilers/intel/2013/composer_xe_2013.1.117/mkl/lib/intel64".  Targets may link only to libraries.  CMake is dropping the item.

Why this warning happened and what shall I do to remove above the warnings?

My current cmake command line is

cmake \
-D BUILD_SHARED_LIBS:BOOL=ON \
-D Trilinos_ENABLE_Tpetra:BOOL=ON \
-D Trilinos_ENABLE_Belos:BOOL=ON \
-D Trilinos_ENABLE_Anasazi:BOOL=ON \
-D Trilinos_ENABLE_Ifpack2:BOOL=ON \
-D Trilinos_ENABLE_Teuchos:BOOL=ON \
-D Trilinos_ENABLE_AztecOO:BOOL=ON \
-D Trilinos_ENABLE_Epetra:BOOL=ON \
-D TPL_ENABLE_MPI:BOOL=ON \
-D TPL_BLAS_LIBRARIES:PATH=/applic/compilers/intel/2013/composer_xe_2013.1.117/mkl/lib/intel64/ \
-D TPL_BLAS_INCLUDE_DIRS:PATH=/applic/compilers/intel/2013/composer_xe_2013.1.117/mkl/include/ \
-D TPL_LAPACK_LIBRARIES:PATH=/applic/compilers/intel/2013/composer_xe_2013.1.117/mkl/lib/intel64/ \
-D TPL_LAPACK_INCLUDE_DIRS:PATH=/applic/compilers/intel/2013/composer_xe_2013.1.117/mkl/include/ \
-D CMAKE_INSTALL_PREFIX:PATH=/home01/x858hkw/trilinos/trilinos11.4.3/libs \
-D MPI_BASE_DIR:PATH=/applic/compilers/intel/2013/mpi/mvapich2/1.5/ \
-D MPI_EXEC:FILEPATH=/applic/compilers/intel/2013/mpi/mvapich2/1.5/bin/mpirun \
-D CMAKE_C_COMPILER:FILEPATH=/applic/compilers/intel/2013/mpi/mvapich2/1.5/bin/mpicc \
-D CMAKE_CXX_COMPILER:FILEPATH=/applic/compilers/intel/2013/mpi/mvapich2/1.5/bin/mpicxx \
-D CMAKE_Fortran_COMPILER:FILEPATH=/applic/compilers/intel/2013/mpi/mvapich2/1.5/bin/mpif90 \
/home01/x858hkw/trilinos/trilinos11.4.3/trilinos-11.4.3-Source


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


More information about the Trilinos-Users mailing list