Subject: CGAL users discussion list
List archive
- From: Tom Van Doorsselaere <>
- To:
- Subject: Re: [cgal-discuss] write out and read in (Delauney) triangulation
- Date: Tue, 12 May 2015 16:15:49 +0200
I have also used the clang++ compiler and icpc compiler (for CGAL and
the demo program). For both of these compilers I get the same assertion
fault.
Monique, what versions of CGAL and clang compiler did you use?
Tom
On 05/12/15 15:39, Tom Van Doorsselaere wrote:
> As promised, I have tested the code on two computers, with different
> versions of gcc (4.4.7 and 4.9.2) and with different combinations of
> flags. However, I always get stuck at the assertion violation.
>
> I have also tried CGAL version 4.3 and 4.0.2.
>
> I have further simplified the example (so it doesn't need gnu++0x
> anylonger, and fixing the space Monique pointed out). Now it compiles with
> g++ -frounding-math -lCGAL -lgmp -o testreadin testreadinwriteout.cpp
> but the problem persists.
>
> After running
> -----------------
>>> ./testreadin --write
> writing out triangulationGelukt
> -----------------
> the reading in of the triangulation fails:
>
> -----------------
>>> ./testreadin --read
> terminate called after throwing an instance of 'CGAL::Assertion_exception'
> what(): CGAL ERROR: assertion violation!
> Expr: false
> File: /usr/include/CGAL/Triangulation_3.h
> Line: 5330
> reading in triangulationAborted
> -----------------
>
> I will look into compiling CGAL with clang or icc. However, in the end,
> I suppose I would like to use gcc, because it is readily available on
> most systems.
>
> Can anybody reproduce the assertion using gcc on their computer?
>
> Thanks,
>
> Tom
>
>
> On 05/12/15 09:33, Tom Van Doorsselaere wrote:
>> Dear Monique,
>>
>> Thanks for your e-mail.
>>
>> This is very interesting indeed. It thus means that
>> - either it is a compiler issue,
>> - or I am forgetting a compiler flag or have a flag too much.
>>
>> I will try this afternoon with different versions of gcc and with a
>> combination of flags.
>>
>> Thanks for your input! I had not thought in this direction.
>>
>> Tom
>>
>>
>> On 05/11/15 19:14, Monique Teillaud wrote:
>>> Le 08/05/15 17:27, Tom Van Doorsselaere a écrit :
>>>> Dear CGAL enthousiasts,
>>>
>>> :)
>>> Dear Tom,
>>>
>>>> I'm building a program for the rendering of emission of solar coronal
>>>> models.
>>>
>>> This sounds very interesting.
>>>
>>> I tested your code on my laptop, with CGAL 4.6, both release and debug
>>> modes, clang 5.0.
>>>
>>> I had to add a space line 61 to avoid the consecutive >>
>>> vector<vector<double> > allvar;
>>> Then it compiled.
>>>
>>> teillaud@tzitziki:~/CGAL/test >./testreadinwriteout --write
>>> writing out triangulationGelukt
>>> teillaud@tzitziki:~/CGAL/test >./testreadinwriteout --read
>>> reading in triangulationGelukt
>>>
>>> If I understand correctly, this is the result that you expect. It seems
>>> to work like a charm...
>>>
>>> Best regards,
>>
>
- [cgal-discuss] write out and read in (Delauney) triangulation, Tom Van Doorsselaere, 05/08/2015
- Re: [cgal-discuss] write out and read in (Delauney) triangulation, Monique Teillaud, 05/11/2015
- Re: [cgal-discuss] write out and read in (Delauney) triangulation, Tom Van Doorsselaere, 05/12/2015
- Re: [cgal-discuss] write out and read in (Delauney) triangulation, Tom Van Doorsselaere, 05/12/2015
- Re: [cgal-discuss] write out and read in (Delauney) triangulation, Tom Van Doorsselaere, 05/12/2015
- Re: [cgal-discuss] write out and read in (Delauney) triangulation, Monique Teillaud, 05/12/2015
- Re: [cgal-discuss] write out and read in (Delauney) triangulation, Tom Van Doorsselaere, 05/13/2015
- Re: [cgal-discuss] write out and read in (Delauney) triangulation, Monique Teillaud, 05/13/2015
- Re: [cgal-discuss] write out and read in (Delauney) triangulation, Tom Van Doorsselaere, 05/13/2015
- Re: [cgal-discuss] write out and read in (Delauney) triangulation, Monique Teillaud, 05/12/2015
- Re: [cgal-discuss] write out and read in (Delauney) triangulation, Tom Van Doorsselaere, 05/12/2015
- Re: [cgal-discuss] write out and read in (Delauney) triangulation, Tom Van Doorsselaere, 05/12/2015
- Re: [cgal-discuss] write out and read in (Delauney) triangulation, Tom Van Doorsselaere, 05/12/2015
- Re: [cgal-discuss] write out and read in (Delauney) triangulation, Monique Teillaud, 05/11/2015
Archive powered by MHonArc 2.6.18.