MueLu doesn't compile with gcc7
Created by: VictorEijkhout
from /tmp/trilinos-build/packages/muelu/src/MueLu_Utilities.hpp:1,
from /admin/build/rpms/BUILD/trilinos-12.10.1/packages/muelu/src/Interface/../MueCentral/MueLu_Level.hpp:68,
from /admin/build/rpms/BUILD/trilinos-12.10.1/packages/muelu/src/Interface/../MueCentral/MueLu_Factory.hpp:65,
from /admin/build/rpms/BUILD/trilinos-12.10.1/packages/muelu/src/Interface/../MueCentral/MueLu_SingleLevelFactoryBase.hpp:51,
from /admin/build/rpms/BUILD/trilinos-12.10.1/packages/muelu/src/Interface/../Graph/MueLu_AmalgamationFactory_decl.hpp:53,
from /tmp/trilinos-build/packages/muelu/src/MueLu_AmalgamationFactory.hpp:1,
from /admin/build/rpms/BUILD/trilinos-12.10.1/packages/muelu/src/Interface/../MueCentral/MueLu_FactoryManager_def.hpp:54,
from /tmp/trilinos-build/packages/muelu/src/MueLu_FactoryManager.hpp:2,
from /admin/build/rpms/BUILD/trilinos-12.10.1/packages/muelu/src/Interface/../Headers/MueLu.hpp:67,
from /admin/build/rpms/BUILD/trilinos-12.10.1/packages/muelu/example/advanced/blockcrs/BlockCrs.cpp:60:
/admin/build/rpms/BUILD/trilinos-12.10.1/packages/xpetra/src/CrsMatrix/Xpetra_TpetraBlockCrsMatrix.hpp: In instantiation of 'void Xpetra::TpetraBlockCrsMatrix<Scalar, LocalOrdinal, GlobalOrdinal, Node>::getLocalDiagOffsets(Teuchos::ArrayRCP<long unsigned int>&) const [with Scalar = double; LocalOrdinal = int; GlobalOrdinal = long int; Node = Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial>]':
/admin/build/rpms/BUILD/trilinos-12.10.1/packages/muelu/example/advanced/blockcrs/BlockCrs.cpp:512:1: required from here
/admin/build/rpms/BUILD/trilinos-12.10.1/packages/xpetra/src/CrsMatrix/Xpetra_TpetraBlockCrsMatrix.hpp:339:7: warning: 'void Tpetra::Experimental::BlockCrsMatrix<S, LO, GO, N>::getLocalDiagOffsets(Teuchos::ArrayRCP<long unsigned int>&) const [with Scalar = double; LO = int; GO = long int; Node = Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial>]' is deprecated [-Wdeprecated-declarations]
mtx_->getLocalDiagOffsets(offsets);
^~~~
In file included from /tmp/trilinos-build/packages/tpetra/core/src/Tpetra_Experimental_BlockCrsMatrix.hpp:2:0,
from /admin/build/rpms/BUILD/trilinos-12.10.1/packages/xpetra/src/CrsMatrix/Xpetra_TpetraBlockCrsMatrix.hpp:53,
from /admin/build/rpms/BUILD/trilinos-12.10.1/packages/muelu/src/Interface/../Utils/MueLu_Utilities_decl.hpp:59,
from /tmp/trilinos-build/packages/muelu/src/MueLu_Utilities.hpp:1,
from /admin/build/rpms/BUILD/trilinos-12.10.1/packages/muelu/src/Interface/../MueCentral/MueLu_Level.hpp:68,
from /admin/build/rpms/BUILD/trilinos-12.10.1/packages/muelu/src/Interface/../MueCentral/MueLu_Factory.hpp:65,
from /admin/build/rpms/BUILD/trilinos-12.10.1/packages/muelu/src/Interface/../MueCentral/MueLu_SingleLevelFactoryBase.hpp:51,
from /admin/build/rpms/BUILD/trilinos-12.10.1/packages/muelu/src/Interface/../Graph/MueLu_AmalgamationFactory_decl.hpp:53,
from /tmp/trilinos-build/packages/muelu/src/MueLu_AmalgamationFactory.hpp:1,
from /admin/build/rpms/BUILD/trilinos-12.10.1/packages/muelu/src/Interface/../MueCentral/MueLu_FactoryManager_def.hpp:54,
from /tmp/trilinos-build/packages/muelu/src/MueLu_FactoryManager.hpp:2,
from /admin/build/rpms/BUILD/trilinos-12.10.1/packages/muelu/src/Interface/../Headers/MueLu.hpp:67,
from /admin/build/rpms/BUILD/trilinos-12.10.1/packages/muelu/example/advanced/blockcrs/BlockCrs.cpp:60:
/admin/build/rpms/BUILD/trilinos-12.10.1/packages/tpetra/core/src/Tpetra_Experimental_BlockCrsMatrix_def.hpp:1059:3: note: declared here
BlockCrsMatrix<Scalar,LO,GO,Node>::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
make[2]: *** [packages/muelu/example/advanced/multiplesolve/CMakeFiles/MueLu_StandardReuse.dir/StandardReuse.cpp.o] Error 4
make[2]: Leaving directory `/tmp/trilinos-build'
make[1]: *** [packages/muelu/example/advanced/multiplesolve/CMakeFiles/MueLu_StandardReuse.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
g++: internal compiler error: Killed (program cc1plus)
Let me know what files I can send you.
Victor.