William, I ran: /home/daryl/sage-3.0.2/sage -i /home/daryl/sage-3.0.1/spkg/standard/ gmp-4.2.1.p14.spkg
The install completed successfully and install_package() shows both gmp-4.2.1.p14 and gmp-4.2.2 installed (I could find no sage command to remove/ uninstall a package): [EMAIL PROTECTED] sage]$ /home/daryl/sage-3.0.2/sage ---------------------------------------------------------------------- | SAGE Version 3.0.2, Release Date: 2008-05-24 | | Type notebook() for the GUI, and license() for information. | ---------------------------------------------------------------------- sage: install_package() ['atlas-3.8.1.p1', 'blas-20070724', 'bzip2-1.0.4', 'cddlib-094b.p2', 'clisp-2.41.p14', 'conway_polynomials-0.2', 'cvxopt-0.9.p5', 'cython-0.9.6.14.p1', 'dir-0.1', 'doc-3.0.2', 'eclib-20080310.p1', 'ecm-6.1.3.p0', 'elliptic_curves-0.1', 'examples-3.0.2', 'extcode-3.0.2', 'f2c-20070816.p0', 'flint-1.06.p2', 'flintqs-20070817.p3', 'fortran-20071120.p4', 'freetype-2.3.5.p0', 'gap-4.4.10.p7', 'gd-2.0.33.p5', 'gdmodule-0.56.p4', 'genus2reduction-0.3.p3', 'gfan-0.3.p4', 'givaro-3.2.10.rc3.p3', 'gmp-4.2.1.p14', 'gmp-4.2.2', 'gnutls-2.2.1.p1', 'graphs-20070722', 'gsl-1.10.p1', 'iml-1.0.1.p11', 'ipython-0.8.2.p0', 'ipython1-20070130', 'jmol-11.5.2.p1', 'lapack-20071123.p0', 'lcalc-20080205.p1', 'libfplll-2.1.6-20071129.p4', 'libgcrypt-1.4.0.p2', 'libgpg_error-1.6.p0', 'libm4ri-20071224.p3', 'libpng-1.2.22.p7', 'linbox-1.1.5.p6', 'matplotlib-0.91.1.p5', 'maxima-5.13.0.p2', 'mercurial-0.9.5.p1', 'moin-1.5.7.p2', 'mpfi-1.3.4-cvs20071125.p7', 'mpfr-2.3.1', 'networkx-0.36.p1', 'ntl-5.4.2.p3', 'numpy-20080104-1.0.4.p4', 'opencdk-0.6.6', 'palp-1.1.p1', 'pari-2.3.3.p0', 'pexpect-2.0.p1', 'polybori-0.3.1.p3', 'polytopes_db-20080430', 'prereq-0.3', 'pycrypto-2.0.1.p2', 'python-2.5.2.p0', 'python_gnutls-1.1.4.p3', 'quaddouble-2.2.p9', 'r-2.6.1.p15', 'readline-5.2.p3', 'rpy-1.0.1.p1', 'rubiks-20070912.p7', 'sage-3.0.2', 'sage_scripts-3.0.2', 'scipy-20071020-0.6.p3', 'scipy_sandbox-20071020.p3', 'scons-0.97.0d20071212', 'setuptools-0.6c8.p0', 'singular-3-0-4-2-20080405.p2', 'sqlalchemy-0.4.3.p1', 'sqlite-3.5.3.p3', 'symmetrica-2.0.p2', 'sympow-1.018.1.p4', 'sympy-0.5.13', 'tachyon-0.98beta.p5', 'termcap-1.3.1.p0', 'twisted-8.0.1', 'weave-0.4.9', 'zlib-1.2.3.p3', 'zn_poly-0.8.p0', 'zodb3-3.7.0.p1'] I then re-ran the sieve program under sage-3.0.1 and sage-3.0.2. There was no change; sage-3.0.2 still runs significantly slower (see detailed runs below). I then looked at /home/daryl/sage-3.0.2/local/lib: [EMAIL PROTECTED] lib]$ ls libgmp*.* -l -rwxr-xr-x 1 daryl daryl 793 2008-07-03 07:37 libgmp.la lrwxrwxrwx 1 daryl daryl 15 2008-07-03 07:37 libgmp.so -> libgmp.so.3.4.1 lrwxrwxrwx 1 daryl daryl 15 2008-07-03 07:37 libgmp.so.3 -> libgmp.so.3.4.2 -rwxr-xr-x 1 daryl daryl 270928 2008-07-03 07:37 libgmp.so.3.4.1 -rwxr-xr-x 1 daryl daryl 270928 2008-07-01 21:28 libgmp.so.3.4.2 -rwxr-xr-x 1 daryl daryl 848 2008-07-03 07:37 libgmpxx.la lrwxrwxrwx 1 daryl daryl 17 2008-07-03 07:37 libgmpxx.so -> libgmpxx.so.3.1.1 lrwxrwxrwx 1 daryl daryl 17 2008-07-03 07:37 libgmpxx.so.3 -> libgmpxx.so.3.1.1 -rwxr-xr-x 1 daryl daryl 17560 2008-07-03 07:37 libgmpxx.so.3.1.1 lrwxrwxrwx 1 daryl daryl 17 2008-07-01 21:28 libgmpxx.so.4 -> libgmpxx.so.4.0.2 -rwxr-xr-x 1 daryl daryl 17560 2008-07-01 21:28 libgmpxx.so.4.0.2 The one thing I noticed here is that the libgmp.so.3 alias still points to the newer libgmp.so.3.4.2 library. However, it appears that both libgmp.so.3.4.1 and libgmp.so.3.4.2 are the same size (same thing?). Detailed runs: /home/daryl/sage-3.0.1/sage /home/daryl/UserData/sage/sieve.sage ============================================ SAGE Version 3.0.1, Release Date: 2008-05-05 ['atlas-3.8.1.p1', 'blas-20070724', 'bzip2-1.0.4', 'cddlib-094b.p1', 'clisp-2.41.p14', 'conway_polynomials-0.2', 'cvxopt-0.9.p5', 'cython-0.9.6.14', 'dir-0.1', 'doc-3.0.1', 'eclib-20080310.p1', 'ecm-6.1.3', 'elliptic_curves-0.1', 'examples-3.0.1', 'extcode-3.0.1', 'f2c-20070816.p0', 'flint-1.06.p2', 'flintqs-20070817.p3', 'fortran-20071120.p4', 'freetype-2.3.5', 'gap-4.4.10.p7', 'gd-2.0.33.p5', 'gdmodule-0.56.p4', 'genus2reduction-0.3.p2', 'gfan-0.3.p3', 'givaro-3.2.10.rc3.p1', 'gmp-4.2.1.p14', 'gnutls-2.2.1.p1', 'graphs-20070722', 'gsl-1.10.p1', 'iml-1.0.1.p10', 'ipython-0.8.1.p1', 'ipython1-20070130', 'jmol-11.5.2.p1', 'lapack-20071123.p0', 'lcalc-20080205.p0', 'libfplll-2.1.6-20071129.p3', 'libgcrypt-1.4.0.p2', 'libgpg_error-1.6.p0', 'libm4ri-20071224.p2', 'libpng-1.2.22.p5', 'linbox-1.1.5.p4', 'matplotlib-0.91.1.p4', 'maxima-5.13.0.p2', 'mercurial-0.9.5.p0', 'moin-1.5.7.p2', 'mpfi-1.3.4-cvs20071125.p5', 'mpfr-2.3.1', 'networkx-0.36.p1', 'ntl-5.4.2.p2', 'numpy-20080104-1.0.4.p2', 'opencdk-0.6.6', 'palp-1.1.p1', 'pari-2.3.3.p0', 'pexpect-2.0.p1', 'polybori-0.3.1.p2', 'polytopes_db-20080430', 'prereq-0.3', 'pycrypto-2.0.1.p1', 'python-2.5.2', 'python_gnutls-1.1.4.p2', 'quaddouble-2.2.p7', 'r-2.6.1.p15', 'readline-5.2.p1', 'rpy-1.0.1.p1', 'rubiks-20070912.p6', 'sage-3.0.1', 'sage_scripts-3.0.1', 'scipy-20071020-0.6.p3', 'scipy_sandbox-20071020.p3', 'scons-0.97.0d20071212', 'setuptools-0.6c8.p0', 'singular-3-0-4-2-20080405.p1', 'sqlalchemy-0.4.3.p1', 'sqlite-3.5.3.p1', 'symmetrica-2.0.p2', 'sympow-1.018.1.p4', 'sympy-0.5.13', 'tachyon-0.98beta.p5', 'termcap-1.3.1', 'twisted-8.0.1', 'weave-0.4.9', 'zlib-1.2.3.p3', 'zn_poly-0.8.p0', 'zodb3-3.7.0.p0'] Start time: Thu Jul 3 09:05:18 2008 Array size: 10000000 Create array: Thu Jul 3 09:05:34 2008 Create seconds: 15.58 Mark primes: Thu Jul 3 09:06:13 2008 Mark seconds: 39.04 Count primes: Thu Jul 3 09:06:30 2008 Count seconds: 17.2 Number of primes: 664579 End time: Thu Jul 3 09:06:30 2008 Elapsed seconds: 71.83 ============================================ /home/daryl/sage-3.0.2/sage /home/daryl/UserData/sage/sieve.sage ============================================ SAGE Version 3.0.2, Release Date: 2008-05-24 ['atlas-3.8.1.p1', 'blas-20070724', 'bzip2-1.0.4', 'cddlib-094b.p2', 'clisp-2.41.p14', 'conway_polynomials-0.2', 'cvxopt-0.9.p5', 'cython-0.9.6.14.p1', 'dir-0.1', 'doc-3.0.2', 'eclib-20080310.p1', 'ecm-6.1.3.p0', 'elliptic_curves-0.1', 'examples-3.0.2', 'extcode-3.0.2', 'f2c-20070816.p0', 'flint-1.06.p2', 'flintqs-20070817.p3', 'fortran-20071120.p4', 'freetype-2.3.5.p0', 'gap-4.4.10.p7', 'gd-2.0.33.p5', 'gdmodule-0.56.p4', 'genus2reduction-0.3.p3', 'gfan-0.3.p4', 'givaro-3.2.10.rc3.p3', 'gmp-4.2.1.p14', 'gmp-4.2.2', 'gnutls-2.2.1.p1', 'graphs-20070722', 'gsl-1.10.p1', 'iml-1.0.1.p11', 'ipython-0.8.2.p0', 'ipython1-20070130', 'jmol-11.5.2.p1', 'lapack-20071123.p0', 'lcalc-20080205.p1', 'libfplll-2.1.6-20071129.p4', 'libgcrypt-1.4.0.p2', 'libgpg_error-1.6.p0', 'libm4ri-20071224.p3', 'libpng-1.2.22.p7', 'linbox-1.1.5.p6', 'matplotlib-0.91.1.p5', 'maxima-5.13.0.p2', 'mercurial-0.9.5.p1', 'moin-1.5.7.p2', 'mpfi-1.3.4- cvs20071125.p7', 'mpfr-2.3.1', 'networkx-0.36.p1', 'ntl-5.4.2.p3', 'numpy-20080104-1.0.4.p4', 'opencdk-0.6.6', 'palp-1.1.p1', 'pari-2.3.3.p0', 'pexpect-2.0.p1', 'polybori-0.3.1.p3', 'polytopes_db-20080430', 'prereq-0.3', 'pycrypto-2.0.1.p2', 'python-2.5.2.p0', 'python_gnutls-1.1.4.p3', 'quaddouble-2.2.p9', 'r-2.6.1.p15', 'readline-5.2.p3', 'rpy-1.0.1.p1', 'rubiks-20070912.p7', 'sage-3.0.2', 'sage_scripts-3.0.2', 'scipy-20071020-0.6.p3', 'scipy_sandbox-20071020.p3', 'scons-0.97.0d20071212', 'setuptools-0.6c8.p0', 'singular-3-0-4-2-20080405.p2', 'sqlalchemy-0.4.3.p1', 'sqlite-3.5.3.p3', 'symmetrica-2.0.p2', 'sympow-1.018.1.p4', 'sympy-0.5.13', 'tachyon-0.98beta.p5', 'termcap-1.3.1.p0', 'twisted-8.0.1', 'weave-0.4.9', 'zlib-1.2.3.p3', 'zn_poly-0.8.p0', 'zodb3-3.7.0.p1'] Start time: Thu Jul 3 09:06:40 2008 Array size: 10000000 Create array: Thu Jul 3 09:07:05 2008 Create seconds: 25.41 Mark primes: Thu Jul 3 09:08:15 2008 Mark seconds: 69.62 Count primes: Thu Jul 3 09:08:44 2008 Count seconds: 29.06 Number of primes: 664579 End time: Thu Jul 3 09:08:44 2008 Elapsed seconds: 124.1 ============================================ -Daryl > You might want to try typing > > sage -i gmp-4.2.1.p14.spkg > > to install the previous gmp version. This will let us know if the > problem is definitely with GMP-4.2.1 itself or with something > we did to mess things up in the sage library. > > -- > William Stein > Associate Professor of Mathematics > University of Washingtonhttp://wstein.org --~--~---------~--~----~------------~-------~--~----~ 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-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
