[Dune] Tutorial Program finitevolume.cc in dune-grid-howto does not compile
Oswald Benedikt
Benedikt.Oswald at psi.ch
Mon Oct 26 09:57:54 CET 2009
Dear Dune, the finitevolume.cc in dune-grid-howto, version number see below, does not compile does not compile
on Mac OS when I last checked it out this morning.
Thanks for having a look, Benedikt
mpicxx -DHAVE_CONFIG_H -I. -I/Users/oswald/svnwork/dune-trunk/dune-common -I/Users/oswald/svnwork/dune-trunk/dune-grid -I. -DMPICH_IGNORE_CXX_SEEK -DGRIDDIM=3 -D_REENTRANT -I/Users/oswald/extlib/openmpi-1.3.3/include -DMPIPP_H -DENABLE_MPI=1 -DMPICH_IGNORE_CXX_SEEK -DGRIDDIM=3 -I/Users/oswald/svnwork/dune-trunk/dune-common -I/Users/oswald/extlib/ALUGrid-1.14/include -I/Users/oswald/extlib/ALUGrid-1.14/include/serial -I/Users/oswald/extlib/ALUGrid-1.14/include/duneinterface -DENABLE_ALUGRID -I/Users/oswald/extlib/ALUGrid-1.14/include/parallel -I/Users/oswald/svnwork/dune-trunk/dune-grid -DMPICH_IGNORE_CXX_SEEK -DGRIDDIM=3 -MT finitevolume-finitevolume.o -MD -MP -MF .deps/finitevolume-finitevolume.Tpo -c -o finitevolume-finitevolume.o `test -f 'finitevolume.cc' || echo './'`finitevolume.cc
In file included from /Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/io/file/dgfparser/dgfgridtype.hh:87,
from finitevolume.cc:9:
/Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/utility/gridtype.hh:224:6: warning: #warning "No GRIDTYPE defined, defaulting to YASPGRID."
/Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/io/file/vtk/vtkwriter.hh: In member function 'void Dune::VTKWriter<GridView>::addCellData(const V&, std::string) [with V = std::vector<double, std::allocator<double> >, GridView = Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<3>, All_Partition> >]':
vtkout.hh:12: instantiated from 'void vtkout(const G&, const V&, const char*, int, double, int) [with G = Dune::YaspGrid<3>, V = std::vector<double, std::allocator<double> >]'
finitevolume.cc:44: instantiated from 'void timeloop(const G&, double) [with G = Dune::YaspGrid<3>]'
finitevolume.cc:114: instantiated from here
/Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/io/file/vtk/vtkwriter.hh:605: error: no matching function for call to 'std::list<std::tr1::shared_ptr<Dune::VTKFunction<Dune::YaspGrid<3> > >, std::allocator<std::tr1::shared_ptr<Dune::VTKFunction<Dune::YaspGrid<3> > > > >::push_back(Dune::VTKFunction<Dune::YaspGrid<3> >*&)'
/usr/include/c++/4.0.0/bits/stl_list.h:772: note: candidates are: void std::list<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = std::tr1::shared_ptr<Dune::VTKFunction<Dune::YaspGrid<3> > >, _Alloc = std::allocator<std::tr1::shared_ptr<Dune::VTKFunction<Dune::YaspGrid<3> > > >]
make[2]: *** [finitevolume-finitevolume.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!
pcp030190:dune-trunk oswald$ cd dune-grid-howto/
pcp030190:dune-grid-howto oswald$ svn info
Path: .
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: 267
Node Kind: directory
Schedule: normal
Last Changed Author: mnolte
Last Changed Rev: 267
Last Changed Date: 2009-10-16 10:42:33 +0200 (Fri, 16 Oct 2009)
------------------------------------------------------------------------------------------------------------------
Benedikt Oswald, Dr. sc. techn., dipl. El. Ing. ETH, www.psi.ch, Computational Accelerator Scientist
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.
http://maxwell.psi.ch/amaswiki/index.php/User:BenediktOswald
------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 4573 bytes
Desc: not available
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20091026/a3a9571b/attachment.bin>
More information about the Dune
mailing list