Redirecting gbTrace output to a file

17 views
Skip to first unread message

Abhiram Natarajan

unread,
Jun 24, 2022, 6:26:00 AM6/24/22
to Macaulay2
Hello,

I am doing some pretty massive Grobner basis computations, and I'd like my gbTrace output to go into a file. Any way to do that? I thought that doing f << gb X would do it, but I think the gbTrace output is hardcoded to go to the output stream.

Best,
Abhiram

Daniel R. Grayson

unread,
Jun 25, 2022, 8:12:28 AM6/25/22
to Macaulay2
An expression such as `f << gb X` sends a printed version of the Groebner basis to a file -- for that is the return value
of the function `gb`.

Maybe we should redirect the gbTrace to stderr instead of stdout.  Then you could redirect it to a file on the command line.
Reply all
Reply to author
Forward
0 new messages