dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #17484
Re: CGAL error
On Wed, Feb 10, 2010 at 11:04:57AM +0100, Niclas Jansson wrote:
> Anders Logg <logg@xxxxxxxxx> writes:
>
> > On Wed, Feb 10, 2010 at 09:31:06AM +0000, Garth N. Wells wrote:
> >> I get occasionally get a CGAL error when running DOLFIN:
> >>
> >> terminate called after throwing an instance of 'CGAL::Assertion_exception'
> >> what(): CGAL ERROR: assertion violation!
> >> Expr: -CGAL_IA_MUL(-1.1, 10.1) != CGAL_IA_MUL(1.1, 10.1)
> >> File: /home/garth/local/include/CGAL/Interval_nt.h
> >> Line: 158
> >> Explanation: Wrong rounding: did you forget the -frounding-math option
> >> if you use GCC?
> >> ==10917==
> >>
> >> It typically arises when trying to run inside a debugger, etc. Has
> >> anyone else seen this? I do compile with '-frounding-math'.
> >>
> >> Garth
> >
> > Yes, I've seen this too when trying to debug some code. It's quite
> > annoying. It's somewhat similar to PETSc in that CGAL seems to go in
> > and catch errors and prevent debugging. I don't know what to do about
> > it.
> >
>
>
> You can disable these checks by recompiling CGAL,
> http://www.cgal.org/Manual/3.3/doc_html/Developers_manual/Developers_manual/Chapter_checks.html#Section_5.2
>
> As for PETSc, the command line argument '-no_signal_handler' removes
> most of the annoying stuff.
ok, thanks!
--
Anders
Attachment:
signature.asc
Description: Digital signature
References