[Dune] dune compilation error
Benedikt Oswald
benedikt.oswald at lspr.ch
Sun Oct 20 19:22:36 CEST 2013
Dear Dune,
when compiling Dune from the current trunk, I receive the following error, related to ALUGrid, cf. below:
I use: gcc 4.8.0
openmpi 1.6.4
metis 5.1.0
parmetis 4.0.3
on Mac OX 10.7.5
and the most up to date dune version of this evening.
I appreciate if you could have a look, thanks and greetings, Benedikt
=============================
Making all in alugrid
Making all in common
make[5]: Nothing to be done for `all'.
Making all in 2d
/bin/sh ../../../../libtool --tag=CXX --mode=compile mpicxx -DHAVE_CONFIG_H -I. -I../../../.. -I/Users/oswald/gitwork/hades/dune-common -I/Users/oswald/gitwork/hades/dune-common -I/Users/oswald/gitwork/hades/dune-geometry -
I/Users/oswald/gitwork/hades/dune-geometry -I../../../.. -I/Users/oswald/extlib/openmpi/1.6.4/gcc/4.8.0/include -DMPIPP_H -DENABLE_MPI=1 -I/Users/oswald/extlib/alugrid/1.96/openmpi/1.6.4/gcc/4.8.0/include -I/Users/oswald/extli
b/alugrid/1.96/openmpi/1.6.4/gcc/4.8.0/include/serial -I/Users/oswald/extlib/alugrid/1.96/openmpi/1.6.4/gcc/4.8.0/include/duneinterface -DENABLE_ALUGRID -I/Users/oswald/extlib/alugrid/1.96/openmpi/1.6.4/gcc/4.8.0/include/paral
lel -DMPICH_IGNORE_CXX_SEEK -O2 -g0 -DHAVE_SUPERLU_DIST -I/Users/oswald/extlib/superludist/3.3/openmpi/1.6.4/gcc/4.8.0/SRC -DMPICH_IGNORE_CXX_SEEK -O2 -g0 --no-strict-aliasing -MT libalu2d_la-intersection.lo -MD -MP -MF .de
ps/libalu2d_la-intersection.Tpo -c -o libalu2d_la-intersection.lo `test -f 'intersection.cc' || echo './'`intersection.cc
libtool: compile: mpicxx -DHAVE_CONFIG_H -I. -I../../../.. -I/Users/oswald/gitwork/hades/dune-common -I/Users/oswald/gitwork/hades/dune-common -I/Users/oswald/gitwork/hades/dune-geometry -I/Users/oswald/gitwork/hades/dune-geo
metry -I../../../.. -I/Users/oswald/extlib/openmpi/1.6.4/gcc/4.8.0/include -DMPIPP_H -DENABLE_MPI=1 -I/Users/oswald/extlib/alugrid/1.96/openmpi/1.6.4/gcc/4.8.0/include -I/Users/oswald/extlib/alugrid/1.96/openmpi/1.6.4/gcc/4.8.
0/include/serial -I/Users/oswald/extlib/alugrid/1.96/openmpi/1.6.4/gcc/4.8.0/include/duneinterface -DENABLE_ALUGRID -I/Users/oswald/extlib/alugrid/1.96/openmpi/1.6.4/gcc/4.8.0/include/parallel -DMPICH_IGNORE_CXX_SEEK -O2 -g0 -
DHAVE_SUPERLU_DIST -I/Users/oswald/extlib/superludist/3.3/openmpi/1.6.4/gcc/4.8.0/SRC -DMPICH_IGNORE_CXX_SEEK -O2 -g0 --no-strict-aliasing -MT libalu2d_la-intersection.lo -MD -MP -MF .deps/libalu2d_la-intersection.Tpo -c inter
section.cc -o libalu2d_la-intersection.o
In file included from /Users/oswald/gitwork/hades/dune-geometry/dune/geometry/genericgeometry/codimtable.hh:8:0,
from /Users/oswald/gitwork/hades/dune-geometry/dune/geometry/referenceelements.hh:16,
from ../../../../dune/grid/common/geometry.hh:15,
from ../../../../dune/grid/common/grid.hh:1306,
from ../../../../dune/grid/alugrid/2d/geometry.hh:7,
from intersection.cc:10:
/Users/oswald/gitwork/hades/dune-common/dune/common/tupleutility.hh:1600:17: warning: variadic templates only available with -std=c++11 or -std=gnu++11 [enabled by default]
template<class... TupleArgs, class T>
^
/Users/oswald/gitwork/hades/dune-common/dune/common/tupleutility.hh:1695:17: warning: variadic templates only available with -std=c++11 or -std=gnu++11 [enabled by default]
template<class... TupleArgs, class T>
^
mv -f .deps/libalu2d_la-intersection.Tpo .deps/libalu2d_la-intersection.Plo
/bin/sh ../../../../libtool --tag=CXX --mode=compile mpicxx -DHAVE_CONFIG_H -I. -I../../../.. -I/Users/oswald/gitwork/hades/dune-common -I/Users/oswald/gitwork/hades/dune-common -I/Users/oswald/gitwork/hades/dune-geometry -
I/Users/oswald/gitwork/hades/dune-geometry -I../../../.. -I/Users/oswald/extlib/openmpi/1.6.4/gcc/4.8.0/include -DMPIPP_H -DENABLE_MPI=1 -I/Users/oswald/extlib/alugrid/1.96/openmpi/1.6.4/gcc/4.8.0/include -I/Users/oswald/extli
b/alugrid/1.96/openmpi/1.6.4/gcc/4.8.0/include/serial -I/Users/oswald/extlib/alugrid/1.96/openmpi/1.6.4/gcc/4.8.0/include/duneinterface -DENABLE_ALUGRID -I/Users/oswald/extlib/alugrid/1.96/openmpi/1.6.4/gcc/4.8.0/include/paral
lel -DMPICH_IGNORE_CXX_SEEK -O2 -g0 -DHAVE_SUPERLU_DIST -I/Users/oswald/extlib/superludist/3.3/openmpi/1.6.4/gcc/4.8.0/SRC -DMPICH_IGNORE_CXX_SEEK -O2 -g0 --no-strict-aliasing -MT libalu2d_la-alu2dgridfactory.lo -MD -MP -MF
.deps/libalu2d_la-alu2dgridfactory.Tpo -c -o libalu2d_la-alu2dgridfactory.lo `test -f 'alu2dgridfactory.cc' || echo './'`alu2dgridfactory.cc
libtool: compile: mpicxx -DHAVE_CONFIG_H -I. -I../../../.. -I/Users/oswald/gitwork/hades/dune-common -I/Users/oswald/gitwork/hades/dune-common -I/Users/oswald/gitwork/hades/dune-geometry -I/Users/oswald/gitwork/hades/dune-geo
metry -I../../../.. -I/Users/oswald/extlib/openmpi/1.6.4/gcc/4.8.0/include -DMPIPP_H -DENABLE_MPI=1 -I/Users/oswald/extlib/alugrid/1.96/openmpi/1.6.4/gcc/4.8.0/include -I/Users/oswald/extlib/alugrid/1.96/openmpi/1.6.4/gcc/4.8.
0/include/serial -I/Users/oswald/extlib/alugrid/1.96/openmpi/1.6.4/gcc/4.8.0/include/duneinterface -DENABLE_ALUGRID -I/Users/oswald/extlib/alugrid/1.96/openmpi/1.6.4/gcc/4.8.0/include/parallel -DMPICH_IGNORE_CXX_SEEK -O2 -g0 -
DHAVE_SUPERLU_DIST -I/Users/oswald/extlib/superludist/3.3/openmpi/1.6.4/gcc/4.8.0/SRC -DMPICH_IGNORE_CXX_SEEK -O2 -g0 --no-strict-aliasing -MT libalu2d_la-alu2dgridfactory.lo -MD -MP -MF .deps/libalu2d_la-alu2dgridfactory.Tpo
-c alu2dgridfactory.cc -o libalu2d_la-alu2dgridfactory.o
In file included from /Users/oswald/gitwork/hades/dune-geometry/dune/geometry/genericgeometry/codimtable.hh:8:0,
from /Users/oswald/gitwork/hades/dune-geometry/dune/geometry/referenceelements.hh:16,
from ../../../../dune/grid/alugrid/2d/alu2dgridfactory.hh:12,
from alu2dgridfactory.cc:12:
/Users/oswald/gitwork/hades/dune-common/dune/common/tupleutility.hh:1600:17: warning: variadic templates only available with -std=c++11 or -std=gnu++11 [enabled by default]
template<class... TupleArgs, class T>
^
/Users/oswald/gitwork/hades/dune-common/dune/common/tupleutility.hh:1695:17: warning: variadic templates only available with -std=c++11 or -std=gnu++11 [enabled by default]
template<class... TupleArgs, class T>
^
In file included from ../../../../dune/grid/alugrid/3d/faceutility.hh:411:0,
from ../../../../dune/grid/alugrid/3d/iterator.hh:17,
from ../../../../dune/grid/alugrid/3d/alugrid.hh:13,
from ../../../../dune/grid/alugrid.hh:11,
from ../../../../dune/grid/alugrid/common/persistentcontainer.hh:9,
from ../../../../dune/grid/alugrid/2d/alu2dgridfactory.hh:16,
from alu2dgridfactory.cc:12:
../../../../dune/grid/alugrid/3d/faceutility_imp.cc: In member function 'int Dune::ALU3dGridFaceInfo<type, Comm>::duneTwist(int, int) const':
../../../../dune/grid/alugrid/3d/faceutility_imp.cc:370:63: error: there are no arguments to 'sign' that depend on a template parameter, so a declaration of 'sign' must be available [-fpermissive]
(ElementTopo::faceOrientation( faceIdx ) * sign(aluTwist) < 0 ?
^
../../../../dune/grid/alugrid/3d/faceutility_imp.cc:370:63: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20131020/ac7fb45f/attachment.htm>
More information about the Dune
mailing list