#159 Bug in ALUGrid communication
Metadata
Property | Value |
---|---|
Reported by | Markus Blatt (markus@dr-blatt.de) |
Reported at | Jul 26, 2006 11:20 |
Type | Bug Report |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Closed by | Robert K (robertk@posteo.org) |
Closed at | Jul 26, 2006 11:57 |
Closed in version | 1.0 |
Resolution | Fixed |
Comment | should work now. |
Description
I am trying to get the code running with my application.
Unfortunately something in the communicate routines of alugrid seems to be broken. When compile testadaptivity in dune-dd I get the following errors:
make[1]: Entering directory /home/mblatt/dune/dune-dd' if g++-4.0 -DHAVE_CONFIG_H -I. -I. -I. -I/home/mblatt/dune/dune-common -I/home/mblatt/dune/dune-common -I/home/mblatt/dune/dune-grid -I/home/mblatt/dune/dune-common -I/home/mblatt/dune/dune-common -I/home/mblatt/dune/dune-grid -I/home/mblatt/dune/dune-disc -I/home/mblatt/dune/dune-common -I/home/mblatt/dune/dune-common -I/home/mblatt/dune/dune-grid -I/home/mblatt/dune/dune-common -I/home/mblatt/dune/dune-common -I/home/mblatt/dune/dune-grid -I/home/mblatt/dune/dune-disc -I/home/mblatt/dune/dune-istl -I. -I/usr/lib/lam/include -pthread -DMPIPP_H -DENABLE_MPI=1 -I/home/mblatt/dune/3rdParty/grids/alberta-install/include -I/home/mblatt/dune/3rdParty/grids/amiramesh/include -I/usr/include/superlu -I/home/mblatt/dune/3rdParty/grids/alugrid-install/include -I/home/mblatt/dune/3rdParty/grids/alugrid-install/include/serial -I/home/mblatt/dune/3rdParty/grids/alugrid-install/include/duneinterface -I/home/mblatt/dune/3rdParty/grids/alugrid-install/include/parallel -I/home/mblatt/dune/dune-common -I/home/mblatt/dune/dune-common -I/home/mblatt/dune/dune-common -I/home/mblatt/dune/dune-grid -I/home/mblatt/dune/dune-common -I/home/mblatt/dune/dune-common -I/home/mblatt/dune/dune-grid -I/home/mblatt/dune/dune-common -I/home/mblatt/dune/dune-common -I/home/mblatt/dune/dune-grid -I/home/mblatt/dune/dune-disc -I/home/mblatt/dune/dune-common -I/home/mblatt/dune/dune-common -I/home/mblatt/dune/dune-grid -I/home/mblatt/dune/dune-common -I/home/mblatt/dune/dune-common -I/home/mblatt/dune/dune-grid -I/home/mblatt/dune/dune-disc -I/home/mblatt/dune/dune-common -I/home/mblatt/dune/dune-common -I/home/mblatt/dune/dune-grid -I/home/mblatt/dune/dune-common -I/home/mblatt/dune/dune-common -I/home/mblatt/dune/dune-grid -I/home/mblatt/dune/dune-disc -I/home/mblatt/dune/dune-istl -O0 -g -MT testadaptivity-testadaptivity.o -MD -MP -MF ".deps/testadaptivity-testadaptivity.Tpo" -c -o testadaptivity-testadaptivity.o
test -f 'testadaptivity.cc' || echo './'`testadaptivity.cc;
then mv -f ".deps/testadaptivity-testadaptivity.Tpo" ".deps/testadaptivity-testadaptivity.Po"; else rm -f ".deps/testadaptivity-testadaptivity.Tpo"; exit 1; fi
In file included from /home/mblatt/dune/3rdParty/grids/alugrid-install/include/alugrid_parallel.h:11,
from /home/mblatt/dune/dune-grid/dune/grid/alugrid/3d/alu3dinclude.hh:35,
from /home/mblatt/dune/dune-grid/dune/grid/alugrid/3d/indexsets.hh:17,
from /home/mblatt/dune/dune-grid/dune/grid/alugrid.hh:5,
from testadaptivity.cc:88:
/home/mblatt/dune/3rdParty/grids/alugrid-install/include/alugrid_serial.h:5:2: warning: #warning -- Compiling ALUGrid code in debug mode !!! Use -DNDEBUG to get more optimized code!!!
In file included from /home/mblatt/dune/dune-grid/dune/grid/alugrid/2d/alu2dinclude.hh:4,
from /home/mblatt/dune/dune-grid/dune/grid/alugrid/2d/grid.hh:5,
from /home/mblatt/dune/dune-grid/dune/grid/alugrid.hh:12,
from testadaptivity.cc:88:
/home/mblatt/dune/3rdParty/grids/alugrid-install/include/alugrid_2d.h:5:2: warning: #warning -- Compiling ALUGrid code in debug mode !!! Use -DNDEBUG to get more optimized code!!!
/home/mblatt/dune/dune-grid/dune/grid/alugrid/3d/datahandle.hh: In member function 'void ALUGridSpace::GatherScatterBaseImpl<GridType, DataCollectorType, codim>::sendData(ALUGridSpace::ObjectStreamImpl&, typename Dune::ALU3dImplTraitsGridImp::elementType::Codim::InterfaceType&) [with GridType = Dune::ALU3dGrid<3, 3, hexa>, DataCollectorType = Dune::P1ExtendOverlap<Dune::ALUCubeGrid<3, 3>, Dune::IndexSet<Dune::ALU3dGrid<3, 3, hexa>, Dune::DefaultLevelIndexSet<Dune::ALU3dGrid<3, 3, hexa> >, Dune::DefaultLevelIteratorTypes<Dune::ALU3dGrid<3, 3, hexa> > >, Dune::MultipleCodimMultipleGeomTypeMapper<Dune::ALUCubeGrid<3, 3>, Dune::IndexSet<Dune::ALU3dGrid<3, 3, hexa>, Dune::DefaultLevelIndexSet<Dune::ALU3dGrid<3, 3, hexa> >, Dune::DefaultLevelIteratorTypes<Dune::ALU3dGrid<3, 3, hexa> > >, Dune::P1OperatorBase<Dune::ALUCubeGrid<3, 3>, double, Dune::IndexSet<Dune::ALU3dGrid<3, 3, hexa>, Dune::DefaultLevelIndexSet<Dune::ALU3dGrid<3, 3, hexa> >, Dune::DefaultLevelIteratorTypes<Dune::ALU3dGrid<3, 3, hexa> > >, Dune::LevelCommunicate<Dune::ALUCubeGrid<3, 3> >, 1>::P1Layout>, Dune::LevelCommunicate<Dune::ALUCubeGrid<3, 3> > >::BorderLinksExchange, int codim = 1]':
testadaptivity.cc:665: instantiated from here
/home/mblatt/dune/dune-grid/dune/grid/alugrid/3d/datahandle.hh:75: error: no matching function for call to 'Dune::ALU3dGridEntity<1, 3, const Dune::ALU3dGrid<3, 3, hexa> >::setElement(ALUGridSpace::Gitter::hface&)'
/home/mblatt/dune/dune-grid/dune/grid/alugrid/3d/entity_imp.cc:87: note: candidates are: void Dune::ALU3dGridEntity<cd, dim, GridImp>::setElement(const typename Dune::ALU3dImplTraitsGridImp::elementType::Codim::InterfaceType&, int, int, int) [with int cd = 1, int dim = 3, GridImp = const Dune::ALU3dGrid<3, 3, hexa>]
/home/mblatt/dune/dune-grid/dune/grid/alugrid/3d/entity.hh:89: note: void Dune::ALU3dGridEntity<cd, dim, GridImp>::setElement(const ALUGridSpace::HElementType&, const ALUGridSpace::VertexType&) [with int cd = 1, int dim = 3, GridImp = const Dune::ALU3dGrid<3, 3, hexa>]
Just to prevent confusion:
I do not use ALU3dGrid or ALU2dGrid anymore but only the nonedeprecated grids ALuSimplexGrid and ALUCubeGrid.