[Dune] dune-grid-howto: compilation error in integration.cc

Oliver Sander sander at mi.fu-berlin.de
Tue Mar 30 09:34:44 CEST 2010


Hi Dune!
What is

#warning "Use your projects <dgfgridtype.hh> instead (generated by 
adding DUNE_OUTPUT_GRIDTYPE to configure.ac)"

supposed to mean?

thanks for your help,
Oliver

Benedikt Oswald schrieb:
> Dear Dune, there is a problem in the compilation of the dune-grid-howto,
> patzicularly in integration.cc
>
> cf. below:
>
> versions used are:
>
>
> Can you have a look ? Thanks and have a great day! Benedikt
>
>
>
> pcp029897:dune-trunk oswald$ gcc --v
> Using built-in specs.
> Target: i686-apple-darwin9
> Configured with: /var/tmp/gcc/gcc-5493~1/src/configure 
> --disable-checking -enable-werror --prefix=/usr --mandir=/share/man 
> --enable-languages=c,objc,c++,obj-c++ 
> --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ 
> --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib 
> --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic 
> --host=i686-apple-darwin9 --target=i686-apple-darwin9
> Thread model: posix
> gcc version 4.0.1 (Apple Inc. build 5493)
>
> 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: 5950
> Node Kind: directory
> Schedule: normal
> Last Changed Author: christi
> Last Changed Rev: 5950
> Last Changed Date: 2010-03-27 21:11:49 +0100 (Sat, 27 Mar 2010)
>
> pcp029897:dune-trunk oswald$ svn info ./dune-grid
> dune-grid/       dune-grid-howto/
> 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: 6553
> Node Kind: directory
> Schedule: normal
> Last Changed Author: christi
> Last Changed Rev: 6553
> Last Changed Date: 2010-03-29 21:42:56 +0200 (Mon, 29 Mar 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: 1188
> Node Kind: directory
> Schedule: normal
> Last Changed Author: sander
> Last Changed Rev: 1187
> Last Changed Date: 2010-03-26 18:57:24 +0100 (Fri, 26 Mar 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: 302
> Node Kind: directory
> Schedule: normal
> Last Changed Author: sander
> Last Changed Rev: 302
> Last Changed Date: 2010-03-28 20:23:53 +0200 (Sun, 28 Mar 2010)
>
>
>
>
> ================================================
> 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 -D_REENTRANT 
> -I/Users/oswald/extlib/openmpi-1.3.3/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   -D_REENTRANT 
> -I/Users/oswald/extlib/openmpi-1.3.3/include -DMPIPP_H -DENABLE_MPI=1 
> -I/Users/oswald/svnwork/dune-trunk/dune-common -DGRIDDIM=2 
> -DWORLDDIM=2 -DYASPGRID -I/usr/X11/include -D_THREAD_SAFE   
> -D_REENTRANT -I/Users/oswald/extlib/openmpi-1.3.3/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 integration-integration.o -MD -MP -MF 
> .deps/integration-integration.Tpo -c -o integration-integration.o 
> `test -f 'integration.cc' || echo './'`integration.cc
> In file included from integration.cc:9:
> /Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/io/file/dgfparser/dgfgridtype.hh:4:2: 
> warning: #warning "<dune/grid/io/file/dgfgridtype.hh> has been 
> deprecated."
> /Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/io/file/dgfparser/dgfgridtype.hh:5:2: 
> warning: #warning "Use your projects <dgfgridtype.hh> instead 
> (generated by adding DUNE_OUTPUT_GRIDTYPE to configure.ac)"
> In file included from 
> /Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/io/file/dgfparser/dgfgridtype.hh:90, 
>
>                  from integration.cc:9:
> /Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/utility/gridtype.hh:4:2: 
> warning: #warning "<dune/grid/utility/gridtype.hh> has been deprecated."
> /Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/utility/gridtype.hh:5:2: 
> warning: #warning "Use your projects <gridtype.hh> instead (generated 
> by adding DUNE_OUTPUT_GRIDTYPE to configure.ac)"
> In file included from 
> /Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/utility/gridtype.hh:268, 
>
>                  from 
> /Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/io/file/dgfparser/dgfgridtype.hh:90, 
>
>                  from integration.cc:9:
> /Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/yaspgrid.hh:8:18: 
> error: cstdint: No such file or directory
> /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:526:   
> 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:342:   
> instantiated from 'Dune::GridPtr<GridType>::GridPtr(const 
> std::string&, ompi_communicator_t*) [with GridType = Dune::YaspGrid<2>]'
> integration.cc:76:   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:223) 
>
> make[2]: *** [integration-integration.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> --- Failed to build dune-grid-howto ---
> Execution of dunecontrol terminated due to errors!
>
>
>
>
>
>
>
>
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
>
> 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