[aspect-devel] Installation error

Lev Karatun lev.karatun at gmail.com
Thu Nov 20 00:15:47 PST 2014


Hello,

I'm trying to install Aspect on a Mac, but am getting the error:

*[100%] Building CXX object
CMakeFiles/aspect.dir/source/velocity_boundary_conditions/interface.cc.o*
*[100%] Building CXX object
CMakeFiles/aspect.dir/source/velocity_boundary_conditions/zero_velocity.cc.o*
*Linking CXX executable aspect*
*Undefined symbols for architecture x86_64:*
*  "void dealii::DoFTools::extract_boundary_dofs<dealii::DoFHandler<2, 2>
>(dealii::DoFHandler<2, 2> const&, dealii::ComponentMask const&,
dealii::IndexSet&, std::__1::set<unsigned char, std::__1::less<unsigned
char>, std::__1::allocator<unsigned char> > const&)", referenced from:*
*      aspect::Simulator<2>::FreeSurfaceHandler::make_constraints() in
freesurface.cc.o*
*  "void dealii::DoFTools::extract_boundary_dofs<dealii::DoFHandler<3, 3>
>(dealii::DoFHandler<3, 3> const&, dealii::ComponentMask const&,
dealii::IndexSet&, std::__1::set<unsigned char, std::__1::less<unsigned
char>, std::__1::allocator<unsigned char> > const&)", referenced from:*
*      aspect::Simulator<3>::FreeSurfaceHandler::make_constraints() in
freesurface.cc.o*
*ld: symbol(s) not found for architecture x86_64*
*clang: error: linker command failed with exit code 1 (use -v to see
invocation)*
*make[2]: *** [aspect] Error 1*
*make[1]: *** [CMakeFiles/aspect.dir/all] Error 2*
*make: *** [all] Error 2*


I found a thread in which the same problem was discussed:
https://geodynamics.org/pipermail/aspect-devel/2014-July/000615.html

The problem is - I do need the free surface, so I don't want to comment it
out. Is there some other way to solve this error?
I also saw the suggestion from Wolfgang Bangerth to apply a patch, but I
don't know how to do it. If it's something that sdtill should be tried,
could you please explain in a bit more detail how to do it?

Thanks in advance!

Lev Karatun.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/aspect-devel/attachments/20141120/ae903115/attachment.html>


More information about the Aspect-devel mailing list