[Dune] dune trunk breaks in dune-grid-howto

Markus Blatt Markus.Blatt at iwr.uni-heidelberg.de
Mon Nov 29 15:43:10 CET 2010


Hi Benedict,

This is like  can of worms. I will try to fix it.

Markus

On Mon, Nov 29, 2010 at 03:14:40PM +0100, Benedikt Oswald wrote:
> Dear Dune,
> 
> the compilation of Dune breaks in the dune-grid-howto module with the error message,
> version, platform and compiler version given below:
> 
> 
> mpicxx -std=c++0x -DHAVE_CONFIG_H -I.  -I/Users/oswald/svnwork/dune-trunk/dune-common -I/Users/oswald/svnwork/dune-trunk/dune-grid -I/Users/oswald/svnwork/dune-trunk/dune-istl -I. -DMPICH_IGNORE_CXX_SEEK -O2 -g0 --no-strict-aliasing -I/Users/oswald/extlib/boost-trunk/include -I/Users/oswald/extlib/openmpi-1.4.3-gcc-4.4.5/include -DMPIPP_H -DENABLE_MPI=1 -DMPICH_IGNORE_CXX_SEEK -O2 -g0 --no-strict-aliasing -I/Users/oswald/extlib/boost-trunk/include  -I/Users/oswald/svnwork/dune-trunk/dune-common  -I/Users/oswald/svnwork/dune-trunk/dune-grid  -I/Users/oswald/svnwork/dune-trunk/dune-istl   -I/Users/oswald/extlib/openmpi-1.4.3-gcc-4.4.5/include -DMPIPP_H -DENABLE_MPI=1 -I/Users/oswald/svnwork/dune-trunk/dune-common -DGRIDDIM=2 -DWORLDDIM=2 -DYASPGRID  -I/Users/oswald/extlib/openmpi-1.4.3-gcc-4.4.5/include -DMPIPP_H -DENABLE_MPI=1 -I/Users/oswald/extlib/ALUGrid-1.23/include -I/Users/oswald/extlib/ALUGrid-1.23/include/serial -I/Users/oswald/extlib/ALUGrid-1.23/include/duneinterface -DENABLE_ALUGRID -I/Users/oswald
> /extlib/ALUGrid-1.23/include/parallel -I/Users/oswald/svnwork/dune-trunk/dune-grid  -I/Users/oswald/svnwork/dune-trunk/dune-istl -DMPICH_IGNORE_CXX_SEEK -O2 -g0 --no-strict-aliasing -MT othergrids-othergrids.o -MD -MP -MF .deps/othergrids-othergrids.Tpo -c -o othergrids-othergrids.o `test -f 'othergrids.cc' || echo './'`othergrids.cc
> In file included from /Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/onedgrid.hh:22,
>                  from othergrids.cc:7:
> /Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/onedgrid/onedgridentity.hh: In member function ‘typename GridImp::Codim<codim>::EntityPointer Dune::OneDGridEntity<0, dim, GridImp>::subEntity(int) const’:
> /Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/onedgrid/onedgridentity.hh:332: warning: ‘unsigned int Dune::GenericGeometry::topologyId(const Dune::GeometryType&)’ is deprecated (declared at /Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/genericgeometry/conversion.hh:680)
> In file included from /Users/oswald/svnwork/dune-trunk/dune-common/dune/common/densevector.hh:9,
>                  from /Users/oswald/svnwork/dune-trunk/dune-common/dune/common/fvector.hh:15,
>                  from /Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/common/grid.hh:12,
>                  from /Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/yaspgrid.hh:16,
>                  from config.h:601,
>                  from othergrids.cc:3:
> /Users/oswald/svnwork/dune-trunk/dune-common/dune/common/ftraits.hh: At global scope:
> /Users/oswald/svnwork/dune-trunk/dune-common/dune/common/ftraits.hh: In instantiation of ‘Dune::FieldTraits<const Dune::alu3d_ctype (*)[3]>’:
> /Users/oswald/svnwork/dune-trunk/dune-common/dune/common/densevector.hh:459:   instantiated from ‘Dune::DenseVector<Dune::FieldVector<const Dune::alu3d_ctype (*)[3], 8> >’
> /Users/oswald/svnwork/dune-trunk/dune-common/dune/common/fvector.hh:53:   instantiated from ‘Dune::FieldVector<const Dune::alu3d_ctype (*)[3], 8>’
> /Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/alugrid/3d/geometry.hh:340:   instantiated from ‘Dune::MyALUGridGeometryImplementation<3>::GeometryImpl<0, 3, (Dune::ALU3dGridElementType)7u>’
> /Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/alugrid/3d/geometry.hh:693:   instantiated from ‘Dune::ALU3dGridGeometry<3, 3, const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, ompi_communicator_t*> >’
> /Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/common/geometry.hh:70:   instantiated from ‘Dune::Geometry<3, 3, const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, ompi_communicator_t*>, Dune::ALU3dGridGeometry>’
> /Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/common/grid.hh:1280:   instantiated from ‘Dune::MakeableInterfaceObject<Dune::Geometry<3, 3, const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, ompi_communicator_t*>, Dune::ALU3dGridGeometry> >’
> /Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/alugrid/3d/entity.hh:447:   instantiated from ‘Dune::ALU3dGridEntity<0, 3, const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, ompi_communicator_t*> >’
> /Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/common/entity.hh:195:   instantiated from ‘Dune::Entity<0, 3, const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, ompi_communicator_t*>, Dune::ALU3dGridEntity>’
> /Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/common/grid.hh:1280:   instantiated from ‘Dune::MakeableInterfaceObject<Dune::Entity<0, 3, const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, ompi_communicator_t*>, Dune::ALU3dGridEntity> >’
> /Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/alugrid/common/memory.hh:140:   instantiated from ‘Dune::ALUMemoryProvider<Object>::~ALUMemoryProvider() [with Object = Dune::MakeableInterfaceObject<Dune::Entity<0, 3, const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, ompi_communicator_t*>, Dune::ALU3dGridEntity> >]’
> /Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/alugrid/3d/grid_inline.hh:40:   instantiated from ‘Dune::ALU3dGrid<<anonymous>, <template-parameter-1-2> >::ALU3dGrid(const std::string&, Comm, const typename Dune::ALU3dGridFamily<elType, Comm>::Traits::DuneBoundaryProjectionType*, const typename Dune::ALU3dGridFamily<elType, Comm>::Traits::DuneBoundaryProjectionVector*) [with Dune::ALU3dGridElementType elType = (Dune::ALU3dGridElementType)7u, Comm = ompi_communicator_t*]’
> /Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/alugrid/3d/alugrid.hh:71:   instantiated from here
> /Users/oswald/svnwork/dune-trunk/dune-common/dune/common/ftraits.hh:20: error: ‘const Dune::alu3d_ctype (*)[3]’ is not a class, struct, or union type
> /Users/oswald/svnwork/dune-trunk/dune-common/dune/common/ftraits.hh:22: error: ‘const Dune::alu3d_ctype (*)[3]’ is not a class, struct, or union type
> make[2]: *** [othergrids-othergrids.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> --- Failed to build dune-grid-howto ---
> Terminating dunecontrol due to previous errors!
> 
> 
> pcp029897:dune-trunk oswald$ svn info ./dune-common/
> Path: dune-common
> URL: https://svn.dune-project.org/svn/dune-common/trunk
> Repository Root: https://svn.dune-project.org/svn/dune-common
> Repository UUID: 419231ca-4411-0410-aba2-fc6cf8c4f609
> Revision: 6278
> Node Kind: directory
> Schedule: normal
> Last Changed Author: mblatt
> Last Changed Rev: 6278
> Last Changed Date: 2010-11-29 13:06:01 +0100 (Mon, 29 Nov 2010)
> 
> pcp029897:dune-trunk oswald$ svn info ./dune-grid
> Path: dune-grid
> URL: https://svn.dune-project.org/svn/dune-grid/trunk
> Repository Root: https://svn.dune-project.org/svn/dune-grid
> Repository UUID: f82f27de-4411-0410-b156-930a902cda50
> Revision: 7174
> Node Kind: directory
> Schedule: normal
> Last Changed Author: mnolte
> Last Changed Rev: 7174
> Last Changed Date: 2010-11-28 22:31:33 +0100 (Sun, 28 Nov 2010)
> 
> pcp029897:dune-trunk oswald$ svn info ./dune-grid-howto/
> Path: dune-grid-howto
> URL: https://svn.dune-project.org/svn/dune-grid-howto/trunk
> Repository Root: https://svn.dune-project.org/svn/dune-grid-howto
> Repository UUID: 971b7fa1-7d12-0410-b1b7-9c127676b1f7
> Revision: 338
> Node Kind: directory
> Schedule: normal
> Last Changed Author: dedner
> Last Changed Rev: 338
> Last Changed Date: 2010-11-29 10:06:22 +0100 (Mon, 29 Nov 2010)
> 
> pcp029897:dune-trunk oswald$ svn info ./dune-grid-istl
> svn: '.' is not a working copy
> 
> 
> pcp029897:dune-trunk oswald$ uname -a
> Darwin pcp029897.psi.ch 10.5.0 Darwin Kernel Version 10.5.0: Fri Nov  5 23:20:39 PDT 2010; root:xnu-1504.9.17~1/RELEASE_I386 i386
> 
> 
> 
> 
> pcp029897:dune-trunk oswald$ gcc --version
> gcc (GCC) 4.4.5
> Copyright (C) 2010 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> pcp029897:dune-trunk oswald$ mpicxx --version
> g++ (GCC) 4.4.5
> Copyright (C) 2010 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> 
> thanks for taking notice. Greetings, Benedikt
> 
> 
> 
> 
> 
> 
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------
> Benedikt Oswald, Dr. sc. techn., dipl. El. Ing. ETH, www.psi.ch, Computational Accelerator Scientist, http://amas.web.psi.ch
> Paul Scherrer  Institute (PSI), CH-5232 Villigen, Suisse, benedikt.oswald at psi.ch, +41(0)56 310 32 12
> 
> "Passion is required for any great work, and for the revolution passion and audacity are required in big doses.",
>  Ernesto 'Che' Guevara, Letter to his parents.
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------
> 
> 
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
> 

-- 
Markus Blatt, Interdisciplinary Center for Scientific Computing,
University Heidelberg, Im Neuenheimer Feld 368, D-69120 Heidelberg

'Mathematics knows no races or geographic boundaries; for
mathematics, the cultural world is one country' - David Hilbert




More information about the Dune mailing list