[Dune] dune compilation problem in dune-geometry

Benedikt Oswald benedikt.oswald at lspr.ch
Sun Dec 29 17:06:02 CET 2013


Dear Dune, 

I updated my Dune installation from the git trunk  10 minutes ago in order to install it on a Crax XE6 environment,
using the following compilers and mph versions:

cray-mpich/6.1.0
gcc 4.8.1

there appears to be a problem with dune-geometry, where the compilation crashes, cf. below:

I should add that for the last few months I have used gcc 4.8.1 to compile Dune without problems.


thanks for suggestions and having a look!

Greetings,  Benedikt

====================================================================



make[1]: Entering directory `/scratch/rosa/boswald/gitwork/hades/dune-geometry'
Making all in m4
make[2]: Entering directory `/scratch/rosa/boswald/gitwork/hades/dune-geometry/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/scratch/rosa/boswald/gitwork/hades/dune-geometry/m4'
Making all in cmake
make[2]: Entering directory `/scratch/rosa/boswald/gitwork/hades/dune-geometry/cmake'
Making all in pkg
make[3]: Entering directory `/scratch/rosa/boswald/gitwork/hades/dune-geometry/cmake/pkg'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/scratch/rosa/boswald/gitwork/hades/dune-geometry/cmake/pkg'
make[3]: Entering directory `/scratch/rosa/boswald/gitwork/hades/dune-geometry/cmake'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/scratch/rosa/boswald/gitwork/hades/dune-geometry/cmake'
make[2]: Leaving directory `/scratch/rosa/boswald/gitwork/hades/dune-geometry/cmake'
Making all in dune
make[2]: Entering directory `/scratch/rosa/boswald/gitwork/hades/dune-geometry/dune'
Making all in geometry
make[3]: Entering directory `/scratch/rosa/boswald/gitwork/hades/dune-geometry/dune/geometry'
Making all in quadraturerules
make[4]: Entering directory `/scratch/rosa/boswald/gitwork/hades/dune-geometry/dune/geometry/quadraturerules'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/scratch/rosa/boswald/gitwork/hades/dune-geometry/dune/geometry/quadraturerules'
Making all in genericgeometry
make[4]: Entering directory `/scratch/rosa/boswald/gitwork/hades/dune-geometry/dune/geometry/genericgeometry'
Making all in test
make[5]: Entering directory `/scratch/rosa/boswald/gitwork/hades/dune-geometry/dune/geometry/genericgeometry/test'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/scratch/rosa/boswald/gitwork/hades/dune-geometry/dune/geometry/genericgeometry/test'
make[5]: Entering directory `/scratch/rosa/boswald/gitwork/hades/dune-geometry/dune/geometry/genericgeometry'
/bin/sh ../../../libtool --tag=CXX   --mode=compile CC -DHAVE_CONFIG_H -I. -I../../..  -I/scratch/rosa/boswald/gitwork/hades/dune-common -I/scratch/rosa/boswald/gitwork/hades/dune-common -I../../.. -DMPICH_IGNORE_CXX_SEEK -O2 -DNDEBUG -DHAVE_SUPERLU_DIST -I/users/boswald/extlib/superludist/3.3/cray-mpich/6.1.0/gcc/4.8.1/SRC   -DMPICH_IGNORE_CXX_SEEK -O2 -DNDEBUG -fomit-frame-pointer --no-strict-aliasing  -MT referencedomain.lo -MD -MP -MF .deps/referencedomain.Tpo -c -o referencedomain.lo referencedomain.cc
libtool: compile:  CC -DHAVE_CONFIG_H -I. -I../../.. -I/scratch/rosa/boswald/gitwork/hades/dune-common -I/scratch/rosa/boswald/gitwork/hades/dune-common -I../../.. -DMPICH_IGNORE_CXX_SEEK -O2 -DNDEBUG -DHAVE_SUPERLU_DIST -I/users/boswald/extlib/superludist/3.3/cray-mpich/6.1.0/gcc/4.8.1/SRC -DMPICH_IGNORE_CXX_SEEK -O2 -DNDEBUG -fomit-frame-pointer --no-strict-aliasing -MT referencedomain.lo -MD -MP -MF .deps/referencedomain.Tpo -c referencedomain.cc -o referencedomain.o
In file included from /scratch/rosa/boswald/gitwork/hades/dune-common/dune/common/fmatrix.hh:13:0,
                 from ../../../dune/geometry/genericgeometry/referencedomain.hh:9,
                 from referencedomain.cc:5:
/scratch/rosa/boswald/gitwork/hades/dune-common/dune/common/densematrix.hh:123:26: error: 'decltype' has not been declared
         static yes test( decltype( istl_assign_to_fmatrix( get_ref< M >(), get_ref< C >() ) ) * );
                          ^
/scratch/rosa/boswald/gitwork/hades/dune-common/dune/common/densematrix.hh:123:58: error: expected ')' before '(' token
         static yes test( decltype( istl_assign_to_fmatrix( get_ref< M >(), get_ref< C >() ) ) * );
                                                          ^
/scratch/rosa/boswald/gitwork/hades/dune-common/dune/common/densematrix.hh:123:58: error: expected ')' before '(' token
/scratch/rosa/boswald/gitwork/hades/dune-common/dune/common/densematrix.hh:123:60: error: expected identifier
         static yes test( decltype( istl_assign_to_fmatrix( get_ref< M >(), get_ref< C >() ) ) * );
                                                            ^
/scratch/rosa/boswald/gitwork/hades/dune-common/dune/common/densematrix.hh:123:72: error: expected unqualified-id before '(' token
         static yes test( decltype( istl_assign_to_fmatrix( get_ref< M >(), get_ref< C >() ) ) * );
                                                                        ^
/scratch/rosa/boswald/gitwork/hades/dune-common/dune/common/densematrix.hh:123:72: error: expected ')' before '(' token
/scratch/rosa/boswald/gitwork/hades/dune-common/dune/common/densematrix.hh:123:73: error: 'test' declared as function returning a function
         static yes test( decltype( istl_assign_to_fmatrix( get_ref< M >(), get_ref< C >() ) ) * );
                                                                         ^
make[5]: *** [referencedomain.lo] Error 1
make[5]: Leaving directory `/scratch/rosa/boswald/gitwork/hades/dune-geometry/dune/geometry/genericgeometry'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/scratch/rosa/boswald/gitwork/hades/dune-geometry/dune/geometry/genericgeometry'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/scratch/rosa/boswald/gitwork/hades/dune-geometry/dune/geometry'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/scratch/rosa/boswald/gitwork/hades/dune-geometry/dune'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/scratch/rosa/boswald/gitwork/hades/dune-geometry'
make: *** [all] Error 2
--- Failed to build dune-geometry ---
Terminating dunecontrol due to previous errors!





More information about the Dune mailing list