Skip to content
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

update Trilinos to 13.2 #297

Merged
merged 1 commit into from
Oct 22, 2022
Merged

update Trilinos to 13.2 #297

merged 1 commit into from
Oct 22, 2022

Conversation

tjhei
Copy link
Member

@tjhei tjhei commented Jun 3, 2022

This fixes compilation on Ubuntu 22.04

@tjhei
Copy link
Member Author

tjhei commented Jun 3, 2022

fixes #252

@kinnewig
Copy link
Contributor

kinnewig commented Jul 23, 2022

I am already using deal.II with Trilinos 13.2.0 (because I need a certain feature, that is only available in Trilinos >= 13).

But tpetra and muelu are not usable in deal.II with Trilinos >=13. Since the test "Performing Test TRILINOS_TPETRA_IS_FUNCTIONAL" fails, therefore also the test "TRILINOS_MUELU_IS_FUNCTIONAL" fails, as muelu is used through tpetra in deal.II.

I just tested these changes and both tests also failed (see below).

So far I have not found the origin of this problem.

-- Found TRILINOS
-- Checking whether the found trilinos package contains all required modules:
--   Found Amesos
--   Found Epetra
--   Found Ifpack
--   Found AztecOO
--   Found Teuchos
--   Found ML
--   Found EpetraExt
--   Found Kokkos
--   Found MueLu
--   Found ROL
--   Found Sacado
--   Module SEACAS not found!
--   Found Tpetra
--   Found Zoltan
--   Found MUMPS
-- Looking for KOKKOS_ENABLE_CUDA
-- Looking for KOKKOS_ENABLE_CUDA - not found
-- Looking for KOKKOS_ENABLE_CUDA_LAMBDA
-- Looking for KOKKOS_ENABLE_CUDA_LAMBDA - not found
-- Performing Test TRILINOS_TPETRA_IS_FUNCTIONAL
-- Performing Test TRILINOS_TPETRA_IS_FUNCTIONAL - Failed
-- Tpetra was found but is not usable! Disabling Tpetra support.
-- Performing Test TRILINOS_MUELU_IS_FUNCTIONAL
-- Performing Test TRILINOS_MUELU_IS_FUNCTIONAL - Failed
-- MueLu was found but is not usable through Epetra! Disabling MueLu support.
-- Found SACADO_CONFIG_H
-- Found SACADO_TRAD_HPP
-- Performing Test TRILINOS_CXX_SUPPORTS_SACADO_COMPLEX_RAD
-- Performing Test TRILINOS_CXX_SUPPORTS_SACADO_COMPLEX_RAD - Success
-- DEAL_II_WITH_TRILINOS successfully set up with external dependencies.

Edit: This is related to Issue #261

@Rombur
Copy link
Member

Rombur commented Jul 24, 2022

deal.II does not support Tpetra when using Trilinos 13.2 see dealii/dealii#13973

muelu is used through tpetra in deal.II.

This is not true. The error message you posted clearly says that we are using the Epetra backend from MueLU MueLu was found but is not usable through Epetra! The problem is that MueLU used to support both Epetra and Tpetra at the same time. Then they decided that if Tpetra was enabled, MueLU would not support Epetra. deal.II uses the Epetra wrappers from MueLU and so there is a compatibility problem. If you enable Tpetra, you cannot use MueLU.

@tjhei
Copy link
Member Author

tjhei commented Oct 22, 2022

I played a little bit with this, but I can not compile trilinos 13.2 with tpetra disabled:

/home/heister/candi-tmp/tmp/unpack/Trilinos-trilinos-release-13-2-0/packages/xpetra/src/FakeKokkos/Kokkos_ConfigDefs.hpp:50:10: fatal error: KokkosCompat_ClassicNodeAPI_Wrapper.hpp: No such file or directory
   50 | #include <KokkosCompat_ClassicNodeAPI_Wrapper.hpp>

Unfortunately, this means we can not use Muelu in the current configuration.

@tjhei
Copy link
Member Author

tjhei commented Oct 22, 2022

Regardless, we should merge this PR...

@tjhei tjhei merged commit f8f84d4 into dealii:master Oct 22, 2022
@tjhei
Copy link
Member Author

tjhei commented Oct 22, 2022

(cherrypicked to 9.4 branch)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants