[Dune] Problem in alugrid loadbalance example
Ganesh Diwan
gcdiwan83 at gmail.com
Wed Aug 5 12:51:41 CEST 2015
Hello Dune
I have been trying to build the main_zoltan exe in
../dune-alugrid/examples/loadbalance/ but end up in Dune complaining it
can't find some member functions. I am able to build however other exe
such as main_simple, main_internal and main_weights etc.
My alugrid is 2.4 whereas core modules are 2.3.1. The message I receive
after typing make main_zoltan is pasted below, appreciate your help.
$make main_zoltan
g++-4.8 -std=c++11 -DHAVE_CONFIG_H -I. -I../..
-I/home/gcd3/dune/core/dune-common-2.3.1
-I/home/gcd3/dune/core/dune-common-2.3.1
-I/home/gcd3/dune/core/dune-geometry-2.3.1
-I/home/gcd3/dune/core/dune-geometry-2.3.1
-I/home/gcd3/dune/core/dune-grid-2.3.1
-I/home/gcd3/dune/core/dune-grid-2.3.1 -I../..
-I/home/gcd3/dune/ext_build/Zoltan-v3.82/include -DENABLE_ZOLTAN=1
-I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -pthread
-DMPIPP_H -DENABLE_MPI=1 -I/usr/lib/openmpi/include
-I/usr/lib/openmpi/include/openmpi -pthread -DMPIPP_H -DENABLE_MPI=1
-I/usr/include -DENABLE_PARMETIS=1 -DENABLE_ZLIB=1 -DBALL
-I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -pthread
-DMPIPP_H -DENABLE_MPI=1 -DGRIDDIM=3 -DWORLDDIM=3 -DALUGRID_CUBE
-DUSE_ZOLTANLB=1 -g -O2 -Wall -MT main_zoltan-main.o -MD -MP -MF
.deps/main_zoltan-main.Tpo -c -o main_zoltan-main.o `test -f 'main.cc' ||
echo './'`main.cc
In file included from
../../dune/alugrid/common/intersectioniteratorwrapper.hh:7:0,
from ../../dune/alugrid/3d/iterator.hh:8,
from ../../dune/alugrid/3d/alugrid.hh:7,
from ../../dune/alugrid/grid.hh:16,
from ../../config.h:514,
from main.cc:4:
../../dune/alugrid/common/macrogridview.hh: In instantiation of
‘Dune::MacroGridView<GridImp, pitype>::IntersectionIterator
Dune::MacroGridView<GridImp, pitype>::iend(const typename
Dune::MacroGridView<GridImp, pitype>::Codim<0>::Entity&) const [with
GridImp = const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm>; Dune::PartitionIteratorType pitype =
(Dune::PartitionIteratorType)4u; Dune::MacroGridView<GridImp,
pitype>::IntersectionIterator = Dune::IntersectionIterator<const
Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm>,
Dune::LevelIntersectionIteratorWrapper<const
Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm> >,
Dune::LevelIntersectionWrapper<const
Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm> > >;
typename Dune::MacroGridView<GridImp, pitype>::Codim<0>::Entity =
Dune::Entity<0, 3, const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm>, Dune::ALU3dGridEntity>]’:
loadbalance_zoltan.hh:338:61: required from ‘void
ZoltanLoadBalanceHandle<Grid>::generateHypergraph() [with Grid =
Dune::ALUGrid<3, 3, (Dune::ALUGridElementType)1u,
(Dune::ALUGridRefinementType)1u>]’
loadbalance_zoltan.hh:107:24: required from ‘bool
ZoltanLoadBalanceHandle<Grid>::repartition() [with Grid = Dune::ALUGrid<3,
3, (Dune::ALUGridElementType)1u, (Dune::ALUGridRefinementType)1u>]’
main.cc:123:23: required from here
../../dune/alugrid/common/macrogridview.hh:167:62: error:
‘Dune::GridDefaultImplementation<3, 3, double,
Dune::ALU3dGridFamily<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm>
>::ReturnImplementationType<const Dune::Entity<0, 3, const
Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm>,
Dune::ALU3dGridEntity> >::ImplementationType’ has no member named
‘ilevelend’
return Grid::getRealImplementation( entity ).ilevelend();
^
../../dune/alugrid/common/macrogridview.hh: In instantiation of
‘Dune::MacroGridView<GridImp, pitype>::IntersectionIterator
Dune::MacroGridView<GridImp, pitype>::ibegin(const typename
Dune::MacroGridView<GridImp, pitype>::Codim<0>::Entity&) const [with
GridImp = const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm>; Dune::PartitionIteratorType pitype =
(Dune::PartitionIteratorType)4u; Dune::MacroGridView<GridImp,
pitype>::IntersectionIterator = Dune::IntersectionIterator<const
Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm>,
Dune::LevelIntersectionIteratorWrapper<const
Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm> >,
Dune::LevelIntersectionWrapper<const
Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm> > >;
typename Dune::MacroGridView<GridImp, pitype>::Codim<0>::Entity =
Dune::Entity<0, 3, const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm>, Dune::ALU3dGridEntity>]’:
loadbalance_zoltan.hh:341:61: required from ‘void
ZoltanLoadBalanceHandle<Grid>::generateHypergraph() [with Grid =
Dune::ALUGrid<3, 3, (Dune::ALUGridElementType)1u,
(Dune::ALUGridRefinementType)1u>]’
loadbalance_zoltan.hh:107:24: required from ‘bool
ZoltanLoadBalanceHandle<Grid>::repartition() [with Grid = Dune::ALUGrid<3,
3, (Dune::ALUGridElementType)1u, (Dune::ALUGridRefinementType)1u>]’
main.cc:123:23: required from here
../../dune/alugrid/common/macrogridview.hh:160:64: error:
‘Dune::GridDefaultImplementation<3, 3, double,
Dune::ALU3dGridFamily<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm>
>::ReturnImplementationType<const Dune::Entity<0, 3, const
Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm>,
Dune::ALU3dGridEntity> >::ImplementationType’ has no member named
‘ilevelbegin’
return Grid::getRealImplementation( entity ).ilevelbegin();
^
In file included from ../../dune/alugrid/3d/grid.hh:17:0,
from ../../dune/alugrid/3d/geometry_imp.cc:6,
from ../../dune/alugrid/3d/geometry.hh:806,
from ../../dune/alugrid/3d/iterator_imp.cc:8,
from ../../dune/alugrid/3d/iterator.hh:779,
from ../../dune/alugrid/3d/alugrid.hh:7,
from ../../dune/alugrid/grid.hh:16,
from ../../config.h:514,
from main.cc:4:
/home/gcd3/dune/core/dune-grid-2.3.1/dune/grid/common/sizecache.hh: In
instantiation of ‘void Dune::SizeCache<GridImp>::countLeafEntities() const
[with Dune::PartitionIteratorType pitype = (Dune::PartitionIteratorType)4u;
int codim = 0; GridImp = Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm>]’:
/home/gcd3/dune/core/dune-grid-2.3.1/dune/grid/common/sizecache.hh:100:11:
required from ‘static void
Dune::SizeCache<GridImp>::CountLeafEntitiesBase<codim,
gridHasCodim>::apply(const SzCacheType&, int) [with SzCacheType =
Dune::SizeCache<Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm> >; int codim = 0; bool gridHasCodim = true; GridImp =
Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm>]’
/home/gcd3/dune/core/dune-common-2.3.1/dune/common/forloop.hh:57:26:
required from ‘static void Dune::ForLoopHelper::Apply<A, B>::apply(T1&,
T2&) [with T1 = const
Dune::SizeCache<Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm> >; T2 = int; A =
Dune::SizeCache<Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm> >::CountLeafEntities<0>; B =
Dune::GenericForLoop<Dune::ForLoopHelper::Apply,
Dune::SizeCache<Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm> >::CountLeafEntities, 1, 3>]’
/home/gcd3/dune/core/dune-grid-2.3.1/dune/grid/common/sizecache.hh:207:69:
required from ‘int Dune::SizeCache<GridImp>::size(int) const [with GridImp
= Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm>]’
../../dune/alugrid/3d/grid_imp.cc:270:34: required from ‘int
Dune::ALU3dGrid<<anonymous>, <template-parameter-1-2> >::size(int) const
[with Dune::ALU3dGridElementType elType = (Dune::ALU3dGridElementType)7u;
Comm = Dune::ALUGridMPIComm]’
loadbalance_zoltan.hh:87:32: required from ‘bool
ZoltanLoadBalanceHandle<Grid>::repartition() [with Grid = Dune::ALUGrid<3,
3, (Dune::ALUGridElementType)1u, (Dune::ALUGridRefinementType)1u>]’
main.cc:123:23: required from here
/home/gcd3/dune/core/dune-grid-2.3.1/dune/grid/common/sizecache.hh:242:42:
warning: ‘typename
GridFamily::Traits::Partition<All_Partition>::LeafGridView
Dune::GridDefaultImplementation<<anonymous>, <anonymous>,
<template-parameter-1-3>, <template-parameter-1-4> >::leafView() const
[with int dim = 3; int dimworld = 3; ct = double; GridFamily =
Dune::ALU3dGridFamily<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm>; typename
GridFamily::Traits::Partition<All_Partition>::LeafGridView =
Dune::GridView<Dune::ALU3dLeafGridViewTraits<const
Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm>,
(Dune::PartitionIteratorType)4u> >]’ is deprecated (declared at
/home/gcd3/dune/core/dune-grid-2.3.1/dune/grid/common/grid.hh:1055): "The
method leafView has been renamed to leafGridView."
[-Wdeprecated-declarations]
GridView gridView = grid_.leafView();
^
/home/gcd3/dune/core/dune-grid-2.3.1/dune/grid/common/sizecache.hh: In
instantiation of ‘void Dune::SizeCache<GridImp>::countLeafEntities() const
[with Dune::PartitionIteratorType pitype = (Dune::PartitionIteratorType)4u;
int codim = 1; GridImp = Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm>]’:
/home/gcd3/dune/core/dune-grid-2.3.1/dune/grid/common/sizecache.hh:100:11:
required from ‘static void
Dune::SizeCache<GridImp>::CountLeafEntitiesBase<codim,
gridHasCodim>::apply(const SzCacheType&, int) [with SzCacheType =
Dune::SizeCache<Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm> >; int codim = 1; bool gridHasCodim = true; GridImp =
Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm>]’
/home/gcd3/dune/core/dune-common-2.3.1/dune/common/forloop.hh:57:26:
required from ‘static void Dune::ForLoopHelper::Apply<A, B>::apply(T1&,
T2&) [with T1 = const
Dune::SizeCache<Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm> >; T2 = int; A =
Dune::SizeCache<Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm> >::CountLeafEntities<1>; B =
Dune::GenericForLoop<Dune::ForLoopHelper::Apply,
Dune::SizeCache<Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm> >::CountLeafEntities, 2, 3>]’
/home/gcd3/dune/core/dune-common-2.3.1/dune/common/forloop.hh:58:26:
required from ‘static void Dune::ForLoopHelper::Apply<A, B>::apply(T1&,
T2&) [with T1 = const
Dune::SizeCache<Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm> >; T2 = int; A =
Dune::SizeCache<Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm> >::CountLeafEntities<0>; B =
Dune::GenericForLoop<Dune::ForLoopHelper::Apply,
Dune::SizeCache<Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm> >::CountLeafEntities, 1, 3>]’
/home/gcd3/dune/core/dune-grid-2.3.1/dune/grid/common/sizecache.hh:207:69:
required from ‘int Dune::SizeCache<GridImp>::size(int) const [with GridImp
= Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm>]’
../../dune/alugrid/3d/grid_imp.cc:270:34: required from ‘int
Dune::ALU3dGrid<<anonymous>, <template-parameter-1-2> >::size(int) const
[with Dune::ALU3dGridElementType elType = (Dune::ALU3dGridElementType)7u;
Comm = Dune::ALUGridMPIComm]’
loadbalance_zoltan.hh:87:32: required from ‘bool
ZoltanLoadBalanceHandle<Grid>::repartition() [with Grid = Dune::ALUGrid<3,
3, (Dune::ALUGridElementType)1u, (Dune::ALUGridRefinementType)1u>]’
main.cc:123:23: required from here
/home/gcd3/dune/core/dune-grid-2.3.1/dune/grid/common/sizecache.hh:242:42:
warning: ‘typename
GridFamily::Traits::Partition<All_Partition>::LeafGridView
Dune::GridDefaultImplementation<<anonymous>, <anonymous>,
<template-parameter-1-3>, <template-parameter-1-4> >::leafView() const
[with int dim = 3; int dimworld = 3; ct = double; GridFamily =
Dune::ALU3dGridFamily<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm>; typename
GridFamily::Traits::Partition<All_Partition>::LeafGridView =
Dune::GridView<Dune::ALU3dLeafGridViewTraits<const
Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm>,
(Dune::PartitionIteratorType)4u> >]’ is deprecated (declared at
/home/gcd3/dune/core/dune-grid-2.3.1/dune/grid/common/grid.hh:1055): "The
method leafView has been renamed to leafGridView."
[-Wdeprecated-declarations]
/home/gcd3/dune/core/dune-grid-2.3.1/dune/grid/common/sizecache.hh: In
instantiation of ‘void Dune::SizeCache<GridImp>::countLeafEntities() const
[with Dune::PartitionIteratorType pitype = (Dune::PartitionIteratorType)4u;
int codim = 2; GridImp = Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm>]’:
/home/gcd3/dune/core/dune-grid-2.3.1/dune/grid/common/sizecache.hh:100:11:
required from ‘static void
Dune::SizeCache<GridImp>::CountLeafEntitiesBase<codim,
gridHasCodim>::apply(const SzCacheType&, int) [with SzCacheType =
Dune::SizeCache<Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm> >; int codim = 2; bool gridHasCodim = true; GridImp =
Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm>]’
/home/gcd3/dune/core/dune-common-2.3.1/dune/common/forloop.hh:58:26:
recursively required from ‘static void Dune::ForLoopHelper::Apply<A,
B>::apply(T1&, T2&) [with T1 = const
Dune::SizeCache<Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm> >; T2 = int; A =
Dune::SizeCache<Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm> >::CountLeafEntities<1>; B =
Dune::GenericForLoop<Dune::ForLoopHelper::Apply,
Dune::SizeCache<Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm> >::CountLeafEntities, 2, 3>]’
/home/gcd3/dune/core/dune-common-2.3.1/dune/common/forloop.hh:58:26:
required from ‘static void Dune::ForLoopHelper::Apply<A, B>::apply(T1&,
T2&) [with T1 = const
Dune::SizeCache<Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm> >; T2 = int; A =
Dune::SizeCache<Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm> >::CountLeafEntities<0>; B =
Dune::GenericForLoop<Dune::ForLoopHelper::Apply,
Dune::SizeCache<Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm> >::CountLeafEntities, 1, 3>]’
/home/gcd3/dune/core/dune-grid-2.3.1/dune/grid/common/sizecache.hh:207:69:
required from ‘int Dune::SizeCache<GridImp>::size(int) const [with GridImp
= Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm>]’
../../dune/alugrid/3d/grid_imp.cc:270:34: required from ‘int
Dune::ALU3dGrid<<anonymous>, <template-parameter-1-2> >::size(int) const
[with Dune::ALU3dGridElementType elType = (Dune::ALU3dGridElementType)7u;
Comm = Dune::ALUGridMPIComm]’
loadbalance_zoltan.hh:87:32: required from ‘bool
ZoltanLoadBalanceHandle<Grid>::repartition() [with Grid = Dune::ALUGrid<3,
3, (Dune::ALUGridElementType)1u, (Dune::ALUGridRefinementType)1u>]’
main.cc:123:23: required from here
/home/gcd3/dune/core/dune-grid-2.3.1/dune/grid/common/sizecache.hh:242:42:
warning: ‘typename
GridFamily::Traits::Partition<All_Partition>::LeafGridView
Dune::GridDefaultImplementation<<anonymous>, <anonymous>,
<template-parameter-1-3>, <template-parameter-1-4> >::leafView() const
[with int dim = 3; int dimworld = 3; ct = double; GridFamily =
Dune::ALU3dGridFamily<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm>; typename
GridFamily::Traits::Partition<All_Partition>::LeafGridView =
Dune::GridView<Dune::ALU3dLeafGridViewTraits<const
Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm>,
(Dune::PartitionIteratorType)4u> >]’ is deprecated (declared at
/home/gcd3/dune/core/dune-grid-2.3.1/dune/grid/common/grid.hh:1055): "The
method leafView has been renamed to leafGridView."
[-Wdeprecated-declarations]
/home/gcd3/dune/core/dune-grid-2.3.1/dune/grid/common/sizecache.hh: In
instantiation of ‘void Dune::SizeCache<GridImp>::countLeafEntities() const
[with Dune::PartitionIteratorType pitype = (Dune::PartitionIteratorType)4u;
int codim = 3; GridImp = Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm>]’:
/home/gcd3/dune/core/dune-common-2.3.1/dune/common/forloop.hh:58:26:
recursively required from ‘static void Dune::ForLoopHelper::Apply<A,
B>::apply(T1&, T2&) [with T1 = const
Dune::SizeCache<Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm> >; T2 = int; A =
Dune::SizeCache<Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm> >::CountLeafEntities<1>; B =
Dune::GenericForLoop<Dune::ForLoopHelper::Apply,
Dune::SizeCache<Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm> >::CountLeafEntities, 2, 3>]’
/home/gcd3/dune/core/dune-common-2.3.1/dune/common/forloop.hh:58:26:
required from ‘static void Dune::ForLoopHelper::Apply<A, B>::apply(T1&,
T2&) [with T1 = const
Dune::SizeCache<Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm> >; T2 = int; A =
Dune::SizeCache<Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm> >::CountLeafEntities<0>; B =
Dune::GenericForLoop<Dune::ForLoopHelper::Apply,
Dune::SizeCache<Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm> >::CountLeafEntities, 1, 3>]’
/home/gcd3/dune/core/dune-grid-2.3.1/dune/grid/common/sizecache.hh:207:69:
required from ‘int Dune::SizeCache<GridImp>::size(int) const [with GridImp
= Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm>]’
../../dune/alugrid/3d/grid_imp.cc:270:34: required from ‘int
Dune::ALU3dGrid<<anonymous>, <template-parameter-1-2> >::size(int) const
[with Dune::ALU3dGridElementType elType = (Dune::ALU3dGridElementType)7u;
Comm = Dune::ALUGridMPIComm]’
loadbalance_zoltan.hh:87:32: required from ‘bool
ZoltanLoadBalanceHandle<Grid>::repartition() [with Grid = Dune::ALUGrid<3,
3, (Dune::ALUGridElementType)1u, (Dune::ALUGridRefinementType)1u>]’
main.cc:123:23: required from here
/home/gcd3/dune/core/dune-grid-2.3.1/dune/grid/common/sizecache.hh:242:42:
warning: ‘typename
GridFamily::Traits::Partition<All_Partition>::LeafGridView
Dune::GridDefaultImplementation<<anonymous>, <anonymous>,
<template-parameter-1-3>, <template-parameter-1-4> >::leafView() const
[with int dim = 3; int dimworld = 3; ct = double; GridFamily =
Dune::ALU3dGridFamily<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm>; typename
GridFamily::Traits::Partition<All_Partition>::LeafGridView =
Dune::GridView<Dune::ALU3dLeafGridViewTraits<const
Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm>,
(Dune::PartitionIteratorType)4u> >]’ is deprecated (declared at
/home/gcd3/dune/core/dune-grid-2.3.1/dune/grid/common/grid.hh:1055): "The
method leafView has been renamed to leafGridView."
[-Wdeprecated-declarations]
In file included from
../../dune/alugrid/common/intersectioniteratorwrapper.hh:7:0,
from ../../dune/alugrid/3d/iterator.hh:8,
from ../../dune/alugrid/3d/alugrid.hh:7,
from ../../dune/alugrid/grid.hh:16,
from ../../config.h:514,
from main.cc:4:
../../dune/alugrid/common/macrogridview.hh: In member function
‘Dune::MacroGridView<GridImp, pitype>::IntersectionIterator
Dune::MacroGridView<GridImp, pitype>::iend(const typename
Dune::MacroGridView<GridImp, pitype>::Codim<0>::Entity&) const [with
GridImp = const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm>; Dune::PartitionIteratorType pitype =
(Dune::PartitionIteratorType)4u; Dune::MacroGridView<GridImp,
pitype>::IntersectionIterator = Dune::IntersectionIterator<const
Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm>,
Dune::LevelIntersectionIteratorWrapper<const
Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm> >,
Dune::LevelIntersectionWrapper<const
Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm> > >;
typename Dune::MacroGridView<GridImp, pitype>::Codim<0>::Entity =
Dune::Entity<0, 3, const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm>, Dune::ALU3dGridEntity>]’:
../../dune/alugrid/common/macrogridview.hh:168:5: warning: control reaches
end of non-void function [-Wreturn-type]
}
^
../../dune/alugrid/common/macrogridview.hh: In member function
‘Dune::MacroGridView<GridImp, pitype>::IntersectionIterator
Dune::MacroGridView<GridImp, pitype>::ibegin(const typename
Dune::MacroGridView<GridImp, pitype>::Codim<0>::Entity&) const [with
GridImp = const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm>; Dune::PartitionIteratorType pitype =
(Dune::PartitionIteratorType)4u; Dune::MacroGridView<GridImp,
pitype>::IntersectionIterator = Dune::IntersectionIterator<const
Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm>,
Dune::LevelIntersectionIteratorWrapper<const
Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm> >,
Dune::LevelIntersectionWrapper<const
Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm> > >;
typename Dune::MacroGridView<GridImp, pitype>::Codim<0>::Entity =
Dune::Entity<0, 3, const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u,
Dune::ALUGridMPIComm>, Dune::ALU3dGridEntity>]’:
../../dune/alugrid/common/macrogridview.hh:161:5: warning: control reaches
end of non-void function [-Wreturn-type]
}
^
make: *** [main_zoltan-main.o] Error 1
Thank you
Ganesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20150805/4355097c/attachment.htm>
More information about the Dune
mailing list