-
Notifications
You must be signed in to change notification settings - Fork 575
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tpetra: configure error using COMPLEX_DOUBLE and FLOAT types #4857
Comments
@trilinos/tpetra @sebrowne I'm in a phone call now. I doubt very much that Trilinos has any tests with |
In experimentation yesterday, when we disabled the configure-time check, we got the following build error: #4858 |
@mhoemmen we do not, and when I checked CMake's output, it appears that it's disabled as well. |
…s:develop' (7db7806). * trilinos-develop: (125 commits) Phalanx: Evalautor Typo Fix Belos,Ifpack2,ShyLU: Fix use of deprecated Tpetra features MueLu: fix link issue Tpetra: Fix trilinos#4857 Tpetra::CrsGraph: Hide CrsGraphCopier in deprecated macro Tpetra::MultiVector: Hide MultiVectorCloner in deprecated macro Ifpack2: Fix use of deprecated Tpetra::Map constructor Tpetra,Ifpack2: Finish hiding methods deprecated by trilinos#2630 IOSS: Fix name length handling one last time SUPES: Fix off-by-one error xpetra: removed default types in deprecated code Set Trilinos_MAKE_INSTALL_WORLD_READABLE=ON by default (trilinos#2689) Automatic snapshot commit from tribits at 747ad3d KokkosKernels: Patching in test size reduction to D2GC unit test MueLu: Fixing issue identified by Yingzhou Li (4927) MueLu: Fixing issue identified by Yingzhou Li (4927) MueLu: Fixing issue identified by Yingzhou Li (4927) Applied kokkos patches to get things compiling for cuda and bitsets for in place new MueLu: Continuing the Attack On The Clones Add RDC builds for CUDA 10.1 (TRIL-245) ...
…s:develop' (7db7806). * trilinos-develop: (128 commits) MueLu: Better configure time checks for matlab EXODUS: Fix a few off-by-one in copy_string (trilinos#4961) Phalanx: Evalautor Typo Fix tpetra: added scalar = int instantiation as suggested in trilinos#4951 Belos,Ifpack2,ShyLU: Fix use of deprecated Tpetra features MueLu: fix link issue Tpetra: Fix trilinos#4857 Tpetra::CrsGraph: Hide CrsGraphCopier in deprecated macro Tpetra::MultiVector: Hide MultiVectorCloner in deprecated macro Ifpack2: Fix use of deprecated Tpetra::Map constructor Tpetra,Ifpack2: Finish hiding methods deprecated by trilinos#2630 IOSS: Fix name length handling one last time SUPES: Fix off-by-one error xpetra: removed default types in deprecated code Set Trilinos_MAKE_INSTALL_WORLD_READABLE=ON by default (trilinos#2689) Automatic snapshot commit from tribits at 747ad3d KokkosKernels: Patching in test size reduction to D2GC unit test MueLu: Fixing issue identified by Yingzhou Li (4927) MueLu: Fixing issue identified by Yingzhou Li (4927) MueLu: Fixing issue identified by Yingzhou Li (4927) ...
…s:develop' (7db7806). * trilinos-develop: (128 commits) MueLu: Better configure time checks for matlab EXODUS: Fix a few off-by-one in copy_string (trilinos#4961) Phalanx: Evalautor Typo Fix tpetra: added scalar = int instantiation as suggested in trilinos#4951 Belos,Ifpack2,ShyLU: Fix use of deprecated Tpetra features MueLu: fix link issue Tpetra: Fix trilinos#4857 Tpetra::CrsGraph: Hide CrsGraphCopier in deprecated macro Tpetra::MultiVector: Hide MultiVectorCloner in deprecated macro Ifpack2: Fix use of deprecated Tpetra::Map constructor Tpetra,Ifpack2: Finish hiding methods deprecated by trilinos#2630 IOSS: Fix name length handling one last time SUPES: Fix off-by-one error xpetra: removed default types in deprecated code Set Trilinos_MAKE_INSTALL_WORLD_READABLE=ON by default (trilinos#2689) Automatic snapshot commit from tribits at 747ad3d KokkosKernels: Patching in test size reduction to D2GC unit test MueLu: Fixing issue identified by Yingzhou Li (4927) MueLu: Fixing issue identified by Yingzhou Li (4927) MueLu: Fixing issue identified by Yingzhou Li (4927) ...
@trilinos/Tpetra
Expectations
We do not want to turn on Trilinos_ENABLE_COMPLEX_FLOAT if we are also using Trilinos_ENABLE_FLOAT and Trilinos_ENABLE_COMPLEX_DOUBLE. Is the current behavior (below) correct?
Current Behavior
Processing enabled package: Tpetra (Classic, TSQR, Core)
-- Tpetra: Enabling deprecated code
-- Determine whether Tpetra will assume that MPI is CUDA aware:
-- - Tpetra_ENABLE_CUDA is OFF, so Tpetra will assume that MPI is not CUDA aware.
-- Tpetra execution space availability (ON means available):
-- - Serial: ON
-- - Threads: OFF
-- - OpenMP: OFF
-- - Cuda: OFF
CMake Error at packages/tpetra/CMakeLists.txt:986 (MESSAGE):
Tpetra: Tpetra_INST_COMPLEX_FLOAT is OFF (meaning that you want to disable
explicit instantiation and/or tests of Tpetra with Scalar =
std::complex), but Teuchos_ENABLE_COMPLEX is ON and
Teuchos_ENABLE_FLOAT is ON. This will cause downstream link errors, likely
in Thyra or Stratimikos. See GitHub Issue 4080 for details. Best
practice: Do NOT set Tpetra_INST_COMPLEX_FLOAT, Teuchos_ENABLE_COMPLEX, or
Teuchos_ENABLE_FLOAT explicitly. Instead, set
Trilinos_ENABLE_COMPLEX_FLOAT explicitly. That will set defaults for
Teuchos and Tpetra correctly.
-- Configuring incomplete, errors occurred!
See also "/scratch/ajpowel/code_032119/fix_trilly/CMakeFiles/CMakeOutput.log".
See also "/scratch/ajpowel/code_032119/fix_trilly/CMakeFiles/CMakeError.log".
Motivation and Context
Sierra-Trilinos integration
Steps to Reproduce
cmake -DTrilinos_ENABLE_Tpetra=ON -DTrilinos_ENABLE_COMPLEX_DOUBLE=ON -DTrilinos_ENABLE_FLOAT=ON -DTrilinos_ENABLE_Teuchos=ON $PATH_TO_MY_SOURCE_CODE
The text was updated successfully, but these errors were encountered: