Hi,

I put my experimental giac spkg here:

   http://sage.math.washington.edu/home/wstein/patches/giac-20100717.spkg

To build it you have to "sage -f -m giac-20100717".   Then "sage -sh",
then delete the file it complains about (repeat, lather), type "make
install", etc.

Note that there are a *ton* of system-wide dependencies needed to get
these to build.
I installed them all on redhawk.math.washington.edu, which
sagemath-users have access
to.

Anyway, the cool thing is that this package is possible to build, and
does let one replicate Parisse's benchmarks with something built from
source (not a binary).  Cool.

William

On Sat, Jul 17, 2010 at 5:13 PM, William Stein <wst...@gmail.com> wrote:
> On Fri, Jul 16, 2010 at 2:50 PM, parisse
> <bernard.pari...@ujf-grenoble.fr> wrote:
>>> I'm *REALLY*, really, really confused about which tarball is the
>>> source code for the
>>> latest version of giac.  Just to clarify, please send me a direct link
>>> in email here, please.
>>>
>>
>> Should be there
>> http://www-fourier.ujf-grenoble.fr/~parisse/giac/giac_unstable.tgz
>
> After installing enough latex packages so that the docs seemed to
> build, my build still fails here:
>
>
> ...
> make[3]: Entering directory
> `/scratch/wstein/build/sage-4.4.4/spkg/build/giac-2010-07-17/src/doc'
> make  install-exec-hook
> make[4]: Entering directory
> `/scratch/wstein/build/sage-4.4.4/spkg/build/giac-2010-07-17/src/doc'
> /bin/bash 
> /scratch/wstein/build/sage-4.4.4/spkg/build/giac-2010-07-17/src/config/install-sh
> -d /scratch/wstein/build/sage-4.4.4/local/shar
> e/giac/doc/dxcas
> /bin/bash 
> /scratch/wstein/build/sage-4.4.4/spkg/build/giac-2010-07-17/src/config/install-sh
> -d /scratch/wstein/build/sage-4.4.4/local/shar
> e/giac/doc//pari
> /usr/bin/install -c -m 644 ../doc/dxcas/*
> /scratch/wstein/build/sage-4.4.4/local/share/giac/doc/dxcas
> /usr/bin/install -c -m 644 ../doc/pari/*
> /scratch/wstein/build/sage-4.4.4/local/share/giac/doc/pari
> ln -s ../aide_cas 
> /scratch/wstein/build/sage-4.4.4/local/share/giac/doc/aide_cas
> ln: creating symbolic link
> `/scratch/wstein/build/sage-4.4.4/local/share/giac/doc/aide_cas': File
> exists
> make[4]: *** [install-exec-hook] Error 1
> make[4]: Leaving directory
> `/scratch/wstein/build/sage-4.4.4/spkg/build/giac-2010-07-
> ----
>
>
> I manually deleted the relevant file
>
>  /scratch/wstein/build/sage-4.4.4/local/share/giac/doc/aide_cas
>
> and was able to get the build to finish.   So very close to "works first try".
>
> How do I surpress printing when using giac?  E.g., how do I keep giac
> from printing massive amounts when I do:
>
> 8>> f1:=(x+y+z+1)^20+1; p1:=normal(f1*(f1+1));
> 9>> factor(p1);
>
> By the way, I tried the above and it took only 0.63 seconds, which is
> very impressive (!).  It's much faster than Sage-4.4.4 and Magma.
>
> sage: R.<x,y,z> = QQ[]
> sage: f1 = (x+y+z+1)^20+1; p1=f1*(f1+1)
> sage: time a = p1.factor()
> CPU times: user 19.65 s, sys: 0.00 s, total: 19.65 s
> Wall time: 19.68 s
>
>
> sage: k=magma(p1)
> sage: magma.eval('time a := Factorization(%s);'%k.name())
> 'Time: 9.480'
>



-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

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

Reply via email to