I am using the perpetual beta version 20131011 on Ubuntu 12.04.3. The following commandos result in a segmentation fault:
Code: Select all
$M = new Matrix<Rational>([[0, 1, 0, 0, 0, 0, 0, 0, 0, 0],[0, 0, 0, 0, 0, 1, 0, 0, 0, 0],[0, 0, 0 ,0 ,0, 0, 0, 0, 0, 1],[0, 0 ,0 ,1, 0, 0, 0, 0, 0, 0],[0, 0, 0, 0, 1, 0, 0, 0, 0, 0],[0, 0, 0, 0, 0, 0, 1, 0, 0, 0],[0, 0, 1, 0, 0, 0, 0, 0, 0, 0],[0, 0, 0, 0, 0, 0, 0, 1, 0, 0],[0, 0, 0, 0, 0, 0, 0, 0, 1, 0],[1, 0, 0, 0, 0, 0, 0, 0, 0 ,0]]);
print totally_dual_integral($M);
and that seemed to work flawlessly.
Why is my example different?
Full polymake session is posted below because I am not allowed to attach files:
Code: Select all
Welcome to polymake version 2.12.5, released on October 10, 2013
Copyright (c) 1997-2013
Ewgenij Gawrilow, Michael Joswig (TU Berlin)
http://www.polymake.org
This is free software licensed under GPL; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Press F1 or enter 'help;' for basic instructions.
Application polytope currently uses following third-party software packages:
cddlib, geomview, graphviz, javaview, jreality, libnormaliz, lrslib, nauty, permlib, qhull, sketch, sympol, tosimplex
For more details: show_credits;
polytope > $M = new Matrix<Rational>([[0, 1, 0, 0, 0, 0, 0, 0, 0, 0],[0, 0, 0, 0, 0, 1, 0, 0, 0, 0],[0, 0, 0 ,0 ,0, 0, 0, 0, 0, 1],[0, 0 ,0 ,1, 0, 0, 0, 0, 0, 0],[0, 0, 0, 0, 1, 0, 0, 0, 0, 0],[0, 0, 0, 0, 0, 0, 1, 0, 0, 0],[0, 0, 1, 0, 0, 0, 0, 0, 0, 0],[0, 0, 0, 0, 0, 0, 0, 1, 0, 0],[0, 0, 0, 0, 0, 0, 0, 0, 1, 0],[1, 0, 0, 0, 0, 0, 0, 0, 0 ,0]]);
polytope > print totally_dual_integral($M);
polymake: used package cddlib
Implementation of the double description method of Motzkin et al.
Copyright by Komei Fukuda.
http://www.ifor.math.ethz.ch/~fukuda/cdd_home/cdd.html
polymake: used package libnormaliz
Normaliz is a tool for computations in affine monoids, vector configurations, lattice polytopes, and rational cones.
Copyright by Winfried Bruns, Bogdan Ichim, Christof Soeger.
http://www.math.uos.de/normaliz/
[1] 12585 segmentation fault (core dumped) ./polymake-beta-AMD
Hendrik