[petsc-dev] Reminder: *every* symbol with extern linkage *must* be namespaced

Matthew Knepley knepley at gmail.com
Mon Mar 19 10:05:39 CDT 2012


On Mon, Mar 19, 2012 at 10:03 AM, Jed Brown <jedbrown at mcs.anl.gov> wrote:

> 2012/3/19 Satish Balay <balay at mcs.anl.gov>
>
>> The other issue here is: multiple library conflict. If there is a user
>> using tetgen directly [and has a separate install of it] - and also
>> uses petsc from the same code , then there could be duplicate symbol
>> issue. [Now the solution is - don't link with a separate tegen - just
>> link with petsc - but thats generally not good.]
>>
>
> Matt has significantly modified tetgen (removing its superfluous use of
> C++) so all these symbols are different.
>

AND you could have tested your assumption of a problem by trying it with
--download-tetgen, which
works because this is how I tested it. The --download-ctetgen option will
work shortly.

What is this with criticizing what I do before even finding out what I
actually did?

   Matt

-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120319/182f0b98/attachment.html>


More information about the petsc-dev mailing list