Re: [sage-devel] Re: sage built with icc/icpc/gfortran

2017-06-27 Thread Thierry Dumont
Be careful with icc compiler family. It is relatively frequent to get small differences between gcc and icc floating (double/float) computations.A specialist of floating point said that icc build faster programs fro two reasons: 1) Intel knows his processors, 2) they make excessive assumptions on

Re: [sage-devel] Re: sage built with icc/icpc/gfortran

2017-06-27 Thread Ralf Stephan
On Wednesday, June 28, 2017 at 4:42:22 AM UTC+2, François Bissey wrote: > > sage: q = RDF.pi()/3 > sage: i = q.cos() > sage: q - i.arccos() > -2.220446049250313e-16 > > sage: q - RDF(1/2).arccos() -2.220446049250313e-16 on a gcc-based system. Not sure about relevance. -- You received this m

Re: [sage-devel] Re: sage built with icc/icpc/gfortran

2017-06-27 Thread François Bissey
On 28/06/17 10:51, François Bissey wrote: with the peculiar being: ** File "src/sage/rings/real_double.pyx", line 2296, in sage.rings.real_double.RealDoubleElement.arccos Failed example: i.arccos() == q Expected: True

[sage-devel] Re: sage built with icc/icpc/gfortran

2017-06-27 Thread François Bissey
On Tuesday, June 27, 2017 at 10:14:30 PM UTC+12, François Bissey wrote: > > Well after realising that in its current state #12426/#22646/#23046 > would at least let me try to build sage with the intel compiler, > I just did go ahead and got myself an open source license. > > On top of the abov

[sage-devel] Re: Category question: how to get base ring?

2017-06-27 Thread Nils Bruin
On Tuesday, June 27, 2017 at 3:34:46 PM UTC+2, Travis Scrimshaw wrote: > > > Although not tall categories are defined over the exact base ring of the > algebra, but recall that sometimes instead they are given over a category > like Rings or Fields(). > If I recall correctly, you should expect

Re: [sage-devel] Re: Category question: how to get base ring?

2017-06-27 Thread Jeroen Demeyer
On 2017-06-27 15:34, Travis Scrimshaw wrote: If I understand what you're asking correctly, you can just ask for the base ring of the category: For that to work, I first need to know that category and that's exactly my problem. Inside the ParentMethods of a category C, I don't know how to get

[sage-devel] Re: Jupyter notebook: typeset formulas in pdf-export

2017-06-27 Thread Eric Gourgoulhon
Hi, As Jupyter is becoming the default notebook in Sage 8.0, I guess it would be nice to fix this, otherwise many users could be quite disappointed when getting such a bad pdf export of their notebooks. I've opened the ticket https://trac.sagemath.org/ticket/23330 although I've no clue how to pr

[sage-devel] Re: Category question: how to get base ring?

2017-06-27 Thread Travis Scrimshaw
On Tuesday, June 27, 2017 at 4:31:44 AM UTC-5, Jeroen Demeyer wrote: > > Suppose that R is some parent which is contained in the category > Algebras(B) for some ring B, how does one determine B from the parent R? > > I am asking because I want to implement a new method in the > ParentMethods o

[sage-devel] Re: clang on OS X and beyond

2017-06-27 Thread Dima Pasechnik
The recent update of #22679 shows that on FreeBSD 11.0 we are down to a couple of seemingly minor test failures for esoteric features, and a couple of test failures with numerical noise (also seen on OSX clang builds). So as soon as #12426 is ready, we can also (re)enable Sage FreeBSD, I think.

[sage-devel] sage built with icc/icpc/gfortran

2017-06-27 Thread François Bissey
Well after realising that in its current state #12426/#22646/#23046 would at least let me try to build sage with the intel compiler, I just did go ahead and got myself an open source license. On top of the above tickets I had to patch _2_ packages to finish the build. * sqlite [icc has all the pra

[sage-devel] Category question: how to get base ring?

2017-06-27 Thread Jeroen Demeyer
Suppose that R is some parent which is contained in the category Algebras(B) for some ring B, how does one determine B from the parent R? I am asking because I want to implement a new method in the ParentMethods of Algebras, which needs to refer to the base_ring of the category. I feel like Pa

Re: [sage-devel] Simple new patchbot feature I'd like to add

2017-06-27 Thread Erik Bray
On Mon, Jun 26, 2017 at 7:38 PM, Daniel Krenn wrote: > On 2017-06-26 13:26, Erik Bray wrote: >> I submitted a PR [1] to the sage patchbot to add a feature I would >> like to have, that re-runs failed tests one or more times. If >> previously failing tests pass on a repeat attempt then the test is