[dune-pdelab] [Dune] Problems with building pdelab-howto

Jared Okiro jared.okiro at st.ovgu.de
Wed Nov 21 14:13:04 CET 2012


On 11/21/2012 01:02 PM, Christian Engwer wrote:
> This is fixed in the current development branch.
>
> You can easily fix this for your code by replacing globalIndex(...) by
> this->globalIndex(...)
>
> Cheers
> Christian
>
>
> On Wed, Nov 21, 2012 at 01:48:31PM +0100, Jared Okiro wrote:
>> Dear dune-list,
>>
>> I recently upgraded my openSUSE OS to 12.2, then updated DUNE. I am
>> using dune-svn version 2.2.
>> I am now unable to build pdelab-howto. Also, I can't compile my
>> codes which were compiling earlier before the update. My compiler
>> version is g++ -4.7.1 . My configure flags for the Dune Opts file
>> are as follows:
>>
>> CONFIGURE_FLAGS="CXX=g++ F77=gfortran CXXFLAGS=\"-g\"
>> --disable-documentation --without-gmp
>> --enable-fieldvector-size-is-method --enable-parallel
>> --with-grid-dim=2
>> --with-grid-type=YASPGRID \--with-superlu='$EXTMODDIR/SuperLU_4.1'
>> --with-superlu-lib='libsuperlu_4.1.a'
>> --with-ug='$EXTMODDIR/UG/ug'
>> "
>> The error message I get (attached also as a txt file) is as follows:
>>
>> Making all in course-examples
>> make[3]: Entering directory
>> `/home/jared/DUNE/dune-svn/dune-pdelab-howto/src/course-examples'
>> g++ -std=c++0x -DHAVE_CONFIG_H -I. -I../..
>> -I/home/jared/DUNE/dune-svn/dune-common
>> -I/home/jared/DUNE/dune-svn/dune-geometry
>> -I/home/jared/DUNE/dune-svn/dune-grid
>> -I/home/jared/DUNE/dune-svn/dune-istl
>> -I/home/jared/DUNE/dune-svn/dune-localfunctions
>> -I/home/jared/DUNE/dune-svn/dune-pdelab
>> -I/home/jared/DUNE/dune-externs/SuperLU_4.1/SRC -DENABLE_SUPERLU
>> -I/home/jared/DUNE/dune-svn/dune-common
>> -I/home/jared/DUNE/dune-svn/dune-geometry
>> -I/home/jared/DUNE/dune-svn/dune-grid
>> -I/home/jared/DUNE/dune-svn/dune-istl
>> -I/home/jared/DUNE/dune-svn/dune-localfunctions
>> -I/home/jared/DUNE/dune-svn/dune-pdelab
>> -I/home/jared/DUNE/dune-externs/SuperLU_4.1/SRC -DENABLE_SUPERLU
>> -I/usr/lib64/mpi/gcc/openmpi/include
>> -I/usr/lib64/mpi/gcc/openmpi/include/openmpi -pthread -DMPIPP_H
>> -DENABLE_MPI=1 -I/home/jared/DUNE/dune-externs/UG/ug/include/ug
>> -DENABLE_UG -g -MT example02-example02.o -MD -MP -MF
>> .deps/example02-example02.Tpo -c -o example02-example02.o `test -f
>> 'example02.cc' || echo './'`example02.cc
>> In file included from /home/jared/DUNE/dune-svn/dune-pdelab/dune/pdelab/gridfunctionspace/gridfunctionspaceutilities.hh:19:0,
>> from /home/jared/DUNE/dune-svn/dune-pdelab/dune/pdelab/gridfunctionspace/gridfunctionspace.hh:30,
>> from /home/jared/DUNE/dune-svn/dune-pdelab/dune/pdelab/finiteelementmap/conformingconstraints.hh:21,
>> from example02.cc:53:
>> /home/jared/DUNE/dune-svn/dune-pdelab/dune/pdelab/gridfunctionspace/localfunctionspace.hh:
>> In instantiation of ‘void
>> Dune::PDELab::LeafLocalFunctionSpaceNode<GFS,
>> MultiIndex>::mwrite(const LC&, GC&) const [with GC =
>> Dune::PDELab::ConstraintsTransformation<long unsigned int, double>;
>> LC = Dune::PDELab::ConstraintsTransformation<long unsigned int,
>> double>; GFS = Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
>> Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u>  >,
>> Dune::PDELab::Q1LocalFiniteElementMap<double, double, 2>,
>> Dune::PDELab::ConformingDirichletConstraints,
>> Dune::PDELab::ISTLVectorBackend<1>,
>> Dune::PDELab::GridFunctionGeneralMapper>; MultiIndex =
>> Dune::PDELab::MultiIndex<long unsigned int, 1ul>]’:
>> /home/jared/DUNE/dune-svn/dune-pdelab/dune/pdelab/constraints/constraints.hh:293:11:
>> required from ‘void Dune::PDELab::{anonymous}::VolumeConstraints<EG,
>> CG>::leaf(const LFS&, TreePath) const [with LFS = Dune::PDELab::LocalFunctionSpace<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
>> Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u>  >,
>> Dune::PDELab::Q1LocalFiniteElementMap<double, double, 2>,
>> Dune::PDELab::ConformingDirichletConstraints,
>> Dune::PDELab::ISTLVectorBackend<1>,
>> Dune::PDELab::GridFunctionGeneralMapper>,
>> Dune::PDELab::AnySpaceTag>; TreePath =
>> Dune::PDELab::TypeTree::DynamicTreePath; EG =
>> Dune::PDELab::ElementGeometry<Dune::Entity<0, 2, const
>> Dune::YaspGrid<2>, Dune::YaspEntity>  >; CG =
>> Dune::PDELab::ConstraintsTransformation<long unsigned int, double>]’
>> /home/jared/DUNE/dune-svn/dune-pdelab/dune/pdelab/common/typetree/traversal.hh:109:11:
>> required from ‘static void
>> Dune::PDELab::TypeTree::ApplyToTree<tpType,
>> Dune::PDELab::TypeTree::LeafNodeTag, true>::apply(N&&, V&&,
>> TreePath) [with N = Dune::PDELab::LocalFunctionSpace<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
>> Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u>  >,
>> Dune::PDELab::Q1LocalFiniteElementMap<double, double, 2>,
>> Dune::PDELab::ConformingDirichletConstraints,
>> Dune::PDELab::ISTLVectorBackend<1>,
>> Dune::PDELab::GridFunctionGeneralMapper>,
>> Dune::PDELab::AnySpaceTag>&; V = Dune::PDELab::{anonymous}::VolumeConstraints<Dune::PDELab::ElementGeometry<Dune::Entity<0,
>> 2, const Dune::YaspGrid<2>, Dune::YaspEntity>  >,
>> Dune::PDELab::ConstraintsTransformation<long unsigned int, double>
>>> ; TreePath = Dune::PDELab::TypeTree::MutableDynamicTreePath;
>> Dune::PDELab::TypeTree::TreePathType::Type tpType =
>> (Dune::PDELab::TypeTree::TreePathType::Type)2u]’
>> /home/jared/DUNE/dune-svn/dune-pdelab/dune/pdelab/common/typetree/traversal.hh:44:11:
>> required from ‘static void
>> Dune::PDELab::TypeTree::ApplyToTree<tpType,
>> Dune::PDELab::TypeTree::StartTag, doApply>::apply(Node&&, Visitor&&)
>> [with Node = Dune::PDELab::LocalFunctionSpace<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
>> Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u>  >,
>> Dune::PDELab::Q1LocalFiniteElementMap<double, double, 2>,
>> Dune::PDELab::ConformingDirichletConstraints,
>> Dune::PDELab::ISTLVectorBackend<1>,
>> Dune::PDELab::GridFunctionGeneralMapper>,
>> Dune::PDELab::AnySpaceTag>&; Visitor = Dune::PDELab::{anonymous}::VolumeConstraints<Dune::PDELab::ElementGeometry<Dune::Entity<0,
>> 2, const Dune::YaspGrid<2>, Dune::YaspEntity>  >,
>> Dune::PDELab::ConstraintsTransformation<long unsigned int, double>
>>> ; Dune::PDELab::TypeTree::TreePathType::Type tpType =
>> (Dune::PDELab::TypeTree::TreePathType::Type)2u; bool doApply =
>> true]’
>> /home/jared/DUNE/dune-svn/dune-pdelab/dune/pdelab/common/typetree/traversal.hh:345:9:
>> required from ‘void Dune::PDELab::TypeTree::applyToTree(Tree&&,
>> Visitor&&) [with Tree = Dune::PDELab::LocalFunctionSpace<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
>> Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u>  >,
>> Dune::PDELab::Q1LocalFiniteElementMap<double, double, 2>,
>> Dune::PDELab::ConformingDirichletConstraints,
>> Dune::PDELab::ISTLVectorBackend<1>,
>> Dune::PDELab::GridFunctionGeneralMapper>,
>> Dune::PDELab::AnySpaceTag>&; Visitor = Dune::PDELab::{anonymous}::VolumeConstraints<Dune::PDELab::ElementGeometry<Dune::Entity<0,
>> 2, const Dune::YaspGrid<2>, Dune::YaspEntity>  >,
>> Dune::PDELab::ConstraintsTransformation<long unsigned int, double>
>>> ]’
>> /home/jared/DUNE/dune-svn/dune-pdelab/dune/pdelab/constraints/constraints.hh:621:11:
>> required from ‘static void
>> Dune::PDELab::ConstraintsAssemblerHelper<P, GFS, CG,
>> isFunction>::assemble(const P&, const GFS&, CG&, bool) [with P =
>> BCTypeParam; GFS = Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
>> Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u>  >,
>> Dune::PDELab::Q1LocalFiniteElementMap<double, double, 2>,
>> Dune::PDELab::ConformingDirichletConstraints,
>> Dune::PDELab::ISTLVectorBackend<1>,
>> Dune::PDELab::GridFunctionGeneralMapper>; CG =
>> Dune::PDELab::ConstraintsTransformation<long unsigned int, double>;
>> bool isFunction = false]’
>> /home/jared/DUNE/dune-svn/dune-pdelab/dune/pdelab/constraints/constraints.hh:737:7:
>> required from ‘void Dune::PDELab::constraints(const P&, const GFS&,
>> CG&, bool) [with P = BCTypeParam; GFS = Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
>> Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u>  >,
>> Dune::PDELab::Q1LocalFiniteElementMap<double, double, 2>,
>> Dune::PDELab::ConformingDirichletConstraints,
>> Dune::PDELab::ISTLVectorBackend<1>,
>> Dune::PDELab::GridFunctionGeneralMapper>; CG =
>> Dune::PDELab::ConstraintsTransformation<long unsigned int, double>]’
>> example02_Q1.hh:19:3: required from ‘void example02_Q1(const GV&)
>> [with GV = Dune::GridView<Dune::DefaultLeafGridViewTraits<const
>> Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u>  >]’
>> example02.cc:109:22: required from here
>> /home/jared/DUNE/dune-svn/dune-pdelab/dune/pdelab/gridfunctionspace/localfunctionspace.hh:716:65:
>> error: ‘globalIndex’ was not declared in this scope, and no
>> declarations were found by argument-dependent lookup at the point of
>> instantiation [-fpermissive]
>> /home/jared/DUNE/dune-svn/dune-pdelab/dune/pdelab/gridfunctionspace/localfunctionspace.hh:716:65:
>> note: declarations in dependent base ‘Dune::PDELab::LocalFunctionSpaceBaseNode<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
>> Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u>  >,
>> Dune::PDELab::Q1LocalFiniteElementMap<double, double, 2>,
>> Dune::PDELab::ConformingDirichletConstraints,
>> Dune::PDELab::ISTLVectorBackend<1>,
>> Dune::PDELab::GridFunctionGeneralMapper>,
>> Dune::PDELab::MultiIndex<long unsigned int, 1ul>  >’ are not found by
>> unqualified lookup
>> /home/jared/DUNE/dune-svn/dune-pdelab/dune/pdelab/gridfunctionspace/localfunctionspace.hh:716:65:
>> note: use ‘this->globalIndex’ instead
>> /home/jared/DUNE/dune-svn/dune-pdelab/dune/pdelab/gridfunctionspace/localfunctionspace.hh:724:15:
>> error: ‘globalIndex’ was not declared in this scope, and no
>> declarations were found by argument-dependent lookup at the point of
>> instantiation [-fpermissive]
>> /home/jared/DUNE/dune-svn/dune-pdelab/dune/pdelab/gridfunctionspace/localfunctionspace.hh:724:15:
>> note: declarations in dependent base ‘Dune::PDELab::LocalFunctionSpaceBaseNode<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
>> Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u>  >,
>> Dune::PDELab::Q1LocalFiniteElementMap<double, double, 2>,
>> Dune::PDELab::ConformingDirichletConstraints,
>> Dune::PDELab::ISTLVectorBackend<1>,
>> Dune::PDELab::GridFunctionGeneralMapper>,
>> Dune::PDELab::MultiIndex<long unsigned int, 1ul>  >’ are not found by
>> unqualified lookup
>> /home/jared/DUNE/dune-svn/dune-pdelab/dune/pdelab/gridfunctionspace/localfunctionspace.hh:724:15:
>> note: use ‘this->globalIndex’ instead
>> make[3]: *** [example02-example02.o] Error 1
>> make[3]: Leaving directory
>> `/home/jared/DUNE/dune-svn/dune-pdelab-howto/src/course-examples'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory `/home/jared/DUNE/dune-svn/dune-pdelab-howto/src'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/home/jared/DUNE/dune-svn/dune-pdelab-howto'
>> make: *** [all] Error 2
>> --- Failed to build dune-pdelab-howto ---
>> Terminating dunecontrol due to previous errors!
>>
>> I will appreciate some tip!.
>> Thank you.
>>
>> configure.ac:15: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and will soon be removed.
>> configure.ac:15: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead,
>> configure.ac:15: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.
>> am/documentation:12: warning: doc-local was already defined in condition DUNEWEB, which is included in condition TRUE ...
>> Makefile.am:16:   'am/global-rules' included from here
>> am/global-rules:19:   'am/documentation' included from here
>> am/top-rules:30: ... 'doc-local' previously defined here
>> Makefile.am:15:   'am/top-rules' included from here
>> am/documentation:18: warning: doc-clean was already defined in condition DUNEWEB, which is included in condition TRUE ...
>> Makefile.am:16:   'am/global-rules' included from here
>> am/global-rules:19:   'am/documentation' included from here
>> am/top-rules:31: ... 'doc-clean' previously defined here
>> Makefile.am:15:   'am/top-rules' included from here
>> am/top-rules:22: warning: user target 'distclean-libtool' defined here ...
>> Makefile.am:15:   'am/top-rules' included from here
>> /usr/share/automake-1.12/am/libtool.am: ... overrides Automake target 'distclean-libtool' defined here
>> configure: WARNING: unrecognized options: --with-grid-dim, --with-grid-type
>> configure: WARNING: Disabled test whether running with OpenMPI works.
>> configure: WARNING: alberta/alberta.h not found in -I/include -I/include/alberta
>> configure: WARNING: AmiraMesh.h not found in /usr/local/amiramesh/include/amiramesh
>> configure: WARNING: alugrid_serial.h not found in /include
>> configure: WARNING: superlu_ddefs.h not found in /usr/local/SRC with  -I/usr/local/SRC -I/usr/lib64/mpi/gcc/openmpi/include -I/usr/lib64/mpi/gcc/openmpi/include/openmpi -pthread -DMPIPP_H -DENABLE_MPI=1
>> configure: WARNING: unrecognized options: --with-grid-dim, --with-grid-type
>> In file included from /home/jared/DUNE/dune-svn/dune-pdelab/dune/pdelab/gridfunctionspace/gridfunctionspaceutilities.hh:19:0,
>>                   from /home/jared/DUNE/dune-svn/dune-pdelab/dune/pdelab/gridfunctionspace/gridfunctionspace.hh:30,
>>                   from /home/jared/DUNE/dune-svn/dune-pdelab/dune/pdelab/finiteelementmap/conformingconstraints.hh:21,
>>                   from example02.cc:53:
>> /home/jared/DUNE/dune-svn/dune-pdelab/dune/pdelab/gridfunctionspace/localfunctionspace.hh: In instantiation of ‘void Dune::PDELab::LeafLocalFunctionSpaceNode<GFS, MultiIndex>::mwrite(const LC&, GC&) const [with GC = Dune::PDELab::ConstraintsTransformation<long unsigned int, double>; LC = Dune::PDELab::ConstraintsTransformation<long unsigned int, double>; GFS = Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u>  >, Dune::PDELab::Q1LocalFiniteElementMap<double, double, 2>, Dune::PDELab::ConformingDirichletConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>; MultiIndex = Dune::PDELab::MultiIndex<long unsigned int, 1ul>]’:
>> /home/jared/DUNE/dune-svn/dune-pdelab/dune/pdelab/constraints/constraints.hh:293:11:   required from ‘void Dune::PDELab::{anonymous}::VolumeConstraints<EG, CG>::leaf(const LFS&, TreePath) const [with LFS = Dune::PDELab::LocalFunctionSpace<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u>  >, Dune::PDELab::Q1LocalFiniteElementMap<double, double, 2>, Dune::PDELab::ConformingDirichletConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, Dune::PDELab::AnySpaceTag>; TreePath = Dune::PDELab::TypeTree::DynamicTreePath; EG = Dune::PDELab::ElementGeometry<Dune::Entity<0, 2, const Dune::YaspGrid<2>, Dune::YaspEntity>  >; CG = Dune::PDELab::ConstraintsTransformation<long unsigned int, double>]’
>> /home/jared/DUNE/dune-svn/dune-pdelab/dune/pdelab/common/typetree/traversal.hh:109:11:   required from ‘static void Dune::PDELab::TypeTree::ApplyToTree<tpType, Dune::PDELab::TypeTree::LeafNodeTag, true>::apply(N&&, V&&, TreePath) [with N = Dune::PDELab::LocalFunctionSpace<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u>  >, Dune::PDELab::Q1LocalFiniteElementMap<double, double, 2>, Dune::PDELab::ConformingDirichletConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, Dune::PDELab::AnySpaceTag>&; V = Dune::PDELab::{anonymous}::VolumeConstraints<Dune::PDELab::ElementGeometry<Dune::Entity<0, 2, const Dune::YaspGrid<2>, Dune::YaspEntity>  >, Dune::PDELab::ConstraintsTransformation<long unsigned int, double>  >; TreePath = Dune::PDELab::TypeTree::MutableDynamicTreePath; Dune::PDELab::TypeTree::TreePathType::Type tpType = (Dune::PDELab::TypeTree::TreePathType::Type)2u]’
>> /home/jared/DUNE/dune-svn/dune-pdelab/dune/pdelab/common/typetree/traversal.hh:44:11:   required from ‘static void Dune::PDELab::TypeTree::ApplyToTree<tpType, Dune::PDELab::TypeTree::StartTag, doApply>::apply(Node&&, Visitor&&) [with Node = Dune::PDELab::LocalFunctionSpace<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u>  >, Dune::PDELab::Q1LocalFiniteElementMap<double, double, 2>, Dune::PDELab::ConformingDirichletConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, Dune::PDELab::AnySpaceTag>&; Visitor = Dune::PDELab::{anonymous}::VolumeConstraints<Dune::PDELab::ElementGeometry<Dune::Entity<0, 2, const Dune::YaspGrid<2>, Dune::YaspEntity>  >, Dune::PDELab::ConstraintsTransformation<long unsigned int, double>  >; Dune::PDELab::TypeTree::TreePathType::Type tpType = (Dune::PDELab::TypeTree::TreePathType::Type)2u; bool doApply = true]’
>> /home/jared/DUNE/dune-svn/dune-pdelab/dune/pdelab/common/typetree/traversal.hh:345:9:   required from ‘void Dune::PDELab::TypeTree::applyToTree(Tree&&, Visitor&&) [with Tree = Dune::PDELab::LocalFunctionSpace<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u>  >, Dune::PDELab::Q1LocalFiniteElementMap<double, double, 2>, Dune::PDELab::ConformingDirichletConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, Dune::PDELab::AnySpaceTag>&; Visitor = Dune::PDELab::{anonymous}::VolumeConstraints<Dune::PDELab::ElementGeometry<Dune::Entity<0, 2, const Dune::YaspGrid<2>, Dune::YaspEntity>  >, Dune::PDELab::ConstraintsTransformation<long unsigned int, double>  >]’
>> /home/jared/DUNE/dune-svn/dune-pdelab/dune/pdelab/constraints/constraints.hh:621:11:   required from ‘static void Dune::PDELab::ConstraintsAssemblerHelper<P, GFS, CG, isFunction>::assemble(const P&, const GFS&, CG&, bool) [with P = BCTypeParam; GFS = Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u>  >, Dune::PDELab::Q1LocalFiniteElementMap<double, double, 2>, Dune::PDELab::ConformingDirichletConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>; CG = Dune::PDELab::ConstraintsTransformation<long unsigned int, double>; bool isFunction = false]’
>> /home/jared/DUNE/dune-svn/dune-pdelab/dune/pdelab/constraints/constraints.hh:737:7:   required from ‘void Dune::PDELab::constraints(const P&, const GFS&, CG&, bool) [with P = BCTypeParam; GFS = Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u>  >, Dune::PDELab::Q1LocalFiniteElementMap<double, double, 2>, Dune::PDELab::ConformingDirichletConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>; CG = Dune::PDELab::ConstraintsTransformation<long unsigned int, double>]’
>> example02_Q1.hh:19:3:   required from ‘void example02_Q1(const GV&) [with GV = Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u>  >]’
>> example02.cc:109:22:   required from here
>> /home/jared/DUNE/dune-svn/dune-pdelab/dune/pdelab/gridfunctionspace/localfunctionspace.hh:716:65: error: ‘globalIndex’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
>> /home/jared/DUNE/dune-svn/dune-pdelab/dune/pdelab/gridfunctionspace/localfunctionspace.hh:716:65: note: declarations in dependent base ‘Dune::PDELab::LocalFunctionSpaceBaseNode<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u>  >, Dune::PDELab::Q1LocalFiniteElementMap<double, double, 2>, Dune::PDELab::ConformingDirichletConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, Dune::PDELab::MultiIndex<long unsigned int, 1ul>  >’ are not found by unqualified lookup
>> /home/jared/DUNE/dune-svn/dune-pdelab/dune/pdelab/gridfunctionspace/localfunctionspace.hh:716:65: note: use ‘this->globalIndex’ instead
>> /home/jared/DUNE/dune-svn/dune-pdelab/dune/pdelab/gridfunctionspace/localfunctionspace.hh:724:15: error: ‘globalIndex’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
>> /home/jared/DUNE/dune-svn/dune-pdelab/dune/pdelab/gridfunctionspace/localfunctionspace.hh:724:15: note: declarations in dependent base ‘Dune::PDELab::LocalFunctionSpaceBaseNode<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u>  >, Dune::PDELab::Q1LocalFiniteElementMap<double, double, 2>, Dune::PDELab::ConformingDirichletConstraints, Dune::PDELab::ISTLVectorBackend<1>, Dune::PDELab::GridFunctionGeneralMapper>, Dune::PDELab::MultiIndex<long unsigned int, 1ul>  >’ are not found by unqualified lookup
>> /home/jared/DUNE/dune-svn/dune-pdelab/dune/pdelab/gridfunctionspace/localfunctionspace.hh:724:15: note: use ‘this->globalIndex’ instead
>> make[3]: *** [example02-example02.o] Error 1
>> make[2]: *** [all-recursive] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>> Terminating dunecontrol due to previous errors!
>> _______________________________________________
>> Dune mailing list
>> Dune at dune-project.org
>> http://lists.dune-project.org/mailman/listinfo/dune
>
Hi Christian,

Thanks, it works.

Kind regards,
Jared

-- 
Jared Ouma Okiro,
Institute for Analysis and Numerics,
Otto-von- Guericke Universität,
Universitätsplatz 02, Gebaude 02 / 115
39106 Magdeburg, Germany
Office Tel: +493916712660
Fax:        +493916718073
Mobile:     +4917657479787
Home Tel:   +4939155917376






More information about the dune-pdelab mailing list