[Dune] FW: Problems with installation of DUNE core modules (in particular, with dune-grid-howto)

Sacconi, Andrea a.sacconi11 at imperial.ac.uk
Sun Nov 6 11:10:12 CET 2011


Hi all,

I'm trying to install DUNE core modules, but I have still a problem.
I downloaded the six core modules, I put them in the same folder and then typed

  ./dune-common/bin/dunecontrol all

as per instructions. All works well for dune-common, dune-grid and dune-istl, but the process fails with dune-grid-howto.
This is the message that appears on my screen:

finitevolumeadapt.hh:132:   instantiated from ‘bool finitevolumeadapt(G&, M&, V&, int, int, int) [with G = Dune::YaspGrid<2>, M = Dune::LeafMultipleCodimMultipleGeomTypeMapper<Dune::YaspGrid<2>, Dune::MCMGElementLayout>, V = std::vector<double, std::allocator<double> >]’
adaptivefinitevolume.cc:34:   instantiated from ‘void timeloop(G&, double, int, int) [with G = Dune::YaspGrid<2>]’
adaptivefinitevolume.cc:122:   instantiated from here
/usr/include/c++/4.0.0/bits/stl_tree.h:367: error: no matching function for call to ‘std::allocator<RestrictedValue>::construct(std::pair<const Dune::bigunsignedint<58>, RestrictedValue>*, const std::pair<const Dune::bigunsignedint<58>, RestrictedValue>&)’
/usr/include/c++/4.0.0/ext/new_allocator.h:103: note: candidates are: void __gnu_cxx::new_allocator<_Tp>::construct(_Tp*, const _Tp&) [with _Tp = RestrictedValue]
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!

I can't understand where I'm doing wrong.
Yesterday I created a very simple project, containing only one source file (Hello world), and it worked perfectly. Maybe it did since it didn't require dependencies I'm not able to install.
Other info: MAC OS 10.5.8, gcc 4.2.1.

Cheers,

Andrea


_____________________________________
Andrea Sacconi
PhD student, Applied Mathematics
Imperial College London,
London SW7 2AZ, UK
a.sacconi11 at imperial.ac.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20111106/3509fbef/attachment.htm>


More information about the Dune mailing list