Search found 268 matches

Go to advanced search

by gawrilow
23 Aug 2019, 22:54
Forum: Helpdesk
Topic: Can't find a valid termcap file
Replies: 10
Views: 1731

Re: Can't find a valid termcap file

It's indeed a funny response. But you forgot the letter 'b' at the beginning - it means "set a breakpoint". Without 'b' it became a normal user command which tried to interpret a perl module as polymake data file. Or something else similar weird.
by gawrilow
23 Aug 2019, 16:27
Forum: Helpdesk
Topic: Can't find a valid termcap file
Replies: 10
Views: 1731

Re: Can't find a valid termcap file

Start polymake under perl debugger: $ perl -d where/it/is/bin/polymake On the debugger prompt "DB<1>", enter b load /usr/share/perl5/core_perl/Term/Cap.pm c When is stops, enter b Tgetent c When it stops again, step through line by line, using "n" and "s" commands, like in gdb. Another important com...
by gawrilow
22 Aug 2019, 17:06
Forum: Helpdesk
Topic: Can't find a valid termcap file
Replies: 10
Views: 1731

Re: Can't find a valid termcap file

Well, then the only way to investigate the root cause of the error is to descend with perl debugger into Term::Cap...
by gawrilow
22 Aug 2019, 00:16
Forum: Helpdesk
Topic: Can't find a valid termcap file
Replies: 10
Views: 1731

Re: Can't find a valid termcap file

Just tested on my ubuntu 18.04 with both TERM=xterm-256color and TERM=rxvt-unicode-256color, polymake works without complaints. Both settings are valid because there are corresponding files installed with ncurses-base package: /lib/terminfo/x/xterm-256color and /lib/terminfo/r/rxvt-unicode-256color....
by gawrilow
22 Aug 2019, 00:05
Forum: Helpdesk
Topic: polytope over quadratic number fields
Replies: 10
Views: 156

Re: polytope over quadratic number fields

Though it would help if you can demonstrate how to manipulate QuadraticExtension in polymake. Namely, construct a polyhedron from its list of vertices in coordinates. The documentation that I found is very limited... Do you mean the documentation of polymake itself or the Sage interface? Our tutori...
by gawrilow
18 Jul 2019, 19:01
Forum: Installing polymake
Topic: Compilation error during execution
Replies: 2
Views: 97

Re: Compilation error during execution

I reckon, it's your own code or something contributed by your colleagues, because there is no such file "unimodularity-test.cpp" in the polymake sources. The error is easy to fix if you follow the compiler error messages: no matching function for call to 'pm::perl::Object::Object(const char*)' ... c...
by gawrilow
12 Jul 2019, 10:41
Forum: Helpdesk
Topic: scripting
Replies: 2
Views: 110

Re: scripting

You should not try to call polymake from a script, rather let it execute your script. The only change you need to give to your initial code snippet is to insert the line at the very beginning: use application "polytope"; and to introduce local variables with "my" or "declare" at the places of their ...
by gawrilow
10 Jun 2019, 12:02
Forum: Helpdesk
Topic: project a polytope
Replies: 3
Views: 214

Re: project a polytope

The choice of coordinate data type does not mess with anything, it should just reflect the nature of your input. Rational is the default choice in polymake, and this is appropriate in most standard cases. Float is also supported, but the outcome of many computations is not that reliable because of u...
by gawrilow
04 Jun 2019, 22:01
Forum: Helpdesk
Topic: Calling polymake from another program on a mac
Replies: 5
Views: 254

Re: Calling polymake from another program on a mac

There is a subtle difference between scripts and interactive shell input. Scripts are evaluated more strictly, every variable must be declared. Interactive mode is more sloppy, it allows to introduce new variables just by assignment. You are calling polymake in script mode, hence the error message. ...
by gawrilow
03 Jun 2019, 23:08
Forum: Helpdesk
Topic: Calling polymake from another program on a mac
Replies: 5
Views: 254

Re: Calling polymake from another program on a mac

Without seeing any error messages or code examples I can't give any concrete advice, just some general hints. There are several different ways how polymake can be integrated with other software, all of them are supposed to be generic enough to work under all UNIX-like systems, including Linux and Ma...

Go to advanced search

cron