Upgrading from alpha0 on Fedora 10 failed somehow. I had to remove constants.so
by hand.
$ rm devel/sage/build/sage/symbolic/constants.so
Now testing.
On Fedora 9 I'll do a fresh install.
Jaap
On Fedora 10, bit:
----------------------------------------------------------------------
The following tests failed:
sage -t "devel/sage/doc/en/numerical_sage/scipy.rst"
sage -t "devel/sage/doc/en/constructions/plotting.rst"
sage -t "devel/sage/doc/en/constructions/calculus.rst"
sage -t "devel/sage/doc/en/constructions/interface_issues.rst"
sage -t "devel/sage/doc/en/constructions/linear_algebra.rst"
sage -t "devel/sage/doc/en/tutorial/tour_algebra.rst"
sage -t "devel/sage/doc/en/tutorial/tour_functions.rst"
sage -t "devel/sage/doc/en/tutorial/tour_plotting.rst"
sage -t "devel/sage/doc/en/bordeaux_2008/nf_introduction.rst"
sage -t "devel/sage/doc/en/a_tour_of_sage/index.rst"
sage -t "devel/sage/doc/fr/tutorial/tour_algebra.rst"
sage -t "devel/sage/doc/fr/tutorial/tour_plotting.rst"
sage -t "devel/sage/sage/algebras/quatalg/quaternion_algebra.py"
sage -t "devel/sage/sage/tests/book_stein_ent.py"
sage -t "devel/sage/sage/misc/sage_eval.py"
sage -t "devel/sage/sage/misc/map_threaded.py"
sage -t "devel/sage/sage/misc/preparser.py"
sage -t "devel/sage/sage/calculus/calculus.py"
sage -t "devel/sage/sage/calculus/tests.py"
sage -t "devel/sage/sage/calculus/functional.py"
sage -t "devel/sage/sage/calculus/test_sympy.py"
sage -t "devel/sage/sage/gsl/interpolation.pyx"
sage -t "devel/sage/sage/gsl/ode.pyx"
sage -t "devel/sage/sage/functions/transcendental.py"
sage -t "devel/sage/sage/functions/special.py"
sage -t "devel/sage/sage/functions/piecewise.py"
sage -t "devel/sage/sage/functions/other.py"
sage -t "devel/sage/sage/interfaces/maxima.py"
sage -t "devel/sage/sage/rings/number_field/number_field_element.pyx"
sage -t "devel/sage/sage/rings/number_field/number_field_element_quadratic.pyx"
sage -t "devel/sage/sage/rings/arith.py"
sage -t "devel/sage/sage/rings/polynomial/polynomial_element.pyx"
sage -t "devel/sage/sage/numerical/optimize.py"
sage -t "devel/sage/sage/matrix/matrix_symbolic_dense.pyx"
sage -t "devel/sage/sage/matrix/matrix2.pyx"
sage -t "devel/sage/sage/schemes/elliptic_curves/ell_generic.py"
sage -t "devel/sage/sage/plot/plot3d/implicit_surface.pyx"
sage -t "devel/sage/sage/plot/plot3d/transform.pyx"
sage -t "devel/sage/sage/plot/plot3d/parametric_plot3d.py"
sage -t "devel/sage/sage/plot/tachyon.py"
sage -t "devel/sage/sage/plot/plot.py"
sage -t "devel/sage/sage/plot/animate.py"
sage -t "devel/sage/sage/plot/complex_plot.pyx"
sage -t "devel/sage/sage/symbolic/callable.py"
sage -t "devel/sage/sage/symbolic/relation.py"
sage -t "devel/sage/sage/symbolic/expression.pyx"
sage -t "devel/sage/sage/symbolic/ring.pyx"
sage -t "devel/sage/sage/symbolic/benchmark.py"
sage -t "devel/sage/sage/symbolic/function.pyx"
sage -t "devel/sage/sage/symbolic/assumptions.py"
sage -t "devel/sage/sage/coding/code_bounds.py"
sage -t "devel/sage/sage/modules/free_module_element.pyx"
sage -t "devel/sage/sage/modular/overconvergent/genus0.py"
Is this bad or expected?
Jaap
>
> Is this bad or expected?
>
For a log
See: http://sage.math.washington.edu/home/jsp/tests/test_4.0_rc0.log
Jaap
A worksheet that worked fine under sage 3.4.2 and 4.0.alpha0 fails
under 4.0rc0. The whole sheet can be seen at sagenb.org:
http://sagenb.org/home/pub/541
A relevant minimal example is:
{{{id=3|
import matplotlib.pyplot as pyplot
///
}}}
{{{id=0|
RealNumber=float; Integer=int
A=3202.6427147395325
B=2.7068484110275158e-05
fit(x)= A + B * x
Xfit=[0, 800000000]
Yfit=[fit(0), fit(800000000)]
///
}}}
{{{id=1|
P2=pyplot.plot(Xfit, Yfit, 'b')
///
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/kwh/.sage/sage_notebook/worksheets/KevinHorton/22/code/
14.py", line 6, in <module>
exec compile(ur'P2=pyplot.plot(Xfit, Yfit, \u0027b\u0027)' +
'\n', '', 'single')
File "/opt/sage-4.0.rc0/local/lib/python2.5/site-packages/Jinja-1.2-
py2.5-linux-i686.egg/", line 1, in <module>
File "/opt/sage-4.0.rc0/local/lib/python2.5/site-packages/
matplotlib/pyplot.py", line 2118, in plot
ret = gca().plot(*args, **kwargs)
File "/opt/sage-4.0.rc0/local/lib/python2.5/site-packages/
matplotlib/axes.py", line 3348, in plot
for line in self._get_lines(*args, **kwargs):
File "/opt/sage-4.0.rc0/local/lib/python2.5/site-packages/
matplotlib/axes.py", line 404, in _grab_next_args
for seg in self._plot_3_args(remaining, **kwargs):
File "/opt/sage-4.0.rc0/local/lib/python2.5/site-packages/
matplotlib/axes.py", line 343, in _plot_3_args
x, y, multicol = self._xy_from_xy(x, y)
File "/opt/sage-4.0.rc0/local/lib/python2.5/site-packages/
matplotlib/axes.py", line 218, in _xy_from_xy
by = self.axes.yaxis.update_units(y)
File "/opt/sage-4.0.rc0/local/lib/python2.5/site-packages/
matplotlib/axis.py", line 969, in update_units
converter = munits.registry.get_converter(data)
File "/opt/sage-4.0.rc0/local/lib/python2.5/site-packages/
matplotlib/units.py", line 139, in get_converter
converter = self.get_converter( thisx )
File "/opt/sage-4.0.rc0/local/lib/python2.5/site-packages/
matplotlib/units.py", line 138, in get_converter
for thisx in x:
TypeError: 'sage.symbolic.expression.Expression' object is not iterable
}}}
Is this an expected result due to a change in sage-4.0.rc0? If so,
I'd appreciate any hints on how I need to modify my code.
My server is running on ubuntu 8.10.
--
Kevin Horton
Ottawa, Canada
I have two open tickets related to symbolics, and sadly the new
symbolics hasn't magically fixed either. :(
http://trac.sagemath.org/sage_trac/ticket/4142
http://trac.sagemath.org/sage_trac/ticket/3863
I don't know enough about the pynac symbolics to try fixing this, but if
anyone is looking for more test cases...
Dan
--
--- Dan Drake <dr...@kaist.edu>
----- KAIST Department of Mathematical Sciences
------- http://mathsci.kaist.ac.kr/~drake
> I have two open tickets related to symbolics, and sadly the new
> symbolics hasn't magically fixed either. :(
>
> http://trac.sagemath.org/sage_trac/ticket/4142
>
This one is limits, which I believe is still being done with Maxima
which is probably why it hasn't been magically fixed.
> http://trac.sagemath.org/sage_trac/ticket/3863
This is numerical integration. Integration is also still being done
by Maxima, but I'm not sure about how numerical integration is
being done.
Cheers,
Tim.
---
Tim Lahey
PhD Candidate, Systems Design Engineering
University of Waterloo
http://www.linkedin.com/in/timlahey
Fixed.
> Best,
> Alex
I must say, it's looking better on Solaris.
Before going to bed, I started to build 4.0.rc0. I woke up this morning,
and found it is still in the build process. I don't think it has ever
run anything like that time before it has stopped.
My machine is quite heavily loaded (load average 3.7) which is due to
some other processes running, which have been running for weeks, so
would have been running when I tried to build sage-4.0.alpha0
So, based on this very scientific measure of starting to compile Sage
before I sent to bed, and Sage still compiling now (and hour or so after
I got up), that is a definite improvement on Solaris!
Dave
[...]
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../
tests -m32 -O2 -fomit-frame-pointer -mtune=nocona -march=nocona -c
t-locale.c
/bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -m32 -O2 -
fomit-frame-pointer -mtune=nocona -march=nocona -o t-locale t-
locale.o ../../tests/libtests.la ../../libmpir.la
gcc -std=gnu99 -m32 -O2 -fomit-frame-pointer -mtune=nocona -
march=nocona -o .libs/t-locale t-locale.o ../../tests/.libs/
libtests.a /Users/robert/sage/sage-4.0.rc0/spkg/build/gmp-mpir-1.1.1/
src/.libs/libmpir.dylib ../../.libs/libmpir.dylib
i686-apple-darwin8-gcc-4.0.1: t-locale.o: No such file or directory
make[6]: *** [t-locale] Error 1
make[5]: *** [check-am] Error 2
make[4]: *** [check-recursive] Error 1
make[3]: *** [check-recursive] Error 1
make[2]: *** [check] Error 2
real 7m30.832s
user 3m10.400s
sys 3m27.151s
sage: An error occurred while installing gmp-mpir-1.1.1
Full log at http://sage.math.washington.edu/home/robertwb/4.0rc0.log
- Robert
What's the process of the review? I'm willing to take a look at it. If
it's written in C, then I'll feel confident at understanding it. If it's
in C++, then I would not.
> All that is changed is a fix to dpe.h to make it compile on Solaris.
> The fix is even guarded, so nothing that does not define __sun is
> affected
> Cheers,
>
> Michael
Well, it finally did build and a simple addition worked. The GUI did not
however work, as http://localhost:8000
responds with:
"Firefox can't establish a connection to the server at localhost:8000."
I tried to telnet to localhost port 8000 and get a message the
connection was refused.
Anyway, it's late here, and I'm tired so I'm not going to look at it any
further tonight.
drkirkby@kestrel:[~/sage/sage-4.0.rc0] $ ./sage
----------------------------------------------------------------------
| Sage Version 4.0.rc0, Release Date: 2009-05-21 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: 12+34
46
sage: notebook()
The notebook files are stored in: /export/home/drkirkby/.sage//sage_notebook
Please choose a new password for the SAGE Notebook 'admin' user.
Do _not_ choose a stupid password, since anybody who could guess your
password
and connect to your machine could access or delete your files.
NOTE: Only the md5 hash of the password you type is stored by SAGE.
You can change your password by typing notebook(reset=True).
Enter new password:
Retype new password:
Please login to the notebook with the username 'admin' and the above
password.
Password changed for user 'admin'.
**************************************************
* *
* Open your web browser to http://localhost:8000 *
* *
**************************************************