ForTrilinos icon indicating copy to clipboard operation
ForTrilinos copied to clipboard

Futility build with ForTrilinos based on Trilinos/develop

Open mattbement opened this issue 5 years ago • 0 comments

Using the buildscript below for CASL/Futility/fortrilinos_ecp, it fails to recognize Trilinos/develop (get messages that the following variables are not used: ForTrilinos_ENABLE_TESTS Tpetra_INST_INT_INT Tpetra_INST_INT_LONG Tpetra_INST_INT_LONG_LONG Trilinos_EXTRA_REPOSITORIES.
However, on the trilinos-release-12-12-branch, it works fine.

cmake -Wno-dev                                  \
   -DCMAKE_BUILD_TYPE:STRING="DEBUG"            \
   -DCMAKE_Fortran_COMPILER=mpif90                \
   -DTrilinos_EXTRA_REPOSITORIES="ForTrilinos"    \
   -DCMAKE_C_COMPILER=mpicc                       \
   -DCMAKE_CXX_COMPILER=mpicxx                    \
   -DFutility_ENABLE_TESTS:BOOL=ON                \
   -DFutility_ENABLE_ForTrilinos:BOOL=TRUE        \
   -DForTrilinos_ENABLE_TESTS:BOOL=ON             \
   -DTPL_ENABLE_MPI:BOOL=ON                       \
   -DFutility_BUILD_STANDARD=OFF                  \
   -DFutility_ENABLE_EXPLICIT_INSTANTIATION=ON    \
   -DTpetra_INST_INT_INT=OFF                   \
   -DTpetra_INST_INT_LONG=OFF                  \
   -DTpetra_INST_INT_LONG_LONG=ON              \
   -DTPL_ENABLE_BLAS=ON   -DBLAS_LIBRARY_DIRS:FILENAME=${BLAS_LIBRARY_DIRS}  \
   -DTPL_ENABLE_LAPACK=ON -DLAPACK_LIBRARY_DIRS:FILEPATH=${LAPACK_LIBRARY_DIRS} \
..

mattbement avatar Jan 03 '19 19:01 mattbement