As far as we know, there are no more remaining issues for the PARI
update (#9343). We haven't had any doctest failures for a while now.
The main issues recently have been with PARI not compiling properly on
various machines, but all those seem to be fixed now.
I have made a complete Sage distribution sage-4.6.prealpha4, based on
sage-4.5.3.rc0 with the new PARI and some more updates. You can
download it from
http://sage.math.washington.edu/home/jdemeyer/dist/sage-4.6.prealpha4.tar
In order to test this thoroughly, extract the tarball and then:
cd sage-4.6.prealpha4
make
env SAGE_CHECK=yes SAGE_TUNE_pari=yes ./sage -f
pari-2.4.3.svn-12577.p5.spkg
make ptestlong
On sage.math.washington.edu, this worked without problems (apart from a
sometimes-reproducible error in devel/sage/sage/tests/startup.py)
The following tickets have been merged in sage-4.6.prealpha4 (w.r.t.
sage-4.5.3.rc0):
#9343: PARI upgrade
#9860: Port changes in PARI 2.3.5.p4 (#9722) to current 2.4.3
#9591: Upgrade genus2reduction due to Pari upgrade to svn snapshot 12577
- a pre-release of Pari 2.4.3
#9592: Upgrade lcalc to work with Pari svn snapshot 12577 - a
pre-release of Pari 2.4.3
#9845: lcalc doesn't build on cygwin due to missing time.h include
#9750: Document that PARI no longer assumes more than GRH.
#9636: Catch output from PARI in Sage.
#9400: Modify the NumberField constructor to pass in optional integer B
such that all the internal PARI routines will replace the discriminant
by its gcd with B, making some things massively faster.
Jeroen.
For what it's worth, I followed your instructions above and got a
working copy of Sage that passes doctests. This on a 64-bit Ubuntu 10.04
system with 8 Xeon E5504 cores.
I do get intermittent failures when I run "make ptestlong"; the doctest
will fail with something like this:
sage -t -long devel/sage/sage/structure/proof/all.py
python: can't open file '/home/drake/.sage//tmp/all.py': [Errno 2] No such file
or directory
running the test manually always works. In three doctest runs, I've seen
this happen twice. It seems unrelated to the PARI upgrade stuff.
Dan
--
--- Dan Drake
----- http://mathsci.kaist.ac.kr/~drake
-------
I've seen the "No such file or directory" issue on several occasions.
As you may have read, I run 'make ptestlong' 100 times with sage-4.5.3.alpha2.
The error occurred 5 times in 100 runs. The numbers of the text file below refer
to the run - so I see this on my 11th, 22nd, 24th, 26th and 66th attempts at
running 'make ptestlong'.
drkirkby@hawk:~/sage-4.5.3.alpha2$ grep "No such file or dire" pte*
ptestlong.log.11.txt:python: can't open file
'/export/home/drkirkby/.sage//tmp/quaternion_algebra.py': [Errno 2] No such file
or directory
ptestlong.log.22.txt:python: can't open file
'/export/home/drkirkby/.sage//tmp/quaternion_algebra.py': [Errno 2] No such file
or directory
ptestlong.log.24.txt:python: can't open file
'/export/home/drkirkby/.sage//tmp/quaternion_algebra.py': [Errno 2] No such file
or directory
ptestlong.log.26.txt:python: can't open file
'/export/home/drkirkby/.sage//tmp/space.py': [Errno 2] No such file or directory
ptestlong.log.66.txt:python: can't open file
'/export/home/drkirkby/.sage//tmp/classical.py': [Errno 2] No such file or directory
So getting the odd such failure when parallel doctesting is nothing unusual. I
think people have found that the temporary directories used by some files is not
unique, and two tests with the same name can end up writing to the same directory.
Done that on OpenSolaris (32-bit build).
* Testing thue for gp-sta..TIME=1457 for gp-dyn..TIME=1522
* Testing trans for gp-sta..TIME=48 for gp-dyn..TIME=38
* Testing zetak for gp-sta..TIME=2486 for gp-dyn..TIME=2454
* Testing zn for gp-sta..TIME=2 for gp-dyn..TIME=3
+++ Total bench for gp-sta is 225384
+++ Total bench for gp-dyn is 233333
make[1]: Leaving directory
`/export/home/drkirkby/sage-4.6.prealpha4/spkg/build/pari-2.4.3.svn-12577.p5/src/Osolaris-ix86'
The PARI self-tests all passed
Now cleaning up tmp files.
Making Sage/Python scripts relocatable...
Making script relocatable
Finished installing pari-2.4.3.svn-12577.p5.spkg
> make ptestlong
sage -t -long devel/sage/sage/quadratic_forms/quadratic_form__siegel_product.py
[156.7 s]
sage -t -long devel/sage/sage/modular/ssmod/ssmod.py
[335.5 s]
----------------------------------------------------------------------
All tests passed!
Total time for all tests: 1943.7 seconds
So it seems fine. I'm trying the same on t2.math, but that will take some time
to complete.
Dave
Jeroen.
I also get an error in rnfkummer on a PPC Mac OS X 10.4, see #9876. You
should check whether you get the same error.
Jeroen.
The GSL update was well tested on all these platforms.
* Cygwin
* FreeBSD
* HP-UX
* Linux
* OpenSolaris
* OS X
* Solaris
including building in parallel. The packages self-tests were run on all those
platforms too.
I suspect there's a race condition which means the parallel build is unsafe.
These things are very hard to detect.
I think setting
MAKE="$MAKE -j1"
export MAKE
in both spkg-install and spkg-text will probably solve it.
Can someone test that.
If there's a bug in the code which means it will never build on OS X 10.4, then
that's another issue.
Dave
I tested sage-4.6.prealpha4 (based on sage-4.5.3, so it includes the GSL
update) on a PPC OS X 10.4 and all tests were successful (make testlong).
Jeroen.
Could you build it in a number of times in a loop and let us know if it ever fails.
GSL has its own test suite too, which one gets with SAGE_CHECK=yes.
Dave
Another data point: with the above tarball and instructions, on a 32-bit
Ubuntu Dapper system, everything built and passed doctests (except for a
Singular-related failure in free_module.py; see #9865).
For reference, that virtual machine has gcc 4.0.3, 1 GB RAM, and uses
one core of an Intel Core 2 Quad.
I built it 100 times (without SAGE_CHECK) and it was successful every time.
I think given that, and even the person that had the failure now has it working,
it's best to leave the GSL package unchanged.
Otherwise would disable parallel builds in GSL package.
If a ticket was opened showing the failure, it could be reported to the upstream
developers to see if they have any comments. Has anyone done that yet? If not,
I'll open a ticket and report the failure upstream.
Dave
Jeroen.
> Hello sage-devel,
>
> As far as we know, there are no more remaining issues for the PARI
> update (#9343). We haven't had any doctest failures for a while now.
> The main issues recently have been with PARI not compiling properly on
> various machines, but all those seem to be fixed now.
>
> I have made a complete Sage distribution sage-4.6.prealpha4, based on
> sage-4.5.3.rc0 with the new PARI and some more updates. You can
> download it from
> http://sage.math.washington.edu/home/jdemeyer/dist/sage-4.6.prealpha4.tar
I used your instructions.
Built from scratch on Mac OS X, 10.5.8 (Dual Quad Xeon) with no
problems. Testing had one failure:
sage -t -long devel/sage/sage/interfaces/ecm.py
*** *** Error: TIMED OUT! PROCESS KILLED! *** ***
[1800.2 s]
I ran this command again, and it completed successfully in ~14
seconds. This system doesn't sleep, and the only unusual entries in
the system logs were a couple of "out of paging space" messages.
The messages were logged at 7:58 last night. The failure was the last
test in the test log, and the timestamp on the log file was 8:42 last
night, so there is a gun which, while not actually smoking, is warm [*].
Would the 'ecm.py' test generate a lot of temp data? Would any other
test? Something must have chewed up a lot of temp/paging space,
either by creating lots of data files or by having lots of bloated
processes running. My temp-space/paging disk has about 100GB of
available space, so to get the "out of paging space" message is a bit
surprising.
Justin
[*] <http://en.wikipedia.org/wiki/Happiness_Is_a_Warm_Gun>
--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Enhancement of the Director's Income
--------
Experience is what you get
when you don't get what you want.
--------