Search found 337 matches

Go to advanced search

by gawrilow
16 Jul 2023, 23:35
Forum: Installing polymake
Topic: perl 5.38.0
Replies: 16
Views: 20882

Re: perl 5.38.0

Indeed, we are aware of the incompatibility problem with perl 5.38. There is no simple cure against the symbol hiding introduced there. Eventually polymake will lose the mandatory perl bindings, but this refactoring is still work in progress and there is no clear timeline yet for the completion. The...
by gawrilow
17 Mar 2023, 12:16
Forum: Helpdesk
Topic: Fourier-Motzkin Elimination and the projection method
Replies: 7
Views: 10358

Re: Fourier-Motzkin Elimination and the projection method

It turns out that the projection function in polymake is severely broken: it treats the input with EQUALITY property in a highly inefficient manner, leading to a combinatorial exposion. The "nofm" option is also implemented wrongly, it produces just an empty cone object when the input is a...
by gawrilow
16 Mar 2023, 17:50
Forum: Helpdesk
Topic: Fourier-Motzkin Elimination and the projection method
Replies: 7
Views: 10358

Re: Fourier-Motzkin Elimination and the projection method

Indeed, the process "explodes", allocating about 1GB memory every second. Adding "nofm" option did not help either. Keep investigating...
by gawrilow
14 Mar 2023, 11:28
Forum: Helpdesk
Topic: Fourier-Motzkin Elimination and the projection method
Replies: 7
Views: 10358

Re: Fourier-Motzkin Elimination and the projection method

Could you share one of the failed examples please? The smaller, the better :)
by gawrilow
14 Mar 2023, 10:05
Forum: Helpdesk
Topic: polymake tied to singular version?
Replies: 3
Views: 8613

Re: polymake tied to singular version?

... I am just wondering why polymake specifically wants libSingular-4.x.x at run time instead of just linking to libSingular.so, and therefore needs rebuilding whenever Singular gets updated I tried to explain this in my previous response. polymake does not have any specific desires, it's the norma...
by gawrilow
25 Feb 2023, 10:32
Forum: Helpdesk
Topic: polymake tied to singular version?
Replies: 3
Views: 8613

Re: polymake tied to singular version?

This is a general behavior of dynamic linking, nothing specific for polymake or Singular. When you link against a shared library, the linker records the SONAME property of that library in the produced binary as NEEDED property. Later, when it's executed, the dynamic loader looks for a library having...
by gawrilow
24 Feb 2023, 09:48
Forum: Helpdesk
Topic: Execute the command from a Text file directly
Replies: 3
Views: 8106

Re: Execute the command from a Text file directly

Yes, you can use the script function:

Code: Select all

script("example.txt");
In case your current working directory is not your home dir:

Code: Select all

script("~/example.txt");
You can learn various tips and tricks regarding scripting in this chapter of documentation.
by gawrilow
14 Jan 2023, 14:06
Forum: Helpdesk
Topic: jreality doesn't start
Replies: 3
Views: 8200

Re: jreality doesn't start

Indeed, when you start polymake with -dd option, which produce more debugging output, you'll see an exception thrown during OpenGL native module initialization (jogl). Probably, the version bundled with polymake sources is too old. It still works, however, with openjdk-8. Install it parallel to othe...
by gawrilow
06 Jul 2022, 09:42
Forum: Helpdesk
Topic: Reading a txt file and building a matrix
Replies: 2
Views: 9486

Re: Reading a txt file and building a matrix

Operator <> in perl means reading text from a file handle. However, I suspect, your array @lines already contains the rows with numbers loaded from your file, you should simply pass it by reference: new Matrix<Rational>(\@lines) If $lines[$i] still contains a line of text just looking like perl data...
by gawrilow
28 Apr 2022, 18:57
Forum: Helpdesk
Topic: Load file from command line, elaborate, print output
Replies: 13
Views: 21066

Re: Load file from command line, elaborate, print output

"die" is the perl command throwing an exception, like "throw" in Java or "raise" in Python. The string after "die" is simply the text of the error message that would be displayed if this error occurs. \n is the end-of-line character, and $! is a magic perl var...

Go to advanced search