sea21 wrote:
> Thanks for all the helpful replies! I understand the problem now. How do
> I install the full seadata package if I am using the Windows version of
> Sage on Virtual Box?
I don't know what the (Linux distribution of the) ova ships with, and
depends on whether you at all have internet access from the virtual machine.
Just download
http://pari.math.u-bordeaux.fr/pub/pari/packages/seadata.tgz (probably
from Windows), copy the file into some temporary directory in your
virtual machine, start a shell and change to that directory, and there do
$ tar xzf seadata.tgz # extract the GNU-zip-compressed tar
$ cp data/seadata/* "$SAGE_ROOT"/local/share/pari/seadata/
$ rm -rf data/
where $SAGE_ROOT is what
sage: print SAGE_ROOT
gives, the "root" of your Sage installation.
(You can of course delete seadata.tgz afterwards as well.)
Would it be worth providing an optional Sage package for this, for
convenience? (It would also be slightly smaller than PARI's .tgz ...)
-leif
> On Wednesday, May 15, 2013 8:07:48 PM UTC+8, John Cremona wrote:
>
> On 15 May 2013 10:47, John Cremona <
john.c...@gmail.com
> >> The PARI package in Sage only has the "small" database of modular
> >> polynomials, suitable for primes up to about 350 bits. You would
> need the
> >> full seadata database.
> >
> > See
http://pari.math.u-bordeaux.fr/packages.html
> <
http://pari.math.u-bordeaux.fr/packages.html>. It should be easy
> > to download that and put it in the right place in the Sage
> > installation, which is SAGE_ROOT/local/shar/pari. There is already
> > the seadata in there but as Jeroen says, it is the small version.
>
> I tested this. AFter putting the large seadata files into that
> place the code
>
> sage: p
> 10566623376041669505825220895462627801380145726624712771836144280024219722297939525451022774579043146020265329009462778097121538072213487555318041328039599
>
> sage: a4
> 6557325753041215216697541661243177462316789827714644669153173743634615853451990973713919498189870050066222585898470391225455349541996119434962754618249308
>
> sage: a6
> 3887529832007272230349363633177495741990999092935596186265775681498612008751646149414901742385996951003068331698140100902826619262789957720578797201032523
>
> sage: E = gp.ellinit([0,0,0,a4,a6])
> sage: sage: ap = E.ellap(p)
>
> runs fine.
--
() The ASCII Ribbon Campaign
/\ Help Cure HTML E-Mail