[Dune] [#490] test failure: dune-istl/istl/paamg/test/amgtest
Dune
dune at dune-project.org
Sat Jan 31 14:41:51 CET 2009
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Elias Pipping (pipping)
Attached to Project - Dune
Summary - test failure: dune-istl/istl/paamg/test/amgtest
Task Type - Bug Report
Category - ISTL
Status - Unconfirmed
Assigned To -
Operating System - Linux 64bit
Severity - Medium
Priority - Normal
Reported Version - SVN
Due in Version - Undecided
Due Date - Undecided
Details - amgtest fails to compile:
pipping at treibsand ~/Desktop/dune-istl/istl/paamg/test $ make amgtest
g++ -std=c++0x -DHAVE_CONFIG_H -I. -I../../.. -I/home/pipping/Desktop/dune-common -I../../.. -g3 -O0 -fno-inline -MT amgtest-amgtest.o -MD -MP -MF .deps/amgtest-amgtest.Tpo -c -o amgtest-amgtest.o `test -f 'amgtest.cc' || echo './'`amgtest.cc
.../../../dune/istl/paamg/aggregates.hh: In member function 'void Dune::Amg::Dependency<M, N>::initRow(const typename M::row_type&, int) [with M = Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>, N = Dune::Amg::FirstDiagonal]':
.../../../dune/istl/paamg/aggregates.hh:1534: instantiated from 'void Dune::Amg::Aggregator<G>::buildDependency(G&, const typename C::Matrix&, C) [with C = Dune::Amg::CoarsenCriterion<Dune::Amg::UnSymmetricCriterion<Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>, Dune::Amg::FirstDiagonal> >, G = Dune::Amg::PropertiesGraph<Dune::Amg::MatrixGraph<const Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator> >, Dune::Amg::VertexProperties, Dune::Amg::EdgeProperties, Dune::IdentityMap, Dune::IdentityMap>]'
.../../../dune/istl/paamg/aggregates.hh:1958: instantiated from 'Dune::tuple<int, int, int, Dune::Nil, Dune::Nil, Dune::Nil, Dune::Nil, Dune::Nil, Dune::Nil> Dune::Amg::Aggregator<G>::build(const M&, G&, Dune::Amg::AggregatesMap<typename G::VertexDescriptor>&, const C&) [with M = Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>, C = Dune::Amg::CoarsenCriterion<Dune::Amg::UnSymmetricCriterion<Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>, Dune::Amg::FirstDiagonal> >, G = Dune::Amg::PropertiesGraph<Dune::Amg::MatrixGraph<const Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator> >, Dune::Amg::VertexProperties, Dune::Amg::EdgeProperties, Dune::IdentityMap, Dune::IdentityMap>]'
.../../../dune/istl/paamg/aggregates.hh:1938: instantiated from 'Dune::tuple<int, int, int, Dune::Nil, Dune::Nil, Dune::Nil, Dune::Nil, Dune::Nil, Dune::Nil> Dune::Amg::AggregatesMap<V>::buildAggregates(const M&, G&, const C&) [with M = Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>, G = Dune::Amg::PropertiesGraph<Dune::Amg::MatrixGraph<const Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator> >, Dune::Amg::VertexProperties, Dune::Amg::EdgeProperties, Dune::IdentityMap, Dune::IdentityMap>, C = Dune::Amg::CoarsenCriterion<Dune::Amg::UnSymmetricCriterion<Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>, Dune::Amg::FirstDiagonal> >, V = long unsigned int]'
.../../../dune/istl/paamg/hierarchy.hh:610: instantiated from 'void Dune::Amg::MatrixHierarchy<M, PI, A>::build(const T&) [with O = Dune::EmptySet<int>, T = Dune::Amg::CoarsenCriterion<Dune::Amg::UnSymmetricCriterion<Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>, Dune::Amg::FirstDiagonal> >, M = Dune::MatrixAdapter<Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>, Dune::BlockVector<Dune::FieldVector<double, 2>, Dune::ISTLAllocator>, Dune::BlockVector<Dune::FieldVector<double, 2>, Dune::ISTLAllocator> >, PI = Dune::Amg::SequentialInformation, A = std::allocator<Dune::BlockVector<Dune::FieldVector<double, 2>, Dune::ISTLAllocator> >]'
.../../../dune/istl/paamg/amg.hh:213: instantiated from 'Dune::Amg::AMG<M, X, S, PI, A>::AMG(const M&, const C&, const typename Dune::Amg::SmootherTraits<S>::Arguments&, size_t, size_t, size_t, bool, const P&) [with C = testAMG(int, int, int) [with int BS = 2]::Criterion, M = Dune::MatrixAdapter<Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>, Dune::BlockVector<Dune::FieldVector<double, 2>, Dune::ISTLAllocator>, Dune::BlockVector<Dune::FieldVector<double, 2>, Dune::ISTLAllocator> >, X = Dune::BlockVector<Dune::FieldVector<double, 2>, Dune::ISTLAllocator>, S = Dune::SeqSOR<Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>, Dune::BlockVector<Dune::FieldVector<double, 2>, Dune::ISTLAllocator>, Dune::BlockVector<Dune::FieldVector<double, 2>, Dune::ISTLAllocator>, 1>, PI = Dune::Amg::SequentialInformation, A = std::allocator<Dune::BlockVector<Dune::FieldVector<double, 2>, Dune::ISTLAllocator> >]'
amgtest.cc:98: instantiated from 'void testAMG(int, int, int) [with int BS = 2]'
amgtest.cc:143: instantiated from here
.../../../dune/istl/paamg/aggregates.hh:1257: error: cannot convert 'const Dune::FieldMatrix<double, 2, 2>' to 'double' in assignment
.../../../dune/istl/paamg/aggregates.hh: In member function 'void Dune::Amg::Dependency<M, N>::examine(const typename M::ConstColIterator&) [with M = Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>, N = Dune::Amg::FirstDiagonal]':
.../../../dune/istl/paamg/aggregates.hh:1542: instantiated from 'void Dune::Amg::Aggregator<G>::buildDependency(G&, const typename C::Matrix&, C) [with C = Dune::Amg::CoarsenCriterion<Dune::Amg::UnSymmetricCriterion<Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>, Dune::Amg::FirstDiagonal> >, G = Dune::Amg::PropertiesGraph<Dune::Amg::MatrixGraph<const Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator> >, Dune::Amg::VertexProperties, Dune::Amg::EdgeProperties, Dune::IdentityMap, Dune::IdentityMap>]'
.../../../dune/istl/paamg/aggregates.hh:1958: instantiated from 'Dune::tuple<int, int, int, Dune::Nil, Dune::Nil, Dune::Nil, Dune::Nil, Dune::Nil, Dune::Nil> Dune::Amg::Aggregator<G>::build(const M&, G&, Dune::Amg::AggregatesMap<typename G::VertexDescriptor>&, const C&) [with M = Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>, C = Dune::Amg::CoarsenCriterion<Dune::Amg::UnSymmetricCriterion<Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>, Dune::Amg::FirstDiagonal> >, G = Dune::Amg::PropertiesGraph<Dune::Amg::MatrixGraph<const Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator> >, Dune::Amg::VertexProperties, Dune::Amg::EdgeProperties, Dune::IdentityMap, Dune::IdentityMap>]'
.../../../dune/istl/paamg/aggregates.hh:1938: instantiated from 'Dune::tuple<int, int, int, Dune::Nil, Dune::Nil, Dune::Nil, Dune::Nil, Dune::Nil, Dune::Nil> Dune::Amg::AggregatesMap<V>::buildAggregates(const M&, G&, const C&) [with M = Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>, G = Dune::Amg::PropertiesGraph<Dune::Amg::MatrixGraph<const Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator> >, Dune::Amg::VertexProperties, Dune::Amg::EdgeProperties, Dune::IdentityMap, Dune::IdentityMap>, C = Dune::Amg::CoarsenCriterion<Dune::Amg::UnSymmetricCriterion<Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>, Dune::Amg::FirstDiagonal> >, V = long unsigned int]'
.../../../dune/istl/paamg/hierarchy.hh:610: instantiated from 'void Dune::Amg::MatrixHierarchy<M, PI, A>::build(const T&) [with O = Dune::EmptySet<int>, T = Dune::Amg::CoarsenCriterion<Dune::Amg::UnSymmetricCriterion<Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>, Dune::Amg::FirstDiagonal> >, M = Dune::MatrixAdapter<Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>, Dune::BlockVector<Dune::FieldVector<double, 2>, Dune::ISTLAllocator>, Dune::BlockVector<Dune::FieldVector<double, 2>, Dune::ISTLAllocator> >, PI = Dune::Amg::SequentialInformation, A = std::allocator<Dune::BlockVector<Dune::FieldVector<double, 2>, Dune::ISTLAllocator> >]'
.../../../dune/istl/paamg/amg.hh:213: instantiated from 'Dune::Amg::AMG<M, X, S, PI, A>::AMG(const M&, const C&, const typename Dune::Amg::SmootherTraits<S>::Arguments&, size_t, size_t, size_t, bool, const P&) [with C = testAMG(int, int, int) [with int BS = 2]::Criterion, M = Dune::MatrixAdapter<Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>, Dune::BlockVector<Dune::FieldVector<double, 2>, Dune::ISTLAllocator>, Dune::BlockVector<Dune::FieldVector<double, 2>, Dune::ISTLAllocator> >, X = Dune::BlockVector<Dune::FieldVector<double, 2>, Dune::ISTLAllocator>, S = Dune::SeqSOR<Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>, Dune::BlockVector<Dune::FieldVector<double, 2>, Dune::ISTLAllocator>, Dune::BlockVector<Dune::FieldVector<double, 2>, Dune::ISTLAllocator>, 1>, PI = Dune::Amg::SequentialInformation, A = std::allocator<Dune::BlockVector<Dune::FieldVector<double, 2>, Dune::ISTLAllocator> >]'
amgtest.cc:98: instantiated from 'void testAMG(int, int, int) [with int BS = 2]'
amgtest.cc:143: instantiated from here
.../../../dune/istl/paamg/aggregates.hh:1263: error: no match for 'operator-' in '-((const Dune::BidirectionalIteratorFacade<Dune::compressed_base_array_unmanaged<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>::RealIterator<const Dune::FieldMatrix<double, 2, 2> >, const Dune::FieldMatrix<double, 2, 2>, const Dune::FieldMatrix<double, 2, 2>&, long int>*)((const Dune::compressed_base_array_unmanaged<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>::RealIterator<const Dune::FieldMatrix<double, 2, 2> >*)col))->Dune::BidirectionalIteratorFacade<T, V, R, D>::operator* [with T = Dune::compressed_base_array_unmanaged<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>::RealIterator<const Dune::FieldMatrix<double, 2, 2> >, V = const Dune::FieldMatrix<double, 2, 2>, R = const Dune::FieldMatrix<double, 2, 2>&, D = long int]()'
.../../../dune/istl/paamg/aggregates.hh: In member function 'void Dune::Amg::Dependency<M, N>::examine(G&, const typename G::EdgeIterator&, const typename M::ConstColIterator&) [with G = Dune::Amg::PropertiesGraph<Dune::Amg::MatrixGraph<const Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator> >, Dune::Amg::VertexProperties, Dune::Amg::EdgeProperties, Dune::IdentityMap, Dune::IdentityMap>, M = Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>, N = Dune::Amg::FirstDiagonal]':
.../../../dune/istl/paamg/aggregates.hh:1562: instantiated from 'void Dune::Amg::Aggregator<G>::buildDependency(G&, const typename C::Matrix&, C) [with C = Dune::Amg::CoarsenCriterion<Dune::Amg::UnSymmetricCriterion<Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>, Dune::Amg::FirstDiagonal> >, G = Dune::Amg::PropertiesGraph<Dune::Amg::MatrixGraph<const Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator> >, Dune::Amg::VertexProperties, Dune::Amg::EdgeProperties, Dune::IdentityMap, Dune::IdentityMap>]'
.../../../dune/istl/paamg/aggregates.hh:1958: instantiated from 'Dune::tuple<int, int, int, Dune::Nil, Dune::Nil, Dune::Nil, Dune::Nil, Dune::Nil, Dune::Nil> Dune::Amg::Aggregator<G>::build(const M&, G&, Dune::Amg::AggregatesMap<typename G::VertexDescriptor>&, const C&) [with M = Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>, C = Dune::Amg::CoarsenCriterion<Dune::Amg::UnSymmetricCriterion<Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>, Dune::Amg::FirstDiagonal> >, G = Dune::Amg::PropertiesGraph<Dune::Amg::MatrixGraph<const Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator> >, Dune::Amg::VertexProperties, Dune::Amg::EdgeProperties, Dune::IdentityMap, Dune::IdentityMap>]'
.../../../dune/istl/paamg/aggregates.hh:1938: instantiated from 'Dune::tuple<int, int, int, Dune::Nil, Dune::Nil, Dune::Nil, Dune::Nil, Dune::Nil, Dune::Nil> Dune::Amg::AggregatesMap<V>::buildAggregates(const M&, G&, const C&) [with M = Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>, G = Dune::Amg::PropertiesGraph<Dune::Amg::MatrixGraph<const Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator> >, Dune::Amg::VertexProperties, Dune::Amg::EdgeProperties, Dune::IdentityMap, Dune::IdentityMap>, C = Dune::Amg::CoarsenCriterion<Dune::Amg::UnSymmetricCriterion<Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>, Dune::Amg::FirstDiagonal> >, V = long unsigned int]'
.../../../dune/istl/paamg/hierarchy.hh:610: instantiated from 'void Dune::Amg::MatrixHierarchy<M, PI, A>::build(const T&) [with O = Dune::EmptySet<int>, T = Dune::Amg::CoarsenCriterion<Dune::Amg::UnSymmetricCriterion<Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>, Dune::Amg::FirstDiagonal> >, M = Dune::MatrixAdapter<Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>, Dune::BlockVector<Dune::FieldVector<double, 2>, Dune::ISTLAllocator>, Dune::BlockVector<Dune::FieldVector<double, 2>, Dune::ISTLAllocator> >, PI = Dune::Amg::SequentialInformation, A = std::allocator<Dune::BlockVector<Dune::FieldVector<double, 2>, Dune::ISTLAllocator> >]'
.../../../dune/istl/paamg/amg.hh:213: instantiated from 'Dune::Amg::AMG<M, X, S, PI, A>::AMG(const M&, const C&, const typename Dune::Amg::SmootherTraits<S>::Arguments&, size_t, size_t, size_t, bool, const P&) [with C = testAMG(int, int, int) [with int BS = 2]::Criterion, M = Dune::MatrixAdapter<Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>, Dune::BlockVector<Dune::FieldVector<double, 2>, Dune::ISTLAllocator>, Dune::BlockVector<Dune::FieldVector<double, 2>, Dune::ISTLAllocator> >, X = Dune::BlockVector<Dune::FieldVector<double, 2>, Dune::ISTLAllocator>, S = Dune::SeqSOR<Dune::BCRSMatrix<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>, Dune::BlockVector<Dune::FieldVector<double, 2>, Dune::ISTLAllocator>, Dune::BlockVector<Dune::FieldVector<double, 2>, Dune::ISTLAllocator>, 1>, PI = Dune::Amg::SequentialInformation, A = std::allocator<Dune::BlockVector<Dune::FieldVector<double, 2>, Dune::ISTLAllocator> >]'
amgtest.cc:98: instantiated from 'void testAMG(int, int, int) [with int BS = 2]'
amgtest.cc:143: instantiated from here
.../../../dune/istl/paamg/aggregates.hh:1271: error: no match for 'operator-' in '-((const Dune::BidirectionalIteratorFacade<Dune::compressed_base_array_unmanaged<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>::RealIterator<const Dune::FieldMatrix<double, 2, 2> >, const Dune::FieldMatrix<double, 2, 2>, const Dune::FieldMatrix<double, 2, 2>&, long int>*)((const Dune::compressed_base_array_unmanaged<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>::RealIterator<const Dune::FieldMatrix<double, 2, 2> >*)col))->Dune::BidirectionalIteratorFacade<T, V, R, D>::operator* [with T = Dune::compressed_base_array_unmanaged<Dune::FieldMatrix<double, 2, 2>, Dune::ISTLAllocator>::RealIterator<const Dune::FieldMatrix<double, 2, 2> >, V = const Dune::FieldMatrix<double, 2, 2>, R = const Dune::FieldMatrix<double, 2, 2>&, D = long int]()'
make: *** [amgtest-amgtest.o] Error 1
More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=490
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
More information about the Dune
mailing list