[dune-pdelab] Fwd: dune-pdelab post from ansgar.bohmann at bioquant.uni-heidelberg.de requires approval
Ansgar Bohmann
ansgar.bohmann at bioquant.uni-heidelberg.de
Fri Apr 17 14:33:06 CEST 2015
Hello everybody!
Am 17.04.2015 um 12:42 schrieb Ansgar Bohmann:
>> Even better, you can download the updated version from this year from
>>
>> http://conan2.iwr.uni-heidelberg.de/git/dune-course/course-2015
>>
>> That module contains a one-touch setup script called build-external.sh.
>> Maybe you can get up and running with the help of that script (take a look
>> at it, it contains some documentation at the top).
>
> I was able to download the shell scripts
>
> build_exercise.sh build_external.sh cleanup.sh
>
> and the tar balls under course-2015/external/tarballs/ . The rest
> (exercises, solutions, handout …?) seems not to be publicly available.
Sorry. My bad. Forgot to clone submodules recursively.
> Well, I should have attended this year's course I guess.
This stays true.
> I will take a look at build-external.sh .
First it seemed alright and was running for several cups-of-coffee-time.
But then it failed at pdelab-exercise3-sol:
[…]
--- calling make for pdelab-exercise3-sol ---
make
Scanning dependencies of target pdelab_exercise3
[100%] Building CXX object
src/CMakeFiles/pdelab_exercise3.dir/pdelab_exercise3.cc.o
In file included from
/[…]/course-2015/dune/dune-istl/dune/istl/matrixredistribute.hh:5:0,
from
/[…]/course-2015/dune/dune-istl/dune/istl/paamg/transfer.hh:7,
from
/[…]/course-2015/dune/dune-istl/dune/istl/paamg/amg.hh:10,
from
/[…]/course-2015/exercises/pdelab-exercise3-sol/src/pdelab_exercise3.cc:30:
/[…]/course-2015/dune/dune-istl/dune/istl/repartition.hh: In
instantiation of ‘bool Dune::graphRepartition(const G&,
Dune::OwnerOverlapCopyCommunication<T1, T2>&, int,
Dune::OwnerOverlapCopyCommunication<T1, T2>*&,
Dune::RedistributeInterface&, bool) [with G =
Dune::Amg::PropertiesGraph<Dune::Amg::MatrixGraph<const
Dune::BCRSMatrix<Dune::FieldMatrix<double, 1, 1>,
std::allocator<Dune::FieldMatrix<double, 1, 1> > > >,
Dune::Amg::VertexProperties, Dune::Amg::EdgeProperties,
Dune::IdentityMap, Dune::IdentityMap>; T1 = Dune::bigunsignedint<96>; T2
= int]’:
/[…]/course-2015/dune/dune-istl/dune/istl/paamg/hierarchy.hh:622:76:
required from ‘bool Dune::Amg::repartitionAndDistributeMatrix(const M&,
M&, C&, C*&, Dune::RedistributeInformation<C>&, int, C1&) [with M =
Dune::BCRSMatrix<Dune::FieldMatrix<double, 1, 1>,
std::allocator<Dune::FieldMatrix<double, 1, 1> > >; C =
Dune::OwnerOverlapCopyCommunication<Dune::bigunsignedint<96>, int>; C1 =
const
Dune::Amg::CoarsenCriterion<Dune::Amg::SymmetricCriterion<Dune::BCRSMatrix<Dune::FieldMatrix<double,
1, 1>, std::allocator<Dune::FieldMatrix<double, 1, 1> > >,
Dune::Amg::FirstDiagonal> >]’
/[…]/course-2015/dune/dune-istl/dune/istl/paamg/hierarchy.hh:743:53:
required from ‘void Dune::Amg::MatrixHierarchy<M, PI, A>::build(const
T&) [with O =
Dune::NegateSet<Dune::EnumItem<Dune::OwnerOverlapCopyAttributeSet::AttributeSet,
1> >; T =
Dune::Amg::CoarsenCriterion<Dune::Amg::SymmetricCriterion<Dune::BCRSMatrix<Dune::FieldMatrix<double,
1, 1>, std::allocator<Dune::FieldMatrix<double, 1, 1> > >,
Dune::Amg::FirstDiagonal> >; M =
Dune::OverlappingSchwarzOperator<Dune::BCRSMatrix<Dune::FieldMatrix<double,
1, 1>, std::allocator<Dune::FieldMatrix<double, 1, 1> > >,
Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >,
Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >,
Dune::OwnerOverlapCopyCommunication<Dune::bigunsignedint<96>, int> >; PI
= Dune::OwnerOverlapCopyCommunication<Dune::bigunsignedint<96>, int>; A
= std::allocator<Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > > >]’
/[…]/course-2015/dune/dune-istl/dune/istl/paamg/amg.hh:473:7: required
from ‘void Dune::Amg::AMG<M, X, S, PI, A>::createHierarchies(C&,
Dune::Amg::AMG<M, X, S, PI, A>::Operator&, const PI&) [with C = const
Dune::Amg::CoarsenCriterion<Dune::Amg::SymmetricCriterion<Dune::BCRSMatrix<Dune::FieldMatrix<double,
1, 1>, std::allocator<Dune::FieldMatrix<double, 1, 1> > >,
Dune::Amg::FirstDiagonal> >; M =
Dune::OverlappingSchwarzOperator<Dune::BCRSMatrix<Dune::FieldMatrix<double,
1, 1>, std::allocator<Dune::FieldMatrix<double, 1, 1> > >,
Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >,
Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >,
Dune::OwnerOverlapCopyCommunication<Dune::bigunsignedint<96>, int> >; X
= Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >; S =
Dune::BlockPreconditioner<Dune::BlockVector<Dune::FieldVector<double,
1>, std::allocator<Dune::FieldVector<double, 1> > >,
Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >,
Dune::OwnerOverlapCopyCommunication<Dune::bigunsignedint<96>, int>,
Dune::SeqSSOR<Dune::BCRSMatrix<Dune::FieldMatrix<double, 1, 1>,
std::allocator<Dune::FieldMatrix<double, 1, 1> > >,
Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >,
Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >, 1> >; PI =
Dune::OwnerOverlapCopyCommunication<Dune::bigunsignedint<96>, int>; A =
std::allocator<Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > > >; Dune::Amg::AMG<M, X,
S, PI, A>::Operator =
Dune::OverlappingSchwarzOperator<Dune::BCRSMatrix<Dune::FieldMatrix<double,
1, 1>, std::allocator<Dune::FieldMatrix<double, 1, 1> > >,
Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >,
Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >,
Dune::OwnerOverlapCopyCommunication<Dune::bigunsignedint<96>, int> >]’
/[…]/course-2015/dune/dune-istl/dune/istl/paamg/amg.hh:441:72:
required from ‘Dune::Amg::AMG<M, X, S, PI, A>::AMG(const Operator&,
const C&, const SmootherArgs&, const PI&) [with C =
Dune::Amg::CoarsenCriterion<Dune::Amg::SymmetricCriterion<Dune::BCRSMatrix<Dune::FieldMatrix<double,
1, 1>, std::allocator<Dune::FieldMatrix<double, 1, 1> > >,
Dune::Amg::FirstDiagonal> >; M =
Dune::OverlappingSchwarzOperator<Dune::BCRSMatrix<Dune::FieldMatrix<double,
1, 1>, std::allocator<Dune::FieldMatrix<double, 1, 1> > >,
Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >,
Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >,
Dune::OwnerOverlapCopyCommunication<Dune::bigunsignedint<96>, int> >; X
= Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >; S =
Dune::BlockPreconditioner<Dune::BlockVector<Dune::FieldVector<double,
1>, std::allocator<Dune::FieldVector<double, 1> > >,
Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >,
Dune::OwnerOverlapCopyCommunication<Dune::bigunsignedint<96>, int>,
Dune::SeqSSOR<Dune::BCRSMatrix<Dune::FieldMatrix<double, 1, 1>,
std::allocator<Dune::FieldMatrix<double, 1, 1> > >,
Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >,
Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >, 1> >; PI =
Dune::OwnerOverlapCopyCommunication<Dune::bigunsignedint<96>, int>; A =
std::allocator<Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > > >; Dune::Amg::AMG<M, X,
S, PI, A>::Operator =
Dune::OverlappingSchwarzOperator<Dune::BCRSMatrix<Dune::FieldMatrix<double,
1, 1>, std::allocator<Dune::FieldMatrix<double, 1, 1> > >,
Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >,
Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >,
Dune::OwnerOverlapCopyCommunication<Dune::bigunsignedint<96>, int> >;
Dune::Amg::AMG<M, X, S, PI, A>::SmootherArgs =
Dune::Amg::DefaultSmootherArgs<double>]’
/[…]/course-2015/dune/dune-pdelab/dune/pdelab/backend/ovlpistlsolverbackend.hh:1015:11:
required from ‘void Dune::PDELab::ISTLBackend_AMG<GO, s,
Preconditioner, Solver>::apply(Dune::PDELab::ISTLBackend_AMG<GO, s,
Preconditioner, Solver>::M&, Dune::PDELab::ISTLBackend_AMG<GO, s,
Preconditioner, Solver>::V&, Dune::PDELab::ISTLBackend_AMG<GO, s,
Preconditioner, Solver>::V&, typename GO::Traits::Domain::ElementType)
[with GO =
Dune::PDELab::GridOperator<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >,
Dune::PDELab::QkLocalFiniteElementMap<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >, double, double,
1ul>, Dune::PDELab::OverlappingConformingDirichletConstraints,
Dune::PDELab::ISTLVectorBackend<>,
Dune::PDELab::LeafOrderingTag<Dune::PDELab::DefaultLeafOrderingParams>
>,
Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >,
Dune::PDELab::QkLocalFiniteElementMap<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >, double, double,
1ul>, Dune::PDELab::OverlappingConformingDirichletConstraints,
Dune::PDELab::ISTLVectorBackend<>,
Dune::PDELab::LeafOrderingTag<Dune::PDELab::DefaultLeafOrderingParams>
>, ExampleLocalOperator<BCTypeParam>,
Dune::PDELab::istl::BCRSMatrixBackend<>, double, double, double,
Dune::PDELab::ConstraintsTransformation<Dune::PDELab::DOFIndex<long
unsigned int, 1ul, 2ul>, Dune::PDELab::MultiIndex<long unsigned int,
1ul>, double>,
Dune::PDELab::ConstraintsTransformation<Dune::PDELab::DOFIndex<long
unsigned int, 1ul, 2ul>, Dune::PDELab::MultiIndex<long unsigned int,
1ul>, double>, false>; int s = 96; Preconditioner = Dune::SeqSSOR;
Solver = Dune::BiCGSTABSolver; Dune::PDELab::ISTLBackend_AMG<GO, s,
Preconditioner, Solver>::M =
Dune::PDELab::ISTLMatrixContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >,
Dune::PDELab::QkLocalFiniteElementMap<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >, double, double,
1ul>, Dune::PDELab::OverlappingConformingDirichletConstraints,
Dune::PDELab::ISTLVectorBackend<>,
Dune::PDELab::LeafOrderingTag<Dune::PDELab::DefaultLeafOrderingParams>
>,
Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >,
Dune::PDELab::QkLocalFiniteElementMap<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >, double, double,
1ul>, Dune::PDELab::OverlappingConformingDirichletConstraints,
Dune::PDELab::ISTLVectorBackend<>,
Dune::PDELab::LeafOrderingTag<Dune::PDELab::DefaultLeafOrderingParams>
>, Dune::BCRSMatrix<Dune::FieldMatrix<double, 1, 1>,
std::allocator<Dune::FieldMatrix<double, 1, 1> > >,
Dune::PDELab::istl::PatternStatistics<long unsigned int> >;
Dune::PDELab::ISTLBackend_AMG<GO, s, Preconditioner, Solver>::V =
Dune::PDELab::ISTLBlockVectorContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >,
Dune::PDELab::QkLocalFiniteElementMap<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >, double, double,
1ul>, Dune::PDELab::OverlappingConformingDirichletConstraints,
Dune::PDELab::ISTLVectorBackend<>,
Dune::PDELab::LeafOrderingTag<Dune::PDELab::DefaultLeafOrderingParams>
>, Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > > >; typename
GO::Traits::Domain::ElementType = double]’
/[…]/course-2015/dune/dune-pdelab/dune/pdelab/stationary/linearproblem.hh:246:9:
required from ‘void Dune::PDELab::StationaryLinearProblemSolver<GO,
LS, V>::apply(bool) [with GO =
Dune::PDELab::GridOperator<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >,
Dune::PDELab::QkLocalFiniteElementMap<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >, double, double,
1ul>, Dune::PDELab::OverlappingConformingDirichletConstraints,
Dune::PDELab::ISTLVectorBackend<>,
Dune::PDELab::LeafOrderingTag<Dune::PDELab::DefaultLeafOrderingParams>
>,
Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >,
Dune::PDELab::QkLocalFiniteElementMap<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >, double, double,
1ul>, Dune::PDELab::OverlappingConformingDirichletConstraints,
Dune::PDELab::ISTLVectorBackend<>,
Dune::PDELab::LeafOrderingTag<Dune::PDELab::DefaultLeafOrderingParams>
>, ExampleLocalOperator<BCTypeParam>,
Dune::PDELab::istl::BCRSMatrixBackend<>, double, double, double,
Dune::PDELab::ConstraintsTransformation<Dune::PDELab::DOFIndex<long
unsigned int, 1ul, 2ul>, Dune::PDELab::MultiIndex<long unsigned int,
1ul>, double>,
Dune::PDELab::ConstraintsTransformation<Dune::PDELab::DOFIndex<long
unsigned int, 1ul, 2ul>, Dune::PDELab::MultiIndex<long unsigned int,
1ul>, double>, false>; LS =
Dune::PDELab::ISTLBackend_BCGS_AMG_SSOR<Dune::PDELab::GridOperator<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >,
Dune::PDELab::QkLocalFiniteElementMap<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >, double, double,
1ul>, Dune::PDELab::OverlappingConformingDirichletConstraints,
Dune::PDELab::ISTLVectorBackend<>,
Dune::PDELab::LeafOrderingTag<Dune::PDELab::DefaultLeafOrderingParams>
>,
Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >,
Dune::PDELab::QkLocalFiniteElementMap<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >, double, double,
1ul>, Dune::PDELab::OverlappingConformingDirichletConstraints,
Dune::PDELab::ISTLVectorBackend<>,
Dune::PDELab::LeafOrderingTag<Dune::PDELab::DefaultLeafOrderingParams>
>, ExampleLocalOperator<BCTypeParam>,
Dune::PDELab::istl::BCRSMatrixBackend<>, double, double, double,
Dune::PDELab::ConstraintsTransformation<Dune::PDELab::DOFIndex<long
unsigned int, 1ul, 2ul>, Dune::PDELab::MultiIndex<long unsigned int,
1ul>, double>,
Dune::PDELab::ConstraintsTransformation<Dune::PDELab::DOFIndex<long
unsigned int, 1ul, 2ul>, Dune::PDELab::MultiIndex<long unsigned int,
1ul>, double>, false>, 96>; V =
Dune::PDELab::ISTLBlockVectorContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >,
Dune::PDELab::QkLocalFiniteElementMap<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >, double, double,
1ul>, Dune::PDELab::OverlappingConformingDirichletConstraints,
Dune::PDELab::ISTLVectorBackend<>,
Dune::PDELab::LeafOrderingTag<Dune::PDELab::DefaultLeafOrderingParams>
>, Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > > >]’
/[…]/course-2015/exercises/pdelab-exercise3-sol/src/ovlp_solvers.hh:83:5:
required from ‘void ovlp_solvers(const GV&, int, int) [with GV =
Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<3>,
(Dune::PartitionIteratorType)4u> >]’
/[…]/course-2015/exercises/pdelab-exercise3-sol/src/pdelab_exercise3.cc:103:45:
required from here
/[…]/course-2015/dune/dune-istl/dune/istl/repartition.hh:1306:58: error:
no matching function for call to
‘Dune::{anonymous}::EdgeFunctor<Dune::Amg::PropertiesGraph<Dune::Amg::MatrixGraph<const
Dune::BCRSMatrix<Dune::FieldMatrix<double, 1, 1>,
std::allocator<Dune::FieldMatrix<double, 1, 1> > > >,
Dune::Amg::VertexProperties, Dune::Amg::EdgeProperties,
Dune::IdentityMap, Dune::IdentityMap> >::EdgeFunctor(Dune::idxtype*&,
Dune::{anonymous}::ParmetisDuneIndexMap&, std::size_t)’
EdgeFunctor<G> ef(adjncy, indexMap, graph.noEdges());
^
/[…]/course-2015/dune/dune-istl/dune/istl/repartition.hh:1306:58: note:
candidates are:
/[…]/course-2015/dune/dune-istl/dune/istl/repartition.hh:684:7: note:
Dune::{anonymous}::EdgeFunctor<Dune::Amg::PropertiesGraph<G, V, E, VM,
EM> >::EdgeFunctor(int*, const Dune::{anonymous}::ParmetisDuneIndexMap&,
std::size_t) [with G = Dune::Amg::MatrixGraph<const
Dune::BCRSMatrix<Dune::FieldMatrix<double, 1, 1>,
std::allocator<Dune::FieldMatrix<double, 1, 1> > > >; V =
Dune::Amg::VertexProperties; E = Dune::Amg::EdgeProperties; VM =
Dune::IdentityMap; EM = Dune::IdentityMap; std::size_t = long unsigned int]
EdgeFunctor(int* adj, const ParmetisDuneIndexMap& data,
std::size_t s)
^
/[…]/course-2015/dune/dune-istl/dune/istl/repartition.hh:684:7: note:
no known conversion for argument 1 from ‘Dune::idxtype* {aka long
unsigned int*}’ to ‘int*’
/[…]/course-2015/dune/dune-istl/dune/istl/repartition.hh:680:11: note:
constexpr
Dune::{anonymous}::EdgeFunctor<Dune::Amg::PropertiesGraph<Dune::Amg::MatrixGraph<const
Dune::BCRSMatrix<Dune::FieldMatrix<double, 1, 1>,
std::allocator<Dune::FieldMatrix<double, 1, 1> > > >,
Dune::Amg::VertexProperties, Dune::Amg::EdgeProperties,
Dune::IdentityMap, Dune::IdentityMap> >::EdgeFunctor(const
Dune::{anonymous}::EdgeFunctor<Dune::Amg::PropertiesGraph<Dune::Amg::MatrixGraph<const
Dune::BCRSMatrix<Dune::FieldMatrix<double, 1, 1>,
std::allocator<Dune::FieldMatrix<double, 1, 1> > > >,
Dune::Amg::VertexProperties, Dune::Amg::EdgeProperties,
Dune::IdentityMap, Dune::IdentityMap> >&)
class EdgeFunctor<Dune::Amg::PropertiesGraph<G,V,E,VM,EM> >
^
/[…]/course-2015/dune/dune-istl/dune/istl/repartition.hh:680:11: note:
candidate expects 1 argument, 3 provided
/[…]/course-2015/dune/dune-istl/dune/istl/repartition.hh:680:11: note:
constexpr
Dune::{anonymous}::EdgeFunctor<Dune::Amg::PropertiesGraph<Dune::Amg::MatrixGraph<const
Dune::BCRSMatrix<Dune::FieldMatrix<double, 1, 1>,
std::allocator<Dune::FieldMatrix<double, 1, 1> > > >,
Dune::Amg::VertexProperties, Dune::Amg::EdgeProperties,
Dune::IdentityMap, Dune::IdentityMap>
>::EdgeFunctor(Dune::{anonymous}::EdgeFunctor<Dune::Amg::PropertiesGraph<Dune::Amg::MatrixGraph<const
Dune::BCRSMatrix<Dune::FieldMatrix<double, 1, 1>,
std::allocator<Dune::FieldMatrix<double, 1, 1> > > >,
Dune::Amg::VertexProperties, Dune::Amg::EdgeProperties,
Dune::IdentityMap, Dune::IdentityMap> >&&)
/[…]/course-2015/dune/dune-istl/dune/istl/repartition.hh:680:11: note:
candidate expects 1 argument, 3 provided
/[…]/course-2015/dune/dune-istl/dune/istl/repartition.hh:1307:68: error:
no matching function for call to ‘getAdjArrays(const
Dune::Amg::PropertiesGraph<Dune::Amg::MatrixGraph<const
Dune::BCRSMatrix<Dune::FieldMatrix<double, 1, 1>,
std::allocator<Dune::FieldMatrix<double, 1, 1> > > >,
Dune::Amg::VertexProperties, Dune::Amg::EdgeProperties,
Dune::IdentityMap, Dune::IdentityMap>&, const GlobalLookupIndexSet&,
Dune::idxtype*&,
Dune::{anonymous}::EdgeFunctor<Dune::Amg::PropertiesGraph<Dune::Amg::MatrixGraph<const
Dune::BCRSMatrix<Dune::FieldMatrix<double, 1, 1>,
std::allocator<Dune::FieldMatrix<double, 1, 1> > > >,
Dune::Amg::VertexProperties, Dune::Amg::EdgeProperties,
Dune::IdentityMap, Dune::IdentityMap> >&)’
getAdjArrays<OwnerSet>(graph, oocomm.globalLookup(), xadj, ef);
^
/[…]/course-2015/dune/dune-istl/dune/istl/repartition.hh:1307:68: note:
candidate is:
/[…]/course-2015/dune/dune-istl/dune/istl/repartition.hh:726:10: note:
template<class F, class G, class IS, class EW> void
Dune::{anonymous}::getAdjArrays(G&, IS&, int*, EW&)
void getAdjArrays(G& graph, IS& indexSet, int *xadj,
^
/[…]/course-2015/dune/dune-istl/dune/istl/repartition.hh:726:10: note:
template argument deduction/substitution failed:
/[…]/course-2015/dune/dune-istl/dune/istl/repartition.hh:1307:68: note:
cannot convert ‘xadj’ (type ‘Dune::idxtype* {aka long unsigned int*}’)
to type ‘int*’
getAdjArrays<OwnerSet>(graph, oocomm.globalLookup(), xadj, ef);
^
/[…]/course-2015/dune/dune-istl/dune/istl/repartition.hh:1359:122:
error: cannot convert ‘Dune::idxtype* {aka long unsigned int*}’ to
‘idxtype* {aka int*}’ for argument ‘2’ to ‘void
ParMETIS_V3_PartKway(idxtype*, idxtype*, idxtype*, idxtype*, idxtype*,
int*, int*, int*, int*, float*, float*, int*, int*, idxtype*,
ompi_communicator_t**)’
&numflag, &ncon, &nparts, tpwgts, ubvec,
options, &edgecut, part, &const_cast<MPI_Comm&>(comm));
^
/[…]/course-2015/dune/dune-istl/dune/istl/repartition.hh: In
instantiation of ‘bool Dune::graphRepartition(const G&,
Dune::OwnerOverlapCopyCommunication<T1, T2>&, int,
Dune::OwnerOverlapCopyCommunication<T1, T2>*&,
Dune::RedistributeInterface&, bool) [with G =
Dune::Amg::PropertiesGraph<Dune::Amg::MatrixGraph<const
Dune::BCRSMatrix<Dune::FieldMatrix<double, 1, 1>,
std::allocator<Dune::FieldMatrix<double, 1, 1> > > >,
Dune::Amg::VertexProperties, Dune::Amg::EdgeProperties,
Dune::IdentityMap, Dune::IdentityMap>; T1 = Dune::bigunsignedint<5>; T2
= int]’:
/[…]/course-2015/dune/dune-istl/dune/istl/paamg/hierarchy.hh:622:76:
required from ‘bool Dune::Amg::repartitionAndDistributeMatrix(const M&,
M&, C&, C*&, Dune::RedistributeInformation<C>&, int, C1&) [with M =
Dune::BCRSMatrix<Dune::FieldMatrix<double, 1, 1>,
std::allocator<Dune::FieldMatrix<double, 1, 1> > >; C =
Dune::OwnerOverlapCopyCommunication<Dune::bigunsignedint<5>, int>; C1 =
const
Dune::Amg::CoarsenCriterion<Dune::Amg::SymmetricCriterion<Dune::BCRSMatrix<Dune::FieldMatrix<double,
1, 1>, std::allocator<Dune::FieldMatrix<double, 1, 1> > >,
Dune::Amg::FirstDiagonal> >]’
/[…]/course-2015/dune/dune-istl/dune/istl/paamg/hierarchy.hh:743:53:
required from ‘void Dune::Amg::MatrixHierarchy<M, PI, A>::build(const
T&) [with O =
Dune::NegateSet<Dune::EnumItem<Dune::OwnerOverlapCopyAttributeSet::AttributeSet,
1> >; T =
Dune::Amg::CoarsenCriterion<Dune::Amg::SymmetricCriterion<Dune::BCRSMatrix<Dune::FieldMatrix<double,
1, 1>, std::allocator<Dune::FieldMatrix<double, 1, 1> > >,
Dune::Amg::FirstDiagonal> >; M =
Dune::NonoverlappingSchwarzOperator<Dune::BCRSMatrix<Dune::FieldMatrix<double,
1, 1>, std::allocator<Dune::FieldMatrix<double, 1, 1> > >,
Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >,
Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >,
Dune::OwnerOverlapCopyCommunication<Dune::bigunsignedint<5>, int> >; PI
= Dune::OwnerOverlapCopyCommunication<Dune::bigunsignedint<5>, int>; A =
std::allocator<Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > > >]’
/[…]/course-2015/dune/dune-istl/dune/istl/paamg/amg.hh:473:7: required
from ‘void Dune::Amg::AMG<M, X, S, PI, A>::createHierarchies(C&,
Dune::Amg::AMG<M, X, S, PI, A>::Operator&, const PI&) [with C = const
Dune::Amg::CoarsenCriterion<Dune::Amg::SymmetricCriterion<Dune::BCRSMatrix<Dune::FieldMatrix<double,
1, 1>, std::allocator<Dune::FieldMatrix<double, 1, 1> > >,
Dune::Amg::FirstDiagonal> >; M =
Dune::NonoverlappingSchwarzOperator<Dune::BCRSMatrix<Dune::FieldMatrix<double,
1, 1>, std::allocator<Dune::FieldMatrix<double, 1, 1> > >,
Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >,
Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >,
Dune::OwnerOverlapCopyCommunication<Dune::bigunsignedint<5>, int> >; X =
Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >; S =
Dune::NonoverlappingBlockPreconditioner<Dune::OwnerOverlapCopyCommunication<Dune::bigunsignedint<5>,
int>, Dune::SeqSSOR<Dune::BCRSMatrix<Dune::FieldMatrix<double, 1, 1>,
std::allocator<Dune::FieldMatrix<double, 1, 1> > >,
Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >,
Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >, 1> >; PI =
Dune::OwnerOverlapCopyCommunication<Dune::bigunsignedint<5>, int>; A =
std::allocator<Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > > >; Dune::Amg::AMG<M, X,
S, PI, A>::Operator =
Dune::NonoverlappingSchwarzOperator<Dune::BCRSMatrix<Dune::FieldMatrix<double,
1, 1>, std::allocator<Dune::FieldMatrix<double, 1, 1> > >,
Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >,
Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >,
Dune::OwnerOverlapCopyCommunication<Dune::bigunsignedint<5>, int> >]’
/[…]/course-2015/dune/dune-istl/dune/istl/paamg/amg.hh:441:72:
required from ‘Dune::Amg::AMG<M, X, S, PI, A>::AMG(const Operator&,
const C&, const SmootherArgs&, const PI&) [with C =
Dune::Amg::CoarsenCriterion<Dune::Amg::SymmetricCriterion<Dune::BCRSMatrix<Dune::FieldMatrix<double,
1, 1>, std::allocator<Dune::FieldMatrix<double, 1, 1> > >,
Dune::Amg::FirstDiagonal> >; M =
Dune::NonoverlappingSchwarzOperator<Dune::BCRSMatrix<Dune::FieldMatrix<double,
1, 1>, std::allocator<Dune::FieldMatrix<double, 1, 1> > >,
Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >,
Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >,
Dune::OwnerOverlapCopyCommunication<Dune::bigunsignedint<5>, int> >; X =
Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >; S =
Dune::NonoverlappingBlockPreconditioner<Dune::OwnerOverlapCopyCommunication<Dune::bigunsignedint<5>,
int>, Dune::SeqSSOR<Dune::BCRSMatrix<Dune::FieldMatrix<double, 1, 1>,
std::allocator<Dune::FieldMatrix<double, 1, 1> > >,
Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >,
Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >, 1> >; PI =
Dune::OwnerOverlapCopyCommunication<Dune::bigunsignedint<5>, int>; A =
std::allocator<Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > > >; Dune::Amg::AMG<M, X,
S, PI, A>::Operator =
Dune::NonoverlappingSchwarzOperator<Dune::BCRSMatrix<Dune::FieldMatrix<double,
1, 1>, std::allocator<Dune::FieldMatrix<double, 1, 1> > >,
Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >,
Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > >,
Dune::OwnerOverlapCopyCommunication<Dune::bigunsignedint<5>, int> >;
Dune::Amg::AMG<M, X, S, PI, A>::SmootherArgs =
Dune::Amg::DefaultSmootherArgs<double>]’
/[…]/course-2015/dune/dune-pdelab/dune/pdelab/backend/novlpistlsolverbackend.hh:980:11:
required from ‘void Dune::PDELab::ISTLBackend_AMG_NOVLP<GO, s,
Preconditioner, Solver>::apply(Dune::PDELab::ISTLBackend_AMG_NOVLP<GO,
s, Preconditioner, Solver>::M&, Dune::PDELab::ISTLBackend_AMG_NOVLP<GO,
s, Preconditioner, Solver>::V&, Dune::PDELab::ISTLBackend_AMG_NOVLP<GO,
s, Preconditioner, Solver>::V&, typename
GO::Traits::Domain::ElementType) [with GO =
Dune::PDELab::GridOperator<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >,
Dune::PDELab::QkLocalFiniteElementMap<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >, double, double,
1ul>,
Dune::PDELab::NonoverlappingConformingDirichletConstraints<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> > >,
Dune::PDELab::ISTLVectorBackend<>,
Dune::PDELab::LeafOrderingTag<Dune::PDELab::DefaultLeafOrderingParams>
>,
Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >,
Dune::PDELab::QkLocalFiniteElementMap<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >, double, double,
1ul>,
Dune::PDELab::NonoverlappingConformingDirichletConstraints<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> > >,
Dune::PDELab::ISTLVectorBackend<>,
Dune::PDELab::LeafOrderingTag<Dune::PDELab::DefaultLeafOrderingParams>
>, ExampleLocalOperator<BCTypeParam>,
Dune::PDELab::istl::BCRSMatrixBackend<>, double, double, double,
Dune::PDELab::ConstraintsTransformation<Dune::PDELab::DOFIndex<long
unsigned int, 1ul, 2ul>, Dune::PDELab::MultiIndex<long unsigned int,
1ul>, double>,
Dune::PDELab::ConstraintsTransformation<Dune::PDELab::DOFIndex<long
unsigned int, 1ul, 2ul>, Dune::PDELab::MultiIndex<long unsigned int,
1ul>, double>, true>; int s = 5; Preconditioner = Dune::SeqSSOR; Solver
= Dune::CGSolver; Dune::PDELab::ISTLBackend_AMG_NOVLP<GO, s,
Preconditioner, Solver>::M =
Dune::PDELab::ISTLMatrixContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >,
Dune::PDELab::QkLocalFiniteElementMap<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >, double, double,
1ul>,
Dune::PDELab::NonoverlappingConformingDirichletConstraints<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> > >,
Dune::PDELab::ISTLVectorBackend<>,
Dune::PDELab::LeafOrderingTag<Dune::PDELab::DefaultLeafOrderingParams>
>,
Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >,
Dune::PDELab::QkLocalFiniteElementMap<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >, double, double,
1ul>,
Dune::PDELab::NonoverlappingConformingDirichletConstraints<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> > >,
Dune::PDELab::ISTLVectorBackend<>,
Dune::PDELab::LeafOrderingTag<Dune::PDELab::DefaultLeafOrderingParams>
>, Dune::BCRSMatrix<Dune::FieldMatrix<double, 1, 1>,
std::allocator<Dune::FieldMatrix<double, 1, 1> > >,
Dune::PDELab::istl::PatternStatistics<long unsigned int> >;
Dune::PDELab::ISTLBackend_AMG_NOVLP<GO, s, Preconditioner, Solver>::V =
Dune::PDELab::ISTLBlockVectorContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >,
Dune::PDELab::QkLocalFiniteElementMap<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >, double, double,
1ul>,
Dune::PDELab::NonoverlappingConformingDirichletConstraints<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> > >,
Dune::PDELab::ISTLVectorBackend<>,
Dune::PDELab::LeafOrderingTag<Dune::PDELab::DefaultLeafOrderingParams>
>, Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > > >; typename
GO::Traits::Domain::ElementType = double]’
/[…]/course-2015/dune/dune-pdelab/dune/pdelab/stationary/linearproblem.hh:246:9:
required from ‘void Dune::PDELab::StationaryLinearProblemSolver<GO,
LS, V>::apply(bool) [with GO =
Dune::PDELab::GridOperator<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >,
Dune::PDELab::QkLocalFiniteElementMap<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >, double, double,
1ul>,
Dune::PDELab::NonoverlappingConformingDirichletConstraints<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> > >,
Dune::PDELab::ISTLVectorBackend<>,
Dune::PDELab::LeafOrderingTag<Dune::PDELab::DefaultLeafOrderingParams>
>,
Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >,
Dune::PDELab::QkLocalFiniteElementMap<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >, double, double,
1ul>,
Dune::PDELab::NonoverlappingConformingDirichletConstraints<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> > >,
Dune::PDELab::ISTLVectorBackend<>,
Dune::PDELab::LeafOrderingTag<Dune::PDELab::DefaultLeafOrderingParams>
>, ExampleLocalOperator<BCTypeParam>,
Dune::PDELab::istl::BCRSMatrixBackend<>, double, double, double,
Dune::PDELab::ConstraintsTransformation<Dune::PDELab::DOFIndex<long
unsigned int, 1ul, 2ul>, Dune::PDELab::MultiIndex<long unsigned int,
1ul>, double>,
Dune::PDELab::ConstraintsTransformation<Dune::PDELab::DOFIndex<long
unsigned int, 1ul, 2ul>, Dune::PDELab::MultiIndex<long unsigned int,
1ul>, double>, true>; LS =
Dune::PDELab::ISTLBackend_NOVLP_CG_AMG_SSOR<Dune::PDELab::GridOperator<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >,
Dune::PDELab::QkLocalFiniteElementMap<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >, double, double,
1ul>,
Dune::PDELab::NonoverlappingConformingDirichletConstraints<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> > >,
Dune::PDELab::ISTLVectorBackend<>,
Dune::PDELab::LeafOrderingTag<Dune::PDELab::DefaultLeafOrderingParams>
>,
Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >,
Dune::PDELab::QkLocalFiniteElementMap<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >, double, double,
1ul>,
Dune::PDELab::NonoverlappingConformingDirichletConstraints<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> > >,
Dune::PDELab::ISTLVectorBackend<>,
Dune::PDELab::LeafOrderingTag<Dune::PDELab::DefaultLeafOrderingParams>
>, ExampleLocalOperator<BCTypeParam>,
Dune::PDELab::istl::BCRSMatrixBackend<>, double, double, double,
Dune::PDELab::ConstraintsTransformation<Dune::PDELab::DOFIndex<long
unsigned int, 1ul, 2ul>, Dune::PDELab::MultiIndex<long unsigned int,
1ul>, double>,
Dune::PDELab::ConstraintsTransformation<Dune::PDELab::DOFIndex<long
unsigned int, 1ul, 2ul>, Dune::PDELab::MultiIndex<long unsigned int,
1ul>, double>, true>, 5>; V =
Dune::PDELab::ISTLBlockVectorContainer<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >,
Dune::PDELab::QkLocalFiniteElementMap<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> >, double, double,
1ul>,
Dune::PDELab::NonoverlappingConformingDirichletConstraints<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u> > >,
Dune::PDELab::ISTLVectorBackend<>,
Dune::PDELab::LeafOrderingTag<Dune::PDELab::DefaultLeafOrderingParams>
>, Dune::BlockVector<Dune::FieldVector<double, 1>,
std::allocator<Dune::FieldVector<double, 1> > > >]’
/[…]/course-2015/exercises/pdelab-exercise3-sol/src/novlp_solvers.hh:86:5:
required from ‘void novlp_solvers(const GV&, int, int) [with GV =
Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<3>,
(Dune::PartitionIteratorType)4u> >]’
/[…]/course-2015/exercises/pdelab-exercise3-sol/src/pdelab_exercise3.cc:142:47:
required from here
/[…]/course-2015/dune/dune-istl/dune/istl/repartition.hh:1306:58: error:
no matching function for call to
‘Dune::{anonymous}::EdgeFunctor<Dune::Amg::PropertiesGraph<Dune::Amg::MatrixGraph<const
Dune::BCRSMatrix<Dune::FieldMatrix<double, 1, 1>,
std::allocator<Dune::FieldMatrix<double, 1, 1> > > >,
Dune::Amg::VertexProperties, Dune::Amg::EdgeProperties,
Dune::IdentityMap, Dune::IdentityMap> >::EdgeFunctor(Dune::idxtype*&,
Dune::{anonymous}::ParmetisDuneIndexMap&, std::size_t)’
EdgeFunctor<G> ef(adjncy, indexMap, graph.noEdges());
^
/[…]/course-2015/dune/dune-istl/dune/istl/repartition.hh:1306:58: note:
candidates are:
/[…]/course-2015/dune/dune-istl/dune/istl/repartition.hh:684:7: note:
Dune::{anonymous}::EdgeFunctor<Dune::Amg::PropertiesGraph<G, V, E, VM,
EM> >::EdgeFunctor(int*, const Dune::{anonymous}::ParmetisDuneIndexMap&,
std::size_t) [with G = Dune::Amg::MatrixGraph<const
Dune::BCRSMatrix<Dune::FieldMatrix<double, 1, 1>,
std::allocator<Dune::FieldMatrix<double, 1, 1> > > >; V =
Dune::Amg::VertexProperties; E = Dune::Amg::EdgeProperties; VM =
Dune::IdentityMap; EM = Dune::IdentityMap; std::size_t = long unsigned int]
EdgeFunctor(int* adj, const ParmetisDuneIndexMap& data,
std::size_t s)
^
/[…]/course-2015/dune/dune-istl/dune/istl/repartition.hh:684:7: note:
no known conversion for argument 1 from ‘Dune::idxtype* {aka long
unsigned int*}’ to ‘int*’
/[…]/course-2015/dune/dune-istl/dune/istl/repartition.hh:680:11: note:
constexpr
Dune::{anonymous}::EdgeFunctor<Dune::Amg::PropertiesGraph<Dune::Amg::MatrixGraph<const
Dune::BCRSMatrix<Dune::FieldMatrix<double, 1, 1>,
std::allocator<Dune::FieldMatrix<double, 1, 1> > > >,
Dune::Amg::VertexProperties, Dune::Amg::EdgeProperties,
Dune::IdentityMap, Dune::IdentityMap> >::EdgeFunctor(const
Dune::{anonymous}::EdgeFunctor<Dune::Amg::PropertiesGraph<Dune::Amg::MatrixGraph<const
Dune::BCRSMatrix<Dune::FieldMatrix<double, 1, 1>,
std::allocator<Dune::FieldMatrix<double, 1, 1> > > >,
Dune::Amg::VertexProperties, Dune::Amg::EdgeProperties,
Dune::IdentityMap, Dune::IdentityMap> >&)
class EdgeFunctor<Dune::Amg::PropertiesGraph<G,V,E,VM,EM> >
^
/[…]/course-2015/dune/dune-istl/dune/istl/repartition.hh:680:11: note:
candidate expects 1 argument, 3 provided
/[…]/course-2015/dune/dune-istl/dune/istl/repartition.hh:680:11: note:
constexpr
Dune::{anonymous}::EdgeFunctor<Dune::Amg::PropertiesGraph<Dune::Amg::MatrixGraph<const
Dune::BCRSMatrix<Dune::FieldMatrix<double, 1, 1>,
std::allocator<Dune::FieldMatrix<double, 1, 1> > > >,
Dune::Amg::VertexProperties, Dune::Amg::EdgeProperties,
Dune::IdentityMap, Dune::IdentityMap>
>::EdgeFunctor(Dune::{anonymous}::EdgeFunctor<Dune::Amg::PropertiesGraph<Dune::Amg::MatrixGraph<const
Dune::BCRSMatrix<Dune::FieldMatrix<double, 1, 1>,
std::allocator<Dune::FieldMatrix<double, 1, 1> > > >,
Dune::Amg::VertexProperties, Dune::Amg::EdgeProperties,
Dune::IdentityMap, Dune::IdentityMap> >&&)
/[…]/course-2015/dune/dune-istl/dune/istl/repartition.hh:680:11: note:
candidate expects 1 argument, 3 provided
/[…]/course-2015/dune/dune-istl/dune/istl/repartition.hh:1307:68: error:
no matching function for call to ‘getAdjArrays(const
Dune::Amg::PropertiesGraph<Dune::Amg::MatrixGraph<const
Dune::BCRSMatrix<Dune::FieldMatrix<double, 1, 1>,
std::allocator<Dune::FieldMatrix<double, 1, 1> > > >,
Dune::Amg::VertexProperties, Dune::Amg::EdgeProperties,
Dune::IdentityMap, Dune::IdentityMap>&, const GlobalLookupIndexSet&,
Dune::idxtype*&,
Dune::{anonymous}::EdgeFunctor<Dune::Amg::PropertiesGraph<Dune::Amg::MatrixGraph<const
Dune::BCRSMatrix<Dune::FieldMatrix<double, 1, 1>,
std::allocator<Dune::FieldMatrix<double, 1, 1> > > >,
Dune::Amg::VertexProperties, Dune::Amg::EdgeProperties,
Dune::IdentityMap, Dune::IdentityMap> >&)’
getAdjArrays<OwnerSet>(graph, oocomm.globalLookup(), xadj, ef);
^
/[…]/course-2015/dune/dune-istl/dune/istl/repartition.hh:1307:68: note:
candidate is:
/[…]/course-2015/dune/dune-istl/dune/istl/repartition.hh:726:10: note:
template<class F, class G, class IS, class EW> void
Dune::{anonymous}::getAdjArrays(G&, IS&, int*, EW&)
void getAdjArrays(G& graph, IS& indexSet, int *xadj,
^
/[…]/course-2015/dune/dune-istl/dune/istl/repartition.hh:726:10: note:
template argument deduction/substitution failed:
/[…]/course-2015/dune/dune-istl/dune/istl/repartition.hh:1307:68: note:
cannot convert ‘xadj’ (type ‘Dune::idxtype* {aka long unsigned int*}’)
to type ‘int*’
getAdjArrays<OwnerSet>(graph, oocomm.globalLookup(), xadj, ef);
^
/[…]/course-2015/dune/dune-istl/dune/istl/repartition.hh:1359:122:
error: cannot convert ‘Dune::idxtype* {aka long unsigned int*}’ to
‘idxtype* {aka int*}’ for argument ‘2’ to ‘void
ParMETIS_V3_PartKway(idxtype*, idxtype*, idxtype*, idxtype*, idxtype*,
int*, int*, int*, int*, float*, float*, int*, int*, idxtype*,
ompi_communicator_t**)’
&numflag, &ncon, &nparts, tpwgts, ubvec,
options, &edgecut, part, &const_cast<MPI_Comm&>(comm));
^
make[2]: *** [src/CMakeFiles/pdelab_exercise3.dir/pdelab_exercise3.cc.o]
Fehler 1
make[1]: *** [src/CMakeFiles/pdelab_exercise3.dir/all] Fehler 2
make: *** [all] Fehler 2
--- Failed to build pdelab-exercise3-sol ---
Terminating dunecontrol due to previous errors!
Let's see…
Thank you very much!
Ansgar2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune-pdelab/attachments/20150417/5fdccf55/attachment.sig>
More information about the dune-pdelab
mailing list