[aspect-devel] Compilation error

Lev Karatun lev.karatun at gmail.com
Wed Nov 16 12:50:36 PST 2016


Hi,

I'm getting an error when trying to compile aspect (both aspect and dealII
are latest development versions).

[  0%] Building CXX object CMakeFiles/aspect.dir/source/particle/world.cc.o
/home/r/russ/lkaratun/aspect/aspect/source/particle/world.cc: In member
function 'void aspect::Particle::World<dim>::send_recv_particles(const
std::vector<std::vector<std::pair<std::pair<int, int>,
aspect::Particle::Particle<dim> > > >&,
std::vector<std::pair<std::pair<int, int>, aspect::Particle::Particle<dim>
> >&)':
/home/r/russ/lkaratun/aspect/aspect/source/particle/world.cc:1035:47:
error: 'binary_type' is not a member of 'dealii::CellId'
       const unsigned int cellid_size = sizeof(CellId::binary_type);
                                               ^
/home/r/russ/lkaratun/aspect/aspect/source/particle/world.cc:1066:21:
error: 'binary_type' in 'class dealii::CellId' does not name a type
               const CellId::binary_type cellid = cell->id().template
to_binary<dim>();
                     ^
/home/r/russ/lkaratun/aspect/aspect/source/particle/world.cc:1067:29:
error: 'cellid' was not declared in this scope
               memcpy(data, &cellid, cellid_size);
                             ^
/home/r/russ/lkaratun/aspect/aspect/source/particle/world.cc:1129:11:
error: 'binary_type' is not a member of 'dealii::CellId'
           CellId::binary_type binary_cellid;
           ^
/home/r/russ/lkaratun/aspect/aspect/source/particle/world.cc:1129:31:
error: expected ';' before 'binary_cellid'
           CellId::binary_type binary_cellid;
                               ^
/home/r/russ/lkaratun/aspect/aspect/source/particle/world.cc:1130:19:
error: 'binary_cellid' was not declared in this scope
           memcpy(&binary_cellid, recv_data_it, cellid_size);
                   ^
make[2]: *** [CMakeFiles/aspect.dir/source/particle/world.cc.o] Error 1
make[1]: *** [CMakeFiles/aspect.dir/all] Error 2
make: *** [all] Error 2

Best regards,
Lev Karatun.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/aspect-devel/attachments/20161116/cd91a9d6/attachment.html>


More information about the Aspect-devel mailing list