[Dune] [#795] #error "Ambiguous definition of GRIDTYPE." in dune-grid-howto

Dune flyspray at dune-project.org
Wed Jun 2 13:57:24 CEST 2010


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Dan Popovic (dan) 

Attached to Project - Dune
Summary - #error "Ambiguous definition of GRIDTYPE."  in dune-grid-howto
Task Type - Bug Report
Category - Grid-Howto
Status - New
Assigned To - 
Operating System - Linux
Severity - Low
Priority - Low
Reported Version - 2.0beta
Due in Version - Undecided
Due Date - Undecided
Details - Hi Dune,

I tried to compile the dune-grid-howto from the current trunk from today.
The build process emits an error concerning a GRIDTYPE macro:

make[2]: Entering directory `/data/dan/sim/dune-parallel/dune-grid-howto'
g++ -std=c++0x -DHAVE_CONFIG_H -I.  -I/data/dan/sim/dune-parallel/dune-common -I/data/dan/sim/dune-parallel/dune-grid -I/data/dan/sim/dune-parallel/dune-istl -I.  -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -pthread -DMPIPP_H -DENABLE_MPI=1 -I/data/dan/sim/dune-parallel/dune-common  -I/data/dan/sim/dune-parallel/dune-grid  -I/data/dan/sim/dune-parallel/dune-istl   -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -pthread -DMPIPP_H -DENABLE_MPI=1 -I/data/dan/sim/dune-parallel/dune-common -DGRIDDIM=2 -DWORLDDIM=2 -DYASPGRID -pthread -I/data/dan/sim/dune-parallel/alberta-inst/include/alberta -DALBERTA_DIM=2 -DENABLE_ALBERTA -I/data/dan/sim/ug-duneinst/seq/include -DENABLE_UG -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -pthread -DMPIPP_H -DENABLE_MPI=1 -I/data/dan/sim/dune-parallel/ALUGrid-inst/include -I/data/dan/sim/dune-parallel/ALUGrid-inst/include/serial -I/data/dan/sim/dune-parallel/ALUGrid-inst/include/duneinterface -DENABLE_ALUGRID
-I/data/dan/sim/dune-parallel/ALUGrid-inst/include/parallel -I/usr/include -DENABLE_GMP=1 -I/data/dan/sim/dune-parallel/dune-grid -I/usr/include/superlu -DENABLE_SUPERLU -I/data/dan/sim/dune-parallel/dune-istl -O0 -g -Wall -MT integration-integration.o -MD -MP -MF .deps/integration-integration.Tpo -c -o integration-integration.o `test -f 'integration.cc' || echo './'`integration.cc
In Datei, eingefügt von /data/dan/sim/dune-parallel/dune-grid/dgfgridtype.hh:4,
                 von integration.cc:9:
/data/dan/sim/dune-parallel/dune-grid/gridtype.hh:47:6: Fehler: #error "Ambiguous definition of GRIDTYPE."
In file included from /data/dan/sim/dune-parallel/dune-grid/gridtype.hh:10,
                 from /data/dan/sim/dune-parallel/dune-grid/dgfgridtype.hh:4,
                 from integration.cc:9:
/data/dan/sim/dune-parallel/dune-grid/dune/grid/utility/griddim.hh:62: Fehler: redefinition of »const int Dune::GridSelector::dimgrid«
config.h:549: Fehler: »const int Dune::GridSelector::dimgrid« wurde vorher hier definiert
/data/dan/sim/dune-parallel/dune-grid/dune/grid/utility/griddim.hh:72: Fehler: redefinition of »const int Dune::GridSelector::dimworld«
config.h:550: Fehler: »const int Dune::GridSelector::dimworld« wurde vorher hier definiert

regards, dan

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=795

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.




More information about the Dune mailing list