@trilinos/muelu: Build error
Created by: tjfulle
@jhux2, @tawiesn: When building with sems-intel/16.0.3
with complex enabled I get the following error:
/scratch/tjfulle/Developer/CI/Trilinos/packages/muelu/src/Transfers/PCoarsen/MueLu_IntrepidPCoarsenFactory_def.hpp(616): error: no instance of overloaded function "std::max" matches the argument list
argument types are: (double, float)
vmax = std::max(vmax,Teuchos::ScalarTraits<SC>::magnitude(LoValues(i,j)));
^
detected during:
instantiation of "void MueLu::MueLuIntrepid::GenerateRepresentativeBasisNodes(const Basis &, const SCFieldContainer &, double, std::vector<std::vector<Teuchos::ConstTypeTraits<Xpetra::global_size_t={size_t={unsigned long}}>::NonConstType={Teuchos::ConstTypeTraits<Xpetra::global_size_t={size_t={unsigned long}}>::UnConst<Xpetra::global_size_t={size_t={unsigned long}}>::Result={Xpetra::global_size_t={size_t={unsigned long}}}},
std::allocator<Teuchos::ConstTypeTraits<Xpetra::global_size_t={size_t={unsigned long}}>::NonConstType={Teuchos::ConstTypeTraits<Xpetra::global_size_t={size_t={unsigned long}}>::UnConst<Xpetra::global_size_t={size_t={unsigned long}}>::Result={Xpetra::global_size_t={size_t={unsigned long}}}}>>, std::allocator<std::vector<Teuchos::ConstTypeTraits<Xpetra::global_size_t={size_t={unsigned long}}>::NonConstType={Teuchos::ConstTypeTraits<Xpetra::global_size_t={size_t={unsigned
long}}>::UnConst<Xpetra::global_size_t={size_t={unsigned long}}>::Result={Xpetra::global_size_t={size_t={unsigned long}}}}, std::allocator<Teuchos::ConstTypeTraits<Xpetra::global_size_t={size_t={unsigned long}}>::NonConstType={Teuchos::ConstTypeTraits<Xpetra::global_size_t={size_t={unsigned long}}>::UnConst<Xpetra::global_size_t={size_t={unsigned long}}>::Result={Xpetra::global_size_t={size_t={unsigned long}}}}>>>> &) [with
Basis=Intrepid2::Basis_HGRAD_LINE_Cn_FEM<Kokkos::HostSpace::execution_space, float, float>, SCFieldContainer=Kokkos::DynRankView<float, Kokkos::Device<Kokkos::HostSpace::execution_space, Kokkos::HostSpace::memory_space>>]" at line 2094 of "/scratch/tjfulle/Developer/CI/Trilinos/packages/muelu/test/unit_tests/IntrepidPCoarsenFactory.cpp"
instantiation of "bool MueLuTests::test_representative_basis<Scalar,LocalOrdinal,GlobalOrdinal,Node,Basis>(Teuchos::FancyOStream &, const std::string &, Intrepid2::EPointType, int) [with Scalar=float, LocalOrdinal=int, GlobalOrdinal=int, Node=MueLuTests::Kokkos_Compat_KokkosSerialWrapperNode, Basis=Intrepid2::Basis_HGRAD_LINE_Cn_FEM<Kokkos::HostSpace::execution_space, float, float>]" at line 2332 of
"/scratch/tjfulle/Developer/CI/Trilinos/packages/muelu/test/unit_tests/IntrepidPCoarsenFactory.cpp"
instantiation of "void MueLuTests::IntrepidPCoarsenFactory_GenerateRepresentativeBasisNodes_LINE_Equispaced_UnitTest<Scalar, LocalOrdinal, GlobalOrdinal, Node>::runUnitTestImpl(Teuchos::FancyOStream &, bool &) const [with Scalar=float, LocalOrdinal=int, GlobalOrdinal=int, Node=MueLuTests::Kokkos_Compat_KokkosSerialWrapperNode]" at line 32 of "/scratch/tjfulle/Developer/CI/Trilinos/packages/muelu/test/unit_tests/../../src/Utils/MueLu_ETI_4arg.hpp"