On 26 Jun., 18:23, rjf <fate...@gmail.com> wrote:
> On Jun 25, 1:10 pm, gsw <georgswe...@googlemail.com> wrote:
>
> > Hi,
>
> > I suspect you're just running out of RAM.
> > Not necessarily physically, but the construction Sage --> expect
> > interface --> Maxima --> Lisp implementation is a fragile one. If the
> > Lisp implementation "thinks" it runs out of space, this is not handled
> > too gracefully by Maxima, and as a consequence the synchronization
> > between Sage/the expect interface, and Maxima, gets lost more or less
> > often.
>
> the Maxima -->Lisp implementation is not especially fragile if you are
> using the right lisp, which Sage is probably not.
>
> Some readers may recall that Bill Schelter was largely responsible for
> both a particular Lisp (KCL, AKCL, and its successor GCL) as well as a
> particular version of Maxima, and Bill  tuned them together.  People
> who change the lisp underneath Maxima do not always have the same
> perspective on parts that are unspecified in the standard, and so
> bringing Maxima up on a non-GCL version of Lisp, while generally
> pretty easy, may differ when (for example) the computation uses up all
> the memory.
>
> I believe Sage is using CLISP or ECL, which may be fragile in such
> ways.
>
> Downloading a properly configured Maxima on an appropriate Lisp may
> solve your problem, if that is your goal.
>

Good point.

I should have stated more explicitly the Lisp implementation, which in
fact has been clisp in the past, and which (for Sage 4.0 IIRC) was
changed to ecl. This change away from clisp was made because clisp has
an "unresolvable" build issue on Solaris (on Sparc IIRC) with any
recent version of gcc, and to support Sage on Solaris is a goal the
Sage Development Team wants to achieve.
I dimly seem to remember that ecl was the only alternative that builds
and works "nicely" (without remembering what "nicely" meant exactly)
on the broad and ever growing variety of platforms Sage currently is
supported on.

> Using another version of Sage, which likely ALSO will have an non-
> optimally configured Maxima is less likely to solve your problem.
>
> If you don't especially want to solve your problem, but prefer to see
> if random diddling with Sage makes a difference, try gsw's
> suggestions.

:-)

I don't know if anyone currently has a kind of "gcl.spkg" available
for users to play around with it, especially to use it to replace the
current "standard" Lisp spkg (ecl.spkg) used in Sage. Such a kind of
replacement spkg does exist for example in the case of mpir; David
Harvey provides a gmp.spkg to use as a replacement for it.

Cheers,
gsw
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to