Skip to content

#971 Dune-Grid fails to compile in persistentcontainer.

Metadata

Property Value
Reported by Jö Fahlke (jorrit@jorrit.de)
Reported at Nov 6, 2011 13:42
Type Bug Report
Version Git (pre2.4) [autotools]
Operating System Unspecified / All
Last edited by Christian Engwer (christi@conan.iwr.uni-heidelberg.de)
Last edited at Nov 6, 2011 16:57
Closed by Christian Engwer (christi@conan.iwr.uni-heidelberg.de)
Closed at Nov 6, 2011 16:57
Closed in version Unknown
Resolution Fixed
Comment

Description

Hi!

Dune-grid fails to compile dune/grid/alugrid/2d/intersection.cc in dune/grid/utility/persistentcontainer.hh. The error looks like this:

====================================================================== libtool: compile: g++ -std=c++0x -DHAVE_CONFIG_H -I. -I../../../.. -I/home/joe/src/dune-noopt/dune-common -I../../../.. -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -pthread -DMPIPP_H -DENABLE_MPI=1 -I/home/joe/src/dune-noopt/ALUGrid-inst/include -I/home/joe/src/dune-noopt/ALUGrid-inst/include/serial -I/home/joe/src/dune-noopt/ALUGrid-inst/include/duneinterface -DENABLE_ALUGRID -I/home/joe/src/dune-noopt/ALUGrid-inst/include/parallel -UNDEBUG -ggdb3 -O0 -Wall -Wno-missing-braces -MT libalu2d_la-intersection.lo -MD -MP -MF .deps/libalu2d_la-intersection.Tpo -c intersection.cc -fPIC -DPIC -o .libs/libalu2d_la-intersection.o In file included from ../../../../dune/grid/common/grid.hh:12, from ../../../../dune/grid/alugrid/2d/geometry.hh:6, from intersection.cc:8: /home/joe/src/dune-noopt/dune-common/dune/common/fvector.hh:19:2: warning: #warning The FieldVector class exports is size by the enum member 'size'. This behavior is deprecated. In the future, 'size' will be a method, which puts it in compliance with the stl conventions. To enable the new behavior (and get rid of this warning), build your Dune with --enable-fieldvector-size-is-method. If you do need the vector size as an enum, use 'dimension'. In file included from ../../../../dune/grid/alugrid/common/defaultindexsets.hh:14, from ../../../../dune/grid/alugrid/2d/grid.hh:18, from ../../../../dune/grid/alugrid/2d/iterator_imp.cc:4, from ../../../../dune/grid/alugrid/2d/iterator.hh:471, from ../../../../dune/grid/alugrid/2d/entity.hh:13, from ../../../../dune/grid/alugrid/2d/intersection.hh:14, from intersection.cc:10: ../../../../dune/grid/utility/persistentcontainer.hh:429: error: template argument 4 is invalid ../../../../dune/grid/utility/persistentcontainer.hh:429: error: template argument 3 is invalid ../../../../dune/grid/utility/persistentcontainer.hh:429: error: expected ‘{’ before ‘>’ token ../../../../dune/grid/utility/persistentcontainer.hh:429: error: expected unqualified-id before ‘>’ token make[5]: *** [libalu2d_la-intersection.lo] Fehler 1

The complete log is attached.

The used version were: dune-grid/trunk@7729 dune-common/trunk@6523 g++ (Debian 4.4.5-8) 4.4.5 ALUGrid-1.23

The opts file has these setting in effect: CONFIGURE_FLAGS="--enable-parallel CXXFLAGS='-ggdb3 -O0 -Wall -Wno-missing-braces' CPPFLAGS=-UNDEBUG --enable-documentation= --with-alberta=/usr --with-alugrid=/home/joe/src/dune-noopt/ALUGrid-inst --with-ug=/home/joe/src/dune-noopt/UGinst --enable-shared=yes --without-metis --with-parmetis=/usr --enable-extra-utils --with-superlu-dist=/home/joe/src/dune-noopt/superlu_dist --with-superlu-dist-lib=/home/joe/src/dune-noopt/SuperLU_DIST-inst/lib/libsuperlu_dist_2.5.a"

The full opts file is a little bit more complicated and is attached for reference.

Attachments