[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Axiom-developer] RE: Tests of sage.
From: |
Bill Page |
Subject: |
[Axiom-developer] RE: Tests of sage. |
Date: |
Wed, 7 Mar 2007 11:46:29 -0500 |
Francois,
I am sorry that is has taken a bit of time but I promised to let you
know when the problem using Axiom with Sage that you reported back
in January is fixed. I just tried the new release 2.3 of Sage today
and I can confirm that the problem is gone, however I can not say
yet exactly what has changed in the new verison that makes this now
work for me.
http://modular.math.washington.edu/sage
In my testing the problem seemed to have something to do with the
communication between Sage and Axiom that is handled by an interface
called pexpect.
For example in Sage on my OpenSuse 10.2 system after I typed an
Axiom command such as:
sage: axiom('1+1')
the system would hang until I pressed control-C. Thereafter, if I
repeated the command, or other Axiom commands, everything would work
fine.
The affect of this problem in the notebook() interface was more
severe since when the notebook tries to run the first Axiom command
there is no way to interrupt and restart this computation that did
not repeat the same problem.
The problem seemed to occur on some systems but not on others. For
example it failed for me on OpenSuse 10.2 linux but it works on the
axiom-developer.org server and William Stein told me a few weeks ago
that he could not reproduce the problem on his systems. Perhaps there
has been a subtle change in the way pexpect works. I will discuss
this with William.
In any case, you should be able to upgrade your installed version of
Sage to the latest version by the following simple command:
$ sage -upgrade
Sage will download all of the necessary updates and automatically
rebuild the system.
The version of Axiom I used for testing this was also installed using
Sage via the command:
$ sage -i axiom4sage-0.1.spkg
This downloads and builds a version of the Axiom build-improvments
branch dated '2006-10-10'. I hope to release a new package
'axiom4sage-0.2.spkg' based on the current source from the wh-sandbox
branch some time in the near future - sooner if anyone else expresses
some interest in this.
Please let me know if you have any more problems.
Regards,
Bill Page.
On February 1, 2007 10:25 PM Bill Page wrote:
>
> Thank you for testing this.
>
> I have been able to reproduce this problem. The same thing
> happens to me. I am looking into the problem and I will let
> you know a solution soon.
>
> Regards,
> Bill Page.
>
> On January 31, 2007 9:31 AM Francois Maltey wrote:
> >
> > Many thanks for your pretty mail, Bill :
> >
> > > Please see the examples at:
> > >
> > > http://sage-notebook.axiom-developer.org/axiom
> > >
> > > I would be happy to answer any questions you have.
> >
> > So I download sage (a 130 MB file), untar and make the system.
> >
>
> What version of Sage did you download? As far as I can see the
> most recent version of Sage (version 2.0) is "only" about 88 Mb.
>
> http://modular.math.washington.edu/sage/dist/src/index.html
>
> or
>
> http://sage.scipy.org/sage/dist/src/index.html
>
> I just finished downloading, untar and make of Sage-2.0 on a
> OpenSuSE 10.2 linux system.
>
> > As root I add axiom binary in the $PATH,
> > and add also the main sage directory in the $PATH.
> >
> > I can run axiom -nox -nocle in a root-xterm.
> >
>
> On my system I have Axiom built from a recent version of the
> build-improvements branch.
>
> > As root I can run sage everywhere
> > run install_scripts('/usr/local/bin') in sage,
> > and lauch notebook()
> >
> > In x11 I open http://localhost:8000 with firefox.
> > I get the screen of the sage system.
> > I can type commands in bluebox.
> >
> > But I almost never obtain any results.
>
> Make sure to press Shift+Enter to execute the contents of
> the bluebox.
>
> > Neither without system when I test 2*3
> > neither for axiom when I type in two lines %axiom \\ 2+3.
> >
>
> I have very similar problems. But if I only enter Sage
> commands, everything seems to work. If I try Axiom commands
> then it fails. I see an error traceback in the Sage session
> log. These same commands work properly on the Sage server
> which is apparently running the same version of Sage but a
> different version of Axiom.
>
> > Return adds a break-line.
>
> Use Shift+Enter to execute a cell.
>
> > Evaluate rerun the session but result remains green box.
> >
> > What I forget ?
> >
>
> I think you are doing everything correct. There seems to be
> some problem with Sage and/or Axiom. I recall that I had some
> problem with readline when I first tested this and I am quite
> sure that the 'axiom4sage-0.1.spkg' that is used on the Sage
> server was built using gcl with readline disabled. I will
> check this and get back to you.
>
> ----
>
>
>
- [Axiom-developer] RE: Tests of sage.,
Bill Page <=