Open DanGrayson opened 1 year ago
Okay, in fact the problem seems to be with X11. Certainly M2 can do these calculations. Singular=>true is optional but is the default choice when available. To fix it just add Singular=>false or alternately change Verbose=>true to Verbose=>false. Let me know if I need to open a pull-request.
I think Singular=>false
should be the default, since Singular may not be installed on the system, either. If the user installs Singular, then the user can request its use.
Could you take care of fixing that?
Actually, Singular (as well as xterm) is only used if it's installed, but I didn't take care of X11. I tried to fix the test here https://github.com/Macaulay2/M2/pull/2715.
What's the reason for having xterm run Singular for you, instead of running Singular directly?
I chose to use xterm just to get some messages from Singular during the computation. When Verbose is set to false xterm is not used.
Why not just redirect stderr to stdio on the command line to get those messages?
Yes I figured there was a better solution. I'll look at improving the code. Thanks.
Test code should not try to run xterm. It's not available on every system, and even if it is, X11 might not be running.
Can't M2 do these computations? Do we really need Singular to do them?