[Dune] dune-grid-howto does not compile

Oliver Sander sander at mi.fu-berlin.de
Thu Aug 26 09:49:29 CEST 2010


Hi Benedikt!
Please update your dune-grid-howto and try again.
--
Oliver

Am 2010-08-26 09:45, schrieb Benedikt Oswald:
> Dear Dune, there seems to be a problem with the compilation of an example program in dune-grid-howto:
>
> mpicxx -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 -I/Users/oswald/extlib/openmpi-1.4.2/include -DMPIPP_H -DENABLE_MPI=1 -DMPICH_IGNORE_CXX_SEEK -O2  -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.2/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.2/include -DMPIPP_H -DENABLE_MPI=1 -I/Users/oswald/extlib/ALUGrid-1.22/include -I/Users/oswald/extlib/ALUGrid-1.22/include/serial -I/Users/oswald/extlib/ALUGrid-1.22/include/duneinterface -DENABLE_ALUGRID -I/Users/oswald/extlib/ALUGrid-1.22/include/parallel -I/Users/oswald/svnwork/dune-trunk/dune-grid  -I/Users/oswald/svnwork/dune-trunk/dune-istl -DMPICH_IGNORE_CXX_SEEK -O2 -MT adaptivefinitevolume-adaptivefinitevolume.o -MD -MP -MF .deps/adaptivefinitevolume-adaptivefinitevolume.Tpo -c -o adaptivefinitevolume-adaptivefinitevolume.o `test -f 'adaptivefinitevolume.cc' || echo './'`adaptivefinitevolume.cc
> adaptivefinitevolume.cc: In function ‘void timeloop(G&, double, int, int)’:
> adaptivefinitevolume.cc:77: error: ‘IsUnstructured’ is not a member of ‘Dune::Capabilities’
> adaptivefinitevolume.cc:77: error: expected primary-expression before ‘>’ token
> adaptivefinitevolume.cc:77: error: ‘::v’ has not been declared
> /Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/io/file/dgfparser/dgfyasp.hh: In member function ‘int Dune::DGFGridFactory<Dune::YaspGrid<dim>  >::boundaryId(const Intersection&) const [with Intersection = Dune::Intersection<const Dune::YaspGrid<2>, Dune::YaspIntersection>, int dim = 2]’:
> /Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/io/file/dgfparser/dgfparser.hh:539:   instantiated from ‘void Dune::GridPtr<GridType>::initialize(Dune::DGFGridFactory<GridType>&) [with GridType = Dune::YaspGrid<2>]’
> /Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/io/file/dgfparser/dgfparser.hh:355:   instantiated from ‘Dune::GridPtr<GridType>::GridPtr(const std::string&, ompi_communicator_t*) [with GridType = Dune::YaspGrid<2>]’
> adaptivefinitevolume.cc:111:   instantiated from here
> /Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/io/file/dgfparser/dgfyasp.hh:104: warning: ‘boundaryId’ is deprecated (declared at /Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/common/intersection.hh:231)
> make[2]: *** [adaptivefinitevolume-adaptivefinitevolume.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!
>
>
>
>
> my parameters are as follows:
>
> 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: 6110
> Node Kind: directory
> Schedule: normal
> Last Changed Author: mnolte
> Last Changed Rev: 6110
> Last Changed Date: 2010-08-26 09:24:05 +0200 (Thu, 26 Aug 2010)
>
> pcp029897:dune-trunk oswald$ svn info ./dune-istl/
> Path: dune-istl
> URL: https://svn.dune-project.org/svn/dune-istl/trunk
> Repository Root: https://svn.dune-project.org/svn/dune-istl
> Repository UUID: 8c7282f0-4411-0410-8e4f-cdd3e049afb8
> Revision: 1280
> Node Kind: directory
> Schedule: normal
> Last Changed Author: mblatt
> Last Changed Rev: 1280
> Last Changed Date: 2010-08-24 19:28:17 +0200 (Tue, 24 Aug 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: 320
> Node Kind: directory
> Schedule: normal
> Last Changed Author: sander
> Last Changed Rev: 320
> Last Changed Date: 2010-08-09 11:19:37 +0200 (Mon, 09 Aug 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: 6918
> Node Kind: directory
> Schedule: normal
> Last Changed Author: mnolte
> Last Changed Rev: 6918
> Last Changed Date: 2010-08-25 21:38:17 +0200 (Wed, 25 Aug 2010)
>
> platform:
>
> pcp029897:dune-trunk oswald$ uname -a
> Darwin pcp029897.psi.ch 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 i386
> pcp029897:dune-trunk oswald$ mpicxx --version
> i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5659)
> Copyright (C) 2007 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 having a look! 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
>    


-- 
************************************************************************
* Oliver Sander                ** email: sander at mi.fu-berlin.de        *
* Freie Universität Berlin     ** phone: + 49 (30) 838 75348           *
* Institut für Mathematik      ** URL  : page.mi.fu-berlin.de/~sander  *
* Arnimallee 6                 ** -------------------------------------*
* 14195 Berlin, Germany        ** Member of MATHEON (www.matheon.de)   *
************************************************************************






More information about the Dune mailing list