[Dune] state of Debian packages for dune

Ansgar Burchardt ansgar.burchardt at iwr.uni-heidelberg.de
Mon Apr 9 11:23:03 CEST 2012


Hi,

"Christoph GrĂ¼ninger" <christoph.grueninger at iws.uni-stuttgart.de>
writes:
> I just checked and both tests work for me (dune-grid r7984,
> opensuse 12.1, x64, gcc 4.6.2). Ansgar, maybe you can print
> out the values of the assertion? Maybe it's only a problem
> with floating point number comparison.

It works for me on amd64 as well and Debian's buildd for powerpc also
built the package successfully.  In addition the numbers look the same:

  geomCopy.global(pos) != glob: 0.0083333333333333332177 != 0.0083333333333333332177

I tried rebuilding with `-fpmath=sse' and the tests pass.  So this might
be caused by the 80bit precision the 387 FPU uses internally (as far as
I know this causes numeric differences if a value is stored in the main
memory and then loaded into a FPU register again).

Regards,
Ansgar




More information about the Dune mailing list