Thanks to Jeroen for making this -- the spkg now exists and is
currently being spread around Sage's mirror sites. When that is done,
this will work:
sage: install_package("database_pari")
(assuming that you have write permission in the Sage directory where
files will be installed).
John
On 16 May 2013 09:23, John Cremona <[email protected]> wrote:
> See http://trac.sagemath.org/sage_trac/ticket/14596 where all that is
> needed is for someone to do the work!
>
> John
>
> On 16 May 2013 01:56, sea21 <[email protected]> wrote:
>> Thank you all for your prompt responses! It works fine for me now! =) It
>> would definitely be useful to have an optional Sage package for this.
>>
>> On Thursday, May 16, 2013 1:45:07 AM UTC+8, leif wrote:
>>>
>>> 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 <[email protected]
>>> > >> 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
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "sage-support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/sage-support?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.