[DuMuX] dofMapper not declared in implicitmodel.hh

2013-05-03 Thread Christoph Grüninger
Hello Errazi,
can you be more elaborate, please? Otherwise we have to guess too much. 
In contrast to the previous problems, I don't have a good guess this time.
What is the compiler you are using and in what version? Do you use the 
Makefiles generated by autotools/dunecontrol or some from Xcode? Which 
Version of DuMuX do you use? From SVN or from the tarball?

Best,
Christoph


Am 03.05.2013 05:50, schrieb Errazi BEN AHMED:
 Hi Christoph,

 I almost configure everything but can not run examples inside test
 folder, I always get this errors trying to run test_box2p inside
 implicit/2p:

 ../../../dumux/implicit/common/implicitmodel.hh:581: error: ‘dofMapper’
 was not declared in this scope
 ../../../dumux/implicit/common/implicitmodel.hh: In member function
 ‘void Dumux::ImplicitModelTypeTag::serializeEntity(std::ostream,
 const Entity) [with Entity = Dune::Entity2, 2, const
 Dune::YaspGrid2, Dune::YaspEntity, TypeTag =
 Dumux::Properties::TTag::LensBoxProblem]’:
 ../../../dumux/io/restart.hh:147:   instantiated from ‘void
 Dumux::Restart::serializeEntities(Serializer, const GridView) [with
 int codim = 2, Serializer =
 Dumux::TwoPModelDumux::Properties::TTag::LensBoxProblem, GridView =
 Dune::GridViewDune::DefaultLeafGridViewTraitsconst Dune::YaspGrid2,
 All_Partition ]’
 ../../../dumux/implicit/common/implicitmodel.hh:516:   instantiated from
 ‘void Dumux::ImplicitModelTypeTag::serialize(Restarter) [with
 Restarter = Dumux::Restart, TypeTag =
 Dumux::Properties::TTag::LensBoxProblem]’
 ../../../dumux/implicit/common/implicitproblem.hh:754:   instantiated
 from ‘void Dumux::ImplicitProblemTypeTag::serialize(Restarter) [with
 Restarter = Dumux::ImplicitProblemTypeTag::serialize()::Restarter,
 TypeTag = Dumux::Properties::TTag::LensBoxProblem]’
 ../../../dumux/implicit/common/implicitproblem.hh:732:   instantiated
 from ‘void Dumux::ImplicitProblemTypeTag::serialize() [with TypeTag =
 Dumux::Properties::TTag::LensBoxProblem]’
 ../../../dumux/common/timemanager.hh:400:   instantiated from ‘void
 Dumux::TimeManagerTypeTag::run() [with TypeTag =
 Dumux::Properties::TTag::LensBoxProblem]’
 ../../../dumux/common/start.hh:465:   instantiated from ‘int
 Dumux::start_(int, char**, void (*)(const char*, const std::string))
 [with TypeTag = Dumux::Properties::TTag::LensBoxProblem]’
 ../../../dumux/common/start.hh:496:   instantiated from ‘int
 Dumux::start(int, char**, void (*)(const char*, const std::string))
 [with TypeTag = Dumux::Properties::TTag::LensBoxProblem]’
 test_box2p.cc:65:   instantiated from here
 ../../../dumux/implicit/common/implicitmodel.hh:553: error: ‘dofMapper’
 was not declared in this scope
 ../../../dumux/implicit/common/implicitmodel.hh: In member function
 ‘void Dumux::ImplicitModelTypeTag::serializeEntity(std::ostream,
 const Entity) [with Entity = Dune::Entity0, 2, const
 Dune::YaspGrid2, Dune::YaspEntity, TypeTag =
 Dumux::Properties::TTag::LensBoxProblem]’:
 ../../../dumux/io/restart.hh:147:   instantiated from ‘void
 Dumux::Restart::serializeEntities(Serializer, const GridView) [with
 int codim = 0, Serializer =
 Dumux::TwoPModelDumux::Properties::TTag::LensBoxProblem, GridView =
 Dune::GridViewDune::DefaultLeafGridViewTraitsconst Dune::YaspGrid2,
 All_Partition ]’
 ../../../dumux/implicit/common/implicitmodel.hh:518:   instantiated from
 ‘void Dumux::ImplicitModelTypeTag::serialize(Restarter) [with
 Restarter = Dumux::Restart, TypeTag =
 Dumux::Properties::TTag::LensBoxProblem]’
 ../../../dumux/implicit/common/implicitproblem.hh:754:   instantiated
 from ‘void Dumux::ImplicitProblemTypeTag::serialize(Restarter) [with
 Restarter = Dumux::ImplicitProblemTypeTag::serialize()::Restarter,
 TypeTag = Dumux::Properties::TTag::LensBoxProblem]’
 ../../../dumux/implicit/common/implicitproblem.hh:732:   instantiated
 from ‘void Dumux::ImplicitProblemTypeTag::serialize() [with TypeTag =
 Dumux::Properties::TTag::LensBoxProblem]’
 ../../../dumux/common/timemanager.hh:400:   instantiated from ‘void
 Dumux::TimeManagerTypeTag::run() [with TypeTag =
 Dumux::Properties::TTag::LensBoxProblem]’
 ../../../dumux/common/start.hh:465:   instantiated from ‘int
 Dumux::start_(int, char**, void (*)(const char*, const std::string))
 [with TypeTag = Dumux::Properties::TTag::LensBoxProblem]’
 ../../../dumux/common/start.hh:496:   instantiated from ‘int
 Dumux::start(int, char**, void (*)(const char*, const std::string))
 [with TypeTag = Dumux::Properties::TTag::LensBoxProblem]’
 test_box2p.cc:65:   instantiated from here
 ../../../dumux/implicit/common/implicitmodel.hh:553: error: ‘dofMapper’
 was not declared in this scope
 make: *** [test_box2p.o] Error 1

 Even trying to start with the gettingstarted file as described in the
 grid how to, I got 2 errors :

Dune::dinfo, referenced from:

Dune::SGrid2, 2, double::makeSGrid(Dune::arrayint, 2ul
 const, Dune::FieldVectordouble, 2 const, Dune::FieldVectordouble,
 2 const)in main.o
Dune::SGrid2, 2, double::makeSGrid(Dune::arrayint, 2ul
 const, 

Re: [DuMuX] dofMapper not declared in implicitmodel.hh

2013-05-03 Thread Christoph Grüninger
Hi Errazi,
could you please stay on the list instead of writing the emails to me 
directly?

Xcode is not a compiler but a development environment that can make use 
of various compilers. So it is not clear enough. Unless you can name us 
your compiler, we are here at a dead end.

I propose you stop using Xcode and use GCC (or a Clang newer then 3.0) 
directly from a terminal. There it's easy to determine the compiler. If 
you get DuMuX compiling there, it is up to you to configure your Xcode 
to whatever pleases you.

Christoph


Am 03.05.2013 10:05, schrieb Errazi BEN AHMED:
 Hi Christoph,

 Actually, I'm using files from SVN as described in the Dumux
 installation page (http://www.dumux.org/installation.php) and
 followed exactly the instructions described in that page, arriving at
 the bottom the example is not working for me ( previous mail) and all
 this is before using Xcode or any other compiler.
 hope that's clear enough right now.

 regards
 Razi

-- 
The Romans didn't find algebra very challenging,
because X was always 10.

CMWR 2014: 9th - 13th June 2014 in Stuttgart
  Please visit www.cmwr14.de

___
Dumux mailing list
Dumux@listserv.uni-stuttgart.de
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux


Re: [DuMuX] dofMapper not declared in implicitmodel.hh

2013-05-03 Thread Bernd Flemisch
Hi Errazi,

Christoph is right. In addition, the error message points to the fact 
that you still use gcc 4.2, since dofMapper is declared with the help of 
std::enable_if, which is available from gcc = 4.3.

Kind regards
Bernd

On 05/03/2013 10:18 AM, Christoph Grüninger wrote:
 Hi Errazi,
 could you please stay on the list instead of writing the emails to me
 directly?

 Xcode is not a compiler but a development environment that can make use
 of various compilers. So it is not clear enough. Unless you can name us
 your compiler, we are here at a dead end.

 I propose you stop using Xcode and use GCC (or a Clang newer then 3.0)
 directly from a terminal. There it's easy to determine the compiler. If
 you get DuMuX compiling there, it is up to you to configure your Xcode
 to whatever pleases you.

 Christoph


 Am 03.05.2013 10:05, schrieb Errazi BEN AHMED:
 Hi Christoph,

 Actually, I'm using files from SVN as described in the Dumux
 installation page (http://www.dumux.org/installation.php) and
 followed exactly the instructions described in that page, arriving at
 the bottom the example is not working for me ( previous mail) and all
 this is before using Xcode or any other compiler.
 hope that's clear enough right now.

 regards
 Razi


-- 
__

  CMWR 2014: 9th - 13th June 2014 in Stuttgart 
   Please visit www.cmwr14.de
__

Bernd Flemischphone: +49 711 685 69162
IWS, Universität Stuttgartfax:   +49 711 685 60430
Pfaffenwaldring 61   email: be...@iws.uni-stuttgart.de
D-70569 Stuttgart   url: www.hydrosys.uni-stuttgart.de
__

___
Dumux mailing list
Dumux@listserv.uni-stuttgart.de
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux