[sage-devel] Re: Error installing package gcc-5.4.0

2017-11-03 Thread Dima Pasechnik
On Friday, November 3, 2017 at 4:43:48 AM UTC, Travis Scrimshaw wrote: > > What version of Sage are you trying to install? I've found I need both > > https://trac.sagemath.org/ticket/24088 > https://trac.sagemath.org/ticket/24092 > > with 8.1.beta9. > > It looks like you have gcc 7.2.0 on your

[sage-devel] Re: Error installing package gcc-5.4.0

2017-11-03 Thread Travis Scrimshaw
> What version of Sage are you trying to install? I've found I need both >> >> https://trac.sagemath.org/ticket/24088 >> https://trac.sagemath.org/ticket/24092 >> >> with 8.1.beta9. >> >> It looks like you have gcc 7.2.0 on your system. Are g++ and gfortran the >> same version? Perhaps try

Re: [sage-devel] Re: Error installing package gcc-5.4.0

2017-11-03 Thread Jeroen Demeyer
On 2017-11-03 10:23, Travis Scrimshaw wrote: No, Sage automatically does not install gcc if the system versions of gcc, g++, and gfortran all match and are at least 5.4.0. The minimum version is 4.8 (not 5.4.0). But it's true that gcc, g++ and gfortran must have the same version number. --

[sage-devel] Re: Polyhedron.integral_points_count() gives inconsistent answers on slices

2017-11-03 Thread Simon King
I opened trac ticket #24152 for the bug in converting the polyhedron into polymake. On 2017-11-03, Simon King wrote: > First of all, there seems to be some bug in the polymake interface > (that I authored, so: Sorry...): > sage: P = Polyhedron(eqns = eqns, ieqs=ieqs) >

[sage-devel] Re: Polyhedron.integral_points_count() gives inconsistent answers on slices

2017-11-03 Thread 'Mark Bell' via sage-devel
Great suggestion. Could you ask polymake to compute what the number of lattice points in each x_0 = k (for k = 1, ..., 100) slice? Does it match: [84, 84, 84, 81, 81, 81, 75, 75, 75, 66, 66, 66, 54, 54, 54, 39, 39, 39, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

[sage-devel] Polyhedron.integral_points_count() gives inconsistent answers on slices

2017-11-03 Thread 'Mark Bell' via sage-devel
I want to count the number of integral points inside of a bounded polyhedron. The polyhedron is defined by the following system of equations: > eqns = [ [-100, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, -1, 0, 0, 0, 0, -1, 1, 1, 0, 0, 0, 0], [0, 0, 0, 0, 0, -1, 0, 0, 1, 1, -1, 0, 0], [0, 0, 0, 0,

[sage-devel] Re: Polyhedron.integral_points_count() gives inconsistent answers on slices

2017-11-03 Thread Simon King
Hi! On 2017-11-03, 'Mark Bell' via sage-devel wrote: > And so I did: >> Polyhedron(eqns=eqns, ieqs=ieqs).integral_points_count() > 1260 > > However, if I look at all of the slices obtained by fixing the first > variable x_0 (which must be 1 <= x_0 <= 100 by the

[sage-devel] Re: Sage Days next July in Zaragoza (Spain)

2017-11-03 Thread mmarco
Thank you all! If it is ok with you, I will create a wiki page to keep track of the organization details. As soon as we can close the dates (maybe next week), I) will let you know. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe

[sage-devel] Re: Polyhedron.integral_points_count() gives inconsistent answers on slices

2017-11-03 Thread Matthias Koeppe
On Friday, November 3, 2017 at 5:06:13 PM UTC-7, Matthias Koeppe wrote: > > On Friday, November 3, 2017 at 1:41:33 PM UTC-7, Mark Bell wrote: >> >> So when k = 19, sage.interfaces.latte.count >> >> >> and

[sage-devel] Re: Polyhedron.integral_points_count() gives inconsistent answers on slices

2017-11-03 Thread Matthias Koeppe
On Friday, November 3, 2017 at 1:41:33 PM UTC-7, Mark Bell wrote: > > So when k = 19, sage.interfaces.latte.count > > > and P.integral_points_count() give different answers. This seems to be the > cause of the

[sage-devel] Re: Polyhedron.integral_points_count() gives inconsistent answers on slices

2017-11-03 Thread Matthias Koeppe
On Friday, November 3, 2017 at 5:22:16 PM UTC-7, Matthias Koeppe wrote: > > On Friday, November 3, 2017 at 5:06:13 PM UTC-7, Matthias Koeppe wrote: >> >> On Friday, November 3, 2017 at 1:41:33 PM UTC-7, Mark Bell wrote: >>> >>> So when k = 19, sage.interfaces.latte.count >>>

[sage-devel] Re: Polyhedron.integral_points_count() gives inconsistent answers on slices

2017-11-03 Thread 'Mark Bell' via sage-devel
So when k = 19, sage.interfaces.latte.count and P.integral_points_count() give different answers. This seems to be the cause of the difference. Here is some more code showing the difference. -- You received

[sage-devel] Re: Polyhedron.integral_points_count() gives inconsistent answers on slices

2017-11-03 Thread Matthias Koeppe
On Friday, November 3, 2017 at 5:44:43 PM UTC-7, Matthias Koeppe wrote: > > On Friday, November 3, 2017 at 5:22:16 PM UTC-7, Matthias Koeppe wrote: >> >> On Friday, November 3, 2017 at 5:06:13 PM UTC-7, Matthias Koeppe wrote: >>> >>> On Friday, November 3, 2017 at 1:41:33 PM UTC-7, Mark Bell

[sage-devel] Re: Segfault in Expression.coefficients involving symbolic functions

2017-11-03 Thread Ralf Stephan
On Thursday, November 2, 2017 at 11:23:11 PM UTC+1, Eric Gourgoulhon wrote: > > Is this a known bug? > Thanks for the report. I opened https://trac.sagemath.org/ticket/24147 Regards, -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To