[aspect-devel] Compilation error

John Naliboff jbnaliboff at ucdavis.edu
Wed Nov 16 13:26:54 PST 2016


Hi Lev,

When was the last commit for deal.II?  I just compiled the latest development version of ASPECT (as of today) with the development version of deal.II.  

The last commit for deal.II was November 8 (Introduce configuration variable CUDA_DIR to select CUDA installation).  

What is the last deal.ii commit on your version?  Did you build deal.II completely from scratch and do a ‘make distclean’ before compiling ASPECT?  I’ve been caught once or twice with ASPECT compiling issues when I had not fully rebuilt deal.II.

Cheers,
John

*************************************************
John Naliboff
Assistant Project Scientist, CIG
Earth & Planetary Sciences Dept., UC Davis






> On Nov 16, 2016, at 12:50 PM, Lev Karatun <lev.karatun at gmail.com> wrote:
> 
> 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.
> _______________________________________________
> Aspect-devel mailing list
> Aspect-devel at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/aspect-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/aspect-devel/attachments/20161116/9c69a348/attachment.html>


More information about the Aspect-devel mailing list