Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Futility build with ForTrilinos based on Trilinos/develop #259

Open
mattbement opened this issue Jan 3, 2019 · 0 comments
Open

Futility build with ForTrilinos based on Trilinos/develop #259

mattbement opened this issue Jan 3, 2019 · 0 comments

Comments

@mattbement
Copy link

mattbement commented Jan 3, 2019

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} \
..
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant