[Dune] [#971] Dune-Grid fails to compile in persistentcontainer. (Attachment added)

Dune flyspray at dune-project.org
Sun Nov 6 14:42:39 CET 2011


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Jö Fahlke (joe) 

Attached to Project - Dune
Summary - Dune-Grid fails to compile in persistentcontainer.
Task Type - Bug Report
Category - Grid
Status - New
Assigned To - 
Operating System - Unspecified / All
Severity - Low
Priority - Normal
Reported Version - SVN (pre2.2)
Due in Version - Undecided
Due Date - Undecided
Details - 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 at 7729
dune-common/trunk at 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.


One or more files have been attached.

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=971

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