#9343: upgrade pari to version 2.4.3
---------------------------+------------------------------------------------
Reporter: was | Owner: tbd
Type: enhancement | Status: new
Priority: major | Milestone: sage-4.5.1
Component: packages | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
Comment(by jdemeyer):
I think I just had a small break-through:
The gp command now has the so-called "breakloop" on by default. This
means the following: if Sage executes a command through the gp interface
which gives errors, the following will be displayed in the pseudo-tty
(invisible to the Sage user):
{{{
? 1/0
*** at top-level: 1/0
*** ^--
*** _/_: division by zero
*** Break loop: type 'break' to go back to GP
break>
}}}
Now gp just waits for user input. Since that input will never come, it
just sits there forever.
I have a temporary workaround for this:
in the directory SAGE_ROOT/local/bin, move "gp" to "gp-real". Then create
the following shell script called "gp":
{{{
!/bin/bash
mkdir -p $HOME/sage_debug
export HOME=$HOME/sage_debug
echo "breakloop = 0" >$HOME/.gprc
# Remove --fast option
exec $SAGE_ROOT/local/bin/gp-real --emacs --quiet --stacksize 100000000
}}}
This changes $HOME and makes a .gprc file in it which disables the break
loop. It then runs gp without --fast, so that the .gprc file is read.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9343#comment:55>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
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-trac?hl=en.