Skip to content

Instantly share code, notes, and snippets.

@zbyerly
Created September 10, 2014 16:26
Show Gist options
  • Save zbyerly/73853727a1debda0e744 to your computer and use it in GitHub Desktop.
Save zbyerly/73853727a1debda0e744 to your computer and use it in GitHub Desktop.
main.cpp: In instantiation of ‘void DomainCell::update(const NEIGHBORHOOD&, int) [with NEIGHBORHOOD = LibGeoDecomp::NeighborhoodAdapter<LibGeoDecomp::CoordMap<LibGeoDecomp::ContainerCell<DomainCell, 1000ul>, LibGeoDecomp::Grid<LibGeoDecomp::ContainerCell<DomainCell, 1000ul>, LibGeoDecomp::TopologiesHelpers::Topology<2, false, false, false> > >, 2, LibGeoDecomp::CollectionInterface::PassThrough<LibGeoDecomp::ContainerCell<DomainCell, 1000ul>, DomainCell, DomainCell*, const DomainCell*> >]’:
/usr/local/include/libgeodecomp/storage/containercell.h:183:13: required from ‘void LibGeoDecomp::ContainerCell<CARGO, SIZE, KEY>::updateCargo(HOOD_SELF&, HOOD_ALL&, int) [with HOOD_SELF = LibGeoDecomp::NeighborhoodAdapter<LibGeoDecomp::CoordMap<LibGeoDecomp::ContainerCell<DomainCell, 1000ul>, LibGeoDecomp::Grid<LibGeoDecomp::ContainerCell<DomainCell, 1000ul>, LibGeoDecomp::TopologiesHelpers::Topology<2, false, false, false> > >, 2, LibGeoDecomp::CollectionInterface::PassThrough<LibGeoDecomp::ContainerCell<DomainCell, 1000ul>, DomainCell, DomainCell*, const DomainCell*> >; HOOD_ALL = LibGeoDecomp::NeighborhoodAdapter<LibGeoDecomp::CoordMap<LibGeoDecomp::ContainerCell<DomainCell, 1000ul>, LibGeoDecomp::Grid<LibGeoDecomp::ContainerCell<DomainCell, 1000ul>, LibGeoDecomp::TopologiesHelpers::Topology<2, false, false, false> > >, 2, LibGeoDecomp::CollectionInterface::PassThrough<LibGeoDecomp::ContainerCell<DomainCell, 1000ul>, DomainCell, DomainCell*, const DomainCell*> >; CARGO = DomainCell; long unsigned int SIZE = 1000ul; KEY = int]’
/usr/local/include/libgeodecomp/storage/containercell.h:171:47: required from ‘void LibGeoDecomp::ContainerCell<CARGO, SIZE, KEY>::update(const HOOD&, int) [with HOOD = LibGeoDecomp::CoordMap<LibGeoDecomp::ContainerCell<DomainCell, 1000ul>, LibGeoDecomp::Grid<LibGeoDecomp::ContainerCell<DomainCell, 1000ul>, LibGeoDecomp::TopologiesHelpers::Topology<2, false, false, false> > >; CARGO = DomainCell; long unsigned int SIZE = 1000ul; KEY = int]’
/usr/local/include/libgeodecomp/storage/vanillaupdatefunctor.h:30:13: required from ‘void LibGeoDecomp::VanillaUpdateFunctor<CELL>::operator()(const LibGeoDecomp::Streak<LibGeoDecomp::VanillaUpdateFunctor<CELL>::DIM>&, const LibGeoDecomp::Coord<LibGeoDecomp::VanillaUpdateFunctor<CELL>::DIM>&, const GRID1&, GRID2*, unsigned int) [with GRID1 = LibGeoDecomp::DisplacedGrid<LibGeoDecomp::ContainerCell<DomainCell, 1000ul>, LibGeoDecomp::TopologiesHelpers::Topology<2, false, false, false>, false>; GRID2 = LibGeoDecomp::DisplacedGrid<LibGeoDecomp::ContainerCell<DomainCell, 1000ul>, LibGeoDecomp::TopologiesHelpers::Topology<2, false, false, false>, false>; CELL = LibGeoDecomp::ContainerCell<DomainCell, 1000ul>]’
/usr/local/include/libgeodecomp/storage/updatefunctor.h:154:96: required from ‘void LibGeoDecomp::UpdateFunctorHelpers::Selector<CELL>::operator()(const LibGeoDecomp::Region<LibGeoDecomp::UpdateFunctorHelpers::Selector<CELL>::DIM>&, const LibGeoDecomp::Coord<LibGeoDecomp::UpdateFunctorHelpers::Selector<CELL>::DIM>&, const LibGeoDecomp::Coord<LibGeoDecomp::UpdateFunctorHelpers::Selector<CELL>::DIM>&, const GRID1&, GRID2*, unsigned int, LibGeoDecomp::APITraits::FalseType, LibGeoDecomp::APITraits::FalseType, ANY_API) [with GRID1 = LibGeoDecomp::DisplacedGrid<LibGeoDecomp::ContainerCell<DomainCell, 1000ul>, LibGeoDecomp::TopologiesHelpers::Topology<2, false, false, false>, false>; GRID2 = LibGeoDecomp::DisplacedGrid<LibGeoDecomp::ContainerCell<DomainCell, 1000ul>, LibGeoDecomp::TopologiesHelpers::Topology<2, false, false, false>, false>; ANY_API = LibGeoDecomp::APITraits::FalseType; CELL = LibGeoDecomp::ContainerCell<DomainCell, 1000ul>]’
/usr/local/include/libgeodecomp/storage/updatefunctor.h:187:65: required from ‘void LibGeoDecomp::UpdateFunctor<CELL>::operator()(const LibGeoDecomp::Region<LibGeoDecomp::UpdateFunctor<CELL>::DIM>&, const LibGeoDecomp::Coord<LibGeoDecomp::UpdateFunctor<CELL>::DIM>&, const LibGeoDecomp::Coord<LibGeoDecomp::UpdateFunctor<CELL>::DIM>&, const GRID1&, GRID2*, unsigned int) [with GRID1 = LibGeoDecomp::DisplacedGrid<LibGeoDecomp::ContainerCell<DomainCell, 1000ul>, LibGeoDecomp::TopologiesHelpers::Topology<2, false, false, false>, false>; GRID2 = LibGeoDecomp::DisplacedGrid<LibGeoDecomp::ContainerCell<DomainCell, 1000ul>, LibGeoDecomp::TopologiesHelpers::Topology<2, false, false, false>, false>; CELL = LibGeoDecomp::ContainerCell<DomainCell, 1000ul>]’
/usr/local/include/libgeodecomp/parallelization/serialsimulator.h:133:100: required from ‘void LibGeoDecomp::SerialSimulator<CELL_TYPE>::nanoStep(const unsigned int&) [with CELL_TYPE = LibGeoDecomp::ContainerCell<DomainCell, 1000ul>]’
/usr/local/include/libgeodecomp/parallelization/serialsimulator.h:84:23: required from ‘void LibGeoDecomp::SerialSimulator<CELL_TYPE>::step(LibGeoDecomp::SerialSimulator<CELL_TYPE>::SteererFeedback*) [with CELL_TYPE = LibGeoDecomp::ContainerCell<DomainCell, 1000ul>; LibGeoDecomp::SerialSimulator<CELL_TYPE>::SteererFeedback = LibGeoDecomp::Steerer<LibGeoDecomp::ContainerCell<DomainCell, 1000ul> >::SteererFeedback]’
/usr/local/include/libgeodecomp/parallelization/serialsimulator.h:109:27: required from ‘void LibGeoDecomp::SerialSimulator<CELL_TYPE>::run() [with CELL_TYPE = LibGeoDecomp::ContainerCell<DomainCell, 1000ul>]’
main.cpp:727:13: required from here
main.cpp:136:18: error: cannot convert ‘const LibGeoDecomp::NeighborhoodAdapter<LibGeoDecomp::CoordMap<LibGeoDecomp::ContainerCell<DomainCell, 1000ul>, LibGeoDecomp::Grid<LibGeoDecomp::ContainerCell<DomainCell, 1000ul>, LibGeoDecomp::TopologiesHelpers::Topology<2, false, false, false> > >, 2, LibGeoDecomp::CollectionInterface::PassThrough<LibGeoDecomp::ContainerCell<DomainCell, 1000ul>, DomainCell, DomainCell*, const DomainCell*> >*’ to ‘const Neighborhood* {aka const LibGeoDecomp::NeighborhoodAdapter<LibGeoDecomp::CoordMap<LibGeoDecomp::ContainerCell<DomainCell, 1000ul>, LibGeoDecomp::Grid<LibGeoDecomp::ContainerCell<DomainCell, 1000ul>, LibGeoDecomp::TopologiesHelpers::Topology<2, false, false, false> > >, 2, DomainCell>*}’ in assignment
neighborhood = &hood;
^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment