#12088: Make use of PALP for different dimensions
----------------------------------------------------+-----------------------
Reporter: novoselt | Owner: mhampton
Type: enhancement | Status:
needs_work
Priority: minor | Milestone: sage-5.1
Component: geometry | Resolution:
Keywords: toric | Work issues:
Report Upstream: N/A | Reviewers: Volker
Braun, Andrey Novoseltsev
Authors: Andrey Novoseltsev, Volker Braun | Merged in:
Dependencies: | Stopgaps:
----------------------------------------------------+-----------------------
Changes (by jdemeyer):
* status: positive_review => needs_work
Comment:
This seems to fail on `hawk` (OpenSolaris 06.2009-32):
{{{
sage -t --long -force_lib devel/sage/sage/geometry/lattice_polytope.py
**********************************************************************
File
"/export/home/buildbot/build/sage/hawk-1/hawk_suncc/build/sage-5.1.beta2/devel
/sage-main/sage/geometry/lattice_polytope.py", line 4896:
sage: LatticePolytope(identity_matrix(8))
Exception raised:
Traceback (most recent call last):
File
"/export/home/buildbot/build/sage/hawk-1/hawk_suncc/build/sage-5.1.beta2/local/bin/ncadoctest.py",
line 1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File
"/export/home/buildbot/build/sage/hawk-1/hawk_suncc/build/sage-5.1.beta2/local/bin/sagedoctest.py",
line 38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File
"/export/home/buildbot/build/sage/hawk-1/hawk_suncc/build/sage-5.1.beta2/local/bin/ncadoctest.py",
line 1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_117[4]>", line 1, in <module>
LatticePolytope(identity_matrix(Integer(8)))###line 4896:
sage: LatticePolytope(identity_matrix(8))
File
"/export/home/buildbot/build/sage/hawk-1/hawk_suncc/build/sage-5.1.beta2/local/lib/python
/site-packages/sage/geometry/lattice_polytope.py", line 291, in
LatticePolytope
return LatticePolytopeClass(data, desc, compute_vertices,
copy_vertices, n)
File
"/export/home/buildbot/build/sage/hawk-1/hawk_suncc/build/sage-5.1.beta2/local/lib/python
/site-packages/sage/geometry/lattice_polytope.py", line 457, in __init__
self._compute_dim(compute_vertices=True)
File
"/export/home/buildbot/build/sage/hawk-1/hawk_suncc/build/sage-5.1.beta2/local/lib/python
/site-packages/sage/geometry/lattice_polytope.py", line 663, in
_compute_dim
compute_vertices=True)
File
"/export/home/buildbot/build/sage/hawk-1/hawk_suncc/build/sage-5.1.beta2/local/lib/python
/site-packages/sage/geometry/lattice_polytope.py", line 291, in
LatticePolytope
return LatticePolytopeClass(data, desc, compute_vertices,
copy_vertices, n)
File
"/export/home/buildbot/build/sage/hawk-1/hawk_suncc/build/sage-5.1.beta2/local/lib/python
/site-packages/sage/geometry/lattice_polytope.py", line 457, in __init__
self._compute_dim(compute_vertices=True)
File
"/export/home/buildbot/build/sage/hawk-1/hawk_suncc/build/sage-5.1.beta2/local/lib/python
/site-packages/sage/geometry/lattice_polytope.py", line 657, in
_compute_dim
self._vertices = read_palp_matrix(self.poly_x("v"))
File
"/export/home/buildbot/build/sage/hawk-1/hawk_suncc/build/sage-5.1.beta2/local/lib/python
/site-packages/sage/geometry/lattice_polytope.py", line 2661, in poly_x
return self._palp("poly.x -f" + keys, reduce_dimension)
File
"/export/home/buildbot/build/sage/hawk-1/hawk_suncc/build/sage-5.1.beta2/local/lib/python
/site-packages/sage/geometry/lattice_polytope.py", line 1024, in _palp
self, self.vertices(), result)
ValueError: Error executing "poly-11d.x -fv" for the given polytope!
Polytope: A lattice polytope: 7-dimensional, 8 vertices.
Vertices:
[ 0 -1 -1 -1 -1 -1 -1 -1]
[ 0 1 0 0 0 0 0 0]
[ 0 0 1 0 0 0 0 0]
[ 0 0 0 1 0 0 0 0]
[ 0 0 0 0 1 0 0 0]
[ 0 0 0 0 0 1 0 0]
[ 0 0 0 0 0 0 1 0]
Output:
increase POLY_Dmax!
**********************************************************************
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12088#comment:17>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.