[aspect-devel] compile error on MAC OSX

Magali Billen mibillen at ucdavis.edu
Mon Jul 7 13:50:59 PDT 2014


Hello Wolfgang,

I can’t apply the patch because I installed deal II using the deal.II-bundle-8.1.mpkg file
which I found via the deal.II downloads page (its on a google drive).

Since that install precompiled files, I don’t have the source to patch, and if I download the 
the patch, then I have to recompile, but I’m concerned that won’t work since I started from the
mpkg file? In which case, maybe I need to start from scratch and compile everything myself?

Magali

On Jul 4, 2014, at 1:05 AM, Wolfgang Bangerth <bangerth at math.tamu.edu> wrote:

> 
>> 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.
> 
> Magali -- can you try to apply the attached patch to your local deal.II installation, re-compile the library (no need to re-run cmake if you still have the build directory around) and then see if you can link Aspect?
> 
> Best
> Wolfgang
> 
> 
> -- 
> ------------------------------------------------------------------------
> Wolfgang Bangerth               email:            bangerth at math.tamu.edu
>                                www: http://www.math.tamu.edu/~bangerth/
> 
> <patch-doftools.txt>_______________________________________________
> 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
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/20140707/dbc807e7/attachment.html>


More information about the Aspect-devel mailing list