Page 1 of 1

ERROR: Package "Polytope" does not exist

Posted: 14 Feb 2011, 08:41
by jfine
I've upgraded from Ubuntu 9.4 (?) to 10.4 and polymake stopped working. So I downloaded and rebuilt from source. I'm now getting (for both 2.8 and 2.9):

$ cat temp.polymake.pl
new Polytope<Rational>;

$ polymake --version
polymake version 2.9.8, released on March 03, 2010
Copyright (c) 1997-2010
Ewgenij Gawrilow, Michael Joswig (TU Darmstadt)
http://www.polymake.de

$ polymake --script temp.polymake.pl
polymake: ERROR: "/path/to/file/temp.polymake.pl", line 1: Package "Polytope" does not exist


I'm now going to try 2.7.


Jonathan

Re: ERROR: Package "Polytope" does not exist

Posted: 16 Feb 2011, 11:01
by jfine
Version 2.7 works for me. So it's not urgent (for me) but it will make it hard for other to use my scripts, and so a proper fix would be good.

Re: ERROR: Package "Polytope" does not exist

Posted: 16 Feb 2011, 11:20
by paffenholz
polymakes needs to know about the application it should load to work with the script, so in your case you should start your file with

Code: Select all

use application 'polytope';
That should hopefully solve the issue.

Andreas

Re: ERROR: Package "Polytope" does not exist

Posted: 16 Feb 2011, 16:36
by gawrilow
You might also find useful the following in-depth scripting manual: http://www.polymake.org/doku.php/scripting/start.