[aspect-devel] compile error on MAC OSX

Magali Billen mibillen at ucdavis.edu
Thu Jul 3 15:37:09 PDT 2014


Thanks for tracking this down... no problem waiting until next week for this.

Magali

On Jul 3, 2014, at 3:13 PM, Wolfgang Bangerth <bangerth at math.tamu.edu> wrote:

> 
>>>   "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
>> 
>> It might be that deal.II was compiled with a different standard
>> library (the ::__1::set looks suspicious), but I am not sure.
> 
> That's not the problem (std::__1 is simply the namespace in which Apple chooses to implement their standard library, following by something like
>  namespace std { using namespace __1; }
> 
> The real problem is that we do not explicitly instantiate this function:
> 
>  template <class DH>
>  void
>  extract_boundary_dofs (const DH                      &dof_handler,
>                         const ComponentMask       &component_mask,
>                         IndexSet             &selected_dofs,
>                         const std::set<types::boundary_id> &boundary_ids)
> 
> in dof_tools.inst.in. Magali's compiler decides simply not to export the implicit instantiation from the shared library. We need to add an explicit instantiation to the .inst.in file to make this work reliably.
> 
> I'm not in a position right now to make this change and test it until Monday, but if someone wants to try it I'm not going to object :-)
> 
> Cheers
> W.
> 
> 
> -- 
> ------------------------------------------------------------------------
> Wolfgang Bangerth               email:            bangerth at math.tamu.edu
>                                www: http://www.math.tamu.edu/~bangerth/
> 
> _______________________________________________
> Aspect-devel mailing list
> Aspect-devel at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/aspect-devel

-----------------------------------------------------------
Professor of Geophysics & UCD Chancellor Fellow
Chair, Geology Graduate Program
Earth & Planetary Sciences Dept., UC Davis
Davis, CA 95616
Room 2129 Earth & Physical Sciences Bldg.
Office Phone: (530) 752-4169
http://mygeologypage.ucdavis.edu/billen/
-----------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/aspect-devel/attachments/20140703/83c04493/attachment.html>


More information about the Aspect-devel mailing list