On 10/30/07, Simon King <[EMAIL PROTECTED]> wrote:
> > If you 'tell' the Singular interface to write a logfile, you/we can see what
> > is going on on the Singular side:
>
> Can you tell me what i did wrong:
> sage: singular = Singular(logfile='singlog')
> sage: from cohomology import *
> sage: C=COHO('125gp3')
> sage: C.make(3)
> ...
> sage: singular.quit()
> sage: quit
>
> And now the file 'singlog' is EMPTY, although Singular was frequently
> used. I guess the output was written in a buffer, but how can i flush
> it to the file?
You are very likely using a different copy of the Singular interface.
You should modify the file
SAGE_ROOT/devel/sage/sage/interfaces/singular.py
and change the line (1145) that creates the singular interface to
singular = Singular(logfile="/tmp/logfile")
Then do
sage -br
to have the changed version of singular.py copied over so it gets used by Sage.
William
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---