[sage-devel] Cremona's database of elliptic curves over rationals : compilation?
Hi, I'm considering packaging this database for Debian. I have upstream files: https://github.com/JohnCremona/ecdata I know sagemath wants a cremona.db sqlite3 database, as that's what is in the src/ for the pkg. What I miss is the file turning the data files into the database! For the smaller database, there is: https://git.sagemath.org/sage.git/tree/build/pkgs/elliptic_curves/spkg-install.py But as far as I can tell the two databases don't even have the same format: https://git.sagemath.org/sage.git/tree/src/sage/databases/cremona.py Can someone lend a hand? JP -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/922ea2c1-1525-7060-4bbb-06a268f64f5b%40laposte.net. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] Cremona's database of elliptic curves over rationals : compilation?
The code to create the database is in Sage itself. See https://github.com/sagemath/sage/blob/master/src/sage/databases/cremona.py. I recommend that you hold off for a short while since I am about to update the database to include all conductors up to 50 (now it is 40). This is thanks to Andrew Sutherland + Simon Foundation + Google CP, which ran 80,000 simultaneous jobs on 600,000 cores last night. So right now I am drowning in data but it will all be sorted before long. John On Fri, 19 Jul 2019 at 15:19, 'Julien Puydt' via sage-devel < sage-devel@googlegroups.com> wrote: > Hi, > > I'm considering packaging this database for Debian. > > I have upstream files: https://github.com/JohnCremona/ecdata > > I know sagemath wants a cremona.db sqlite3 database, as that's what is > in the src/ for the pkg. > > What I miss is the file turning the data files into the database! > > For the smaller database, there is: > > https://git.sagemath.org/sage.git/tree/build/pkgs/elliptic_curves/spkg-install.py > > But as far as I can tell the two databases don't even have the same format: > https://git.sagemath.org/sage.git/tree/src/sage/databases/cremona.py > > Can someone lend a hand? > > JP > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To post to this group, send email to sage-devel@googlegroups.com. > Visit this group at https://groups.google.com/group/sage-devel. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/922ea2c1-1525-7060-4bbb-06a268f64f5b%40laposte.net > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAD0p0K5mHzD9sx-CMQDdLcNxZ-YEEv9iy0MCYEUNCgSTHmpMmA%40mail.gmail.com.
Re: [sage-devel] Cremona's database of elliptic curves over rationals : compilation?
Le 19/07/2019 à 15:53, John Cremona a écrit : > The code to create the database is in Sage itself. > See > https://github.com/sagemath/sage/blob/master/src/sage/databases/cremona.py. Oh, dear... I'll see if I can't turn it into a much shorter piece of code... > I recommend that you hold off for a short while since I am about to > update the database to include all conductors up to 50 (now it is > 40). This is thanks to Andrew Sutherland + Simon Foundation + > Google CP, which ran 80,000 simultaneous jobs on 600,000 cores last > night. So right now I am drowning in data but it will all be sorted > before long. Oh! That sounds like an amazing project! I can still try to prepare the package with the old data, and only upload to Debian when the new data is there. Thanks! JP -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/65226129-a3dc-5805-3760-23b1b3a5388b%40laposte.net.
Re: [sage-devel] Cremona's database of elliptic curves over rationals : compilation?
On Fri, 19 Jul 2019 at 16:21, Julien Puydt wrote: > Le 19/07/2019 à 15:53, John Cremona a écrit : > > The code to create the database is in Sage itself. > > See > https://github.com/sagemath/sage/blob/master/src/sage/databases/cremona.py > . > > Oh, dear... I'll see if I can't turn it into a much shorter piece of > code... > Not written by me, just used by me to update Sage's optional package. William would remember who wrote it. > > > I recommend that you hold off for a short while since I am about to > > update the database to include all conductors up to 50 (now it is > > 40). This is thanks to Andrew Sutherland + Simon Foundation + > > Google CP, which ran 80,000 simultaneous jobs on 600,000 cores last > > night. So right now I am drowning in data but it will all be sorted > > before long. > > Oh! That sounds like an amazing project! > > I can still try to prepare the package with the old data, and only > upload to Debian when the new data is there. > That sounds like a good plan. Thanks! > > Thanks! > > JP > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAD0p0K5yxn1R06Dh7svvnzzGNb%3DM%2BXbyctf0MHy4LModuR-wOg%40mail.gmail.com.
[sage-devel] cypari problem on FreeBSD
I can build cypari with SAGE_CHECK=yes, everything passes. But pari(10^20) is a problem. Could anyone point me possible causes? sage: pari(10^19) 1000 sage: pari(10^20) 7766279631452241920 sage: Exiting Sage (CPU time 0m0.15s, Wall time 0m28.21s). PARI/GP does work on this example, though: $ ./sage -gp GP/PARI CALCULATOR Version 2.11.1 (released) amd64 running freebsd (x86-64 kernel) 64-bit version compiled: Jul 18 2019, FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) threading engine: single (readline not compiled in, extended help enabled) Copyright (C) 2000-2018 The PARI Group PARI/GP is free software, covered by the GNU General Public License, and comes WITHOUT ANY WARRANTY WHATSOEVER. Type ? for help, \q to quit. Type ?17 for how to get moral (and possibly technical) support. parisize = 800, primelimit = 50 ? 10^19 %1 = 1000 ? 10^20 %2 = 1 -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq0H0xynSMZj4NMhDvYMDq87B8eZoPLs0LGVohBwh_%2BPwA%40mail.gmail.com.
[sage-devel] sage-days 104: arithmetic dynamics
We are pleased to announce a sage-days workshop November 17-20, 2019 at Saint Louis University in Saint Louis MO, USA. The main focus is on functionality associated to the arithmetic of dynamical systems and related areas. We are fortunate to have funding via the National Science Foundation programs in Computational Mathematics and CDS&E for travel and local lodging for a limited number of participants. The main workshop website can be found at https://wiki.sagemath.org/days104. Requests for funding are made through the registration form on the workshop website. Those not requesting funding should still register so that we can have an estimate on number of participants for planning purposes. Information on arithmetic and complex dynamics in Sage can be found at https://wiki.sagemath.org/dynamics/ArithmeticAndComplex. The official topic of the workshop is the arithmetic of dynamical systems. Anybody willing to learn or develop Sage is also welcome. As with most Sage-days workshops, the program will be elaborated on the first day of the workshop and adapted along the week. There will be tutorials, short specialized topics, and participant presentations, but most of the time will be dedicated to actual programming with the help of experience Sage developers. If you have any further questions, please contact any one of the organizers. Sincerely, Paul Fili Oklahoma State University paul.fili (at) okstate (dot) edu Benjamin Hutz Saint Louis University benjamin.hutz (at) slu (dot) edu Adam Towsley Rocherster Institute of Technology adtsma (at) rit (dot) edu -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/74fac8be-12d4-4e98-9bdf-167ae7d0e069%40googlegroups.com.
[sage-devel] Re: cypari problem on FreeBSD
as a further data enrty, cypari by itself works: $ ./sage --python Python 2.7.15 (default, Jul 19 2019, 09:14:32) [GCC 4.2.1 Compatible FreeBSD Clang 6.0.1 (tags/RELEASE_601/final 335540)] on freebsd12 Type "help", "copyright", "credits" or "license" for more information. >>> from cypari2.pari_instance import Pari >>> pari=Pari() >>> pari(10**10) 100 >>> pari(10**20) 1 >>> but something apparently goes wrong in converting from cygpari to Sage. On Friday, July 19, 2019 at 6:14:37 PM UTC+1, Dima Pasechnik wrote: > > I can build cypari with SAGE_CHECK=yes, everything passes. But > pari(10^20) is a problem. > Could anyone point me possible causes? > > sage: pari(10^19) > 1000 > sage: pari(10^20) > 7766279631452241920 > > sage: > Exiting Sage (CPU time 0m0.15s, Wall time 0m28.21s). > > PARI/GP does work on this example, though: > > $ ./sage -gp > GP/PARI CALCULATOR Version > 2.11.1 (released) > amd64 running freebsd (x86-64 > kernel) 64-bit version > compiled: Jul 18 2019, FreeBSD clang version 6.0.1 > (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) > threading engine: > single > (readline not compiled in, > extended help enabled) > >Copyright (C) 2000-2018 > The PARI Group > > PARI/GP is free software, covered by the GNU General Public License, > and comes WITHOUT ANY WARRANTY WHATSOEVER. > > Type ? for help, \q to quit. > Type ?17 for how to get moral (and possibly technical) support. > > parisize = 800, primelimit = 50 > ? 10^19 > %1 = 1000 > ? 10^20 > %2 = 1 > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/8e78abed-2598-4057-ad91-779305ec266e%40googlegroups.com.
Re: [sage-devel] cypari problem on FreeBSD
What about sage: int(10^20) Le 19/07/2019 à 19:14, Dima Pasechnik a écrit : I can build cypari with SAGE_CHECK=yes, everything passes. But pari(10^20) is a problem. Could anyone point me possible causes? sage: pari(10^19) 1000 sage: pari(10^20) 7766279631452241920 sage: Exiting Sage (CPU time 0m0.15s, Wall time 0m28.21s). PARI/GP does work on this example, though: $ ./sage -gp GP/PARI CALCULATOR Version 2.11.1 (released) amd64 running freebsd (x86-64 kernel) 64-bit version compiled: Jul 18 2019, FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) threading engine: single (readline not compiled in, extended help enabled) Copyright (C) 2000-2018 The PARI Group PARI/GP is free software, covered by the GNU General Public License, and comes WITHOUT ANY WARRANTY WHATSOEVER. Type ? for help, \q to quit. Type ?17 for how to get moral (and possibly technical) support. parisize = 800, primelimit = 50 ? 10^19 %1 = 1000 ? 10^20 %2 = 1 -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/02634249-b980-e32f-5420-53004498f237%40gmail.com.
Re: [sage-devel] cypari problem on FreeBSD
On Fri, Jul 19, 2019 at 8:08 PM Vincent Delecroix <20100.delecr...@gmail.com> wrote: > > What about > > sage: int(10^20) sage: int(10^20) 1L > > Le 19/07/2019 à 19:14, Dima Pasechnik a écrit : > > I can build cypari with SAGE_CHECK=yes, everything passes. But > > pari(10^20) is a problem. > > Could anyone point me possible causes? > > > > sage: pari(10^19) > > 1000 > > sage: pari(10^20) > > 7766279631452241920 > > > > sage: > > Exiting Sage (CPU time 0m0.15s, Wall time 0m28.21s). > > > > PARI/GP does work on this example, though: > > > > $ ./sage -gp > > GP/PARI CALCULATOR Version > > 2.11.1 (released) > > amd64 running freebsd (x86-64 > > kernel) 64-bit version > >compiled: Jul 18 2019, FreeBSD clang version 6.0.1 > > (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) > >threading engine: > > single > >(readline not compiled in, > > extended help enabled) > > > > Copyright (C) 2000-2018 > > The PARI Group > > > > PARI/GP is free software, covered by the GNU General Public License, > > and comes WITHOUT ANY WARRANTY WHATSOEVER. > > > > Type ? for help, \q to quit. > > Type ?17 for how to get moral (and possibly technical) support. > > > > parisize = 800, primelimit = 50 > > ? 10^19 > > %1 = 1000 > > ? 10^20 > > %2 = 1 > > > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/02634249-b980-e32f-5420-53004498f237%40gmail.com. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq1UHNGpzD_oPx0syu4mBi4kNAZ8Uj6XmTbLarjGAc4Kbg%40mail.gmail.com.
Re: [sage-devel] cypari problem on FreeBSD
And I believe that this is also fine sage: pari(10r ** 20r) If so there is most probably something wrong with _new_GEN_from_mpz_t from sage.libs.pari.convert_gmp Le 19/07/2019 à 21:12, Dima Pasechnik a écrit : On Fri, Jul 19, 2019 at 8:08 PM Vincent Delecroix <20100.delecr...@gmail.com> wrote: What about sage: int(10^20) sage: int(10^20) 1L Le 19/07/2019 à 19:14, Dima Pasechnik a écrit : I can build cypari with SAGE_CHECK=yes, everything passes. But pari(10^20) is a problem. Could anyone point me possible causes? sage: pari(10^19) 1000 sage: pari(10^20) 7766279631452241920 sage: Exiting Sage (CPU time 0m0.15s, Wall time 0m28.21s). PARI/GP does work on this example, though: $ ./sage -gp GP/PARI CALCULATOR Version 2.11.1 (released) amd64 running freebsd (x86-64 kernel) 64-bit version compiled: Jul 18 2019, FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) threading engine: single (readline not compiled in, extended help enabled) Copyright (C) 2000-2018 The PARI Group PARI/GP is free software, covered by the GNU General Public License, and comes WITHOUT ANY WARRANTY WHATSOEVER. Type ? for help, \q to quit. Type ?17 for how to get moral (and possibly technical) support. parisize = 800, primelimit = 50 ? 10^19 %1 = 1000 ? 10^20 %2 = 1 -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/02634249-b980-e32f-5420-53004498f237%40gmail.com. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/169f4cdc-92c0-da69-9add-e51614c8ce94%40gmail.com.
Re: [sage-devel] cypari problem on FreeBSD
On Fri, Jul 19, 2019 at 8:14 PM Vincent Delecroix <20100.delecr...@gmail.com> wrote: > > And I believe that this is also fine > > sage: pari(10r ** 20r) yes, this works. While sage -t --warn-long 83.4 src/sage/libs/pari/convert_gmp.pyx Killed due to bus error ** Tests run before process (pid=5771) failed: sage: pari(42) # indirect doctest ## line 39 ## 42 sage: foo = pari(2^(32*1024)) # Create large integer to put PARI stack in known state ## line 47 ## sage: a5 = pari(5) ## line 48 ## sage: foo = pari(0xDEADBEEF * (2^(32*1024)-1)//(2^32 - 1)) # Dirty PARI stack ## line 49 ## sage: b5 = pari(5) ## line 50 ## sage: a5.__hash__() == b5.__hash__() ## line 51 ## Attaching gdb to process id 5771. Cannot find gdb installed GDB is not installed. Install gdb for enhanced tracebacks. Unhandled SIGBUS: A bus error occurred. > > If so there is most probably something wrong with > _new_GEN_from_mpz_t from sage.libs.pari.convert_gmp > > Le 19/07/2019 à 21:12, Dima Pasechnik a écrit : > > On Fri, Jul 19, 2019 at 8:08 PM Vincent Delecroix > > <20100.delecr...@gmail.com> wrote: > >> > >> What about > >> > >> sage: int(10^20) > > > > sage: int(10^20) > > 1L > > > > > >> > >> Le 19/07/2019 à 19:14, Dima Pasechnik a écrit : > >>> I can build cypari with SAGE_CHECK=yes, everything passes. But > >>> pari(10^20) is a problem. > >>> Could anyone point me possible causes? > >>> > >>> sage: pari(10^19) > >>> 1000 > >>> sage: pari(10^20) > >>> 7766279631452241920 > >>> > >>> sage: > >>> Exiting Sage (CPU time 0m0.15s, Wall time 0m28.21s). > >>> > >>> PARI/GP does work on this example, though: > >>> > >>> $ ./sage -gp > >>> GP/PARI CALCULATOR Version > >>> 2.11.1 (released) > >>> amd64 running freebsd (x86-64 > >>> kernel) 64-bit version > >>> compiled: Jul 18 2019, FreeBSD clang version 6.0.1 > >>> (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) > >>> threading engine: > >>> single > >>> (readline not compiled in, > >>> extended help enabled) > >>> > >>> Copyright (C) 2000-2018 > >>> The PARI Group > >>> > >>> PARI/GP is free software, covered by the GNU General Public License, > >>> and comes WITHOUT ANY WARRANTY WHATSOEVER. > >>> > >>> Type ? for help, \q to quit. > >>> Type ?17 for how to get moral (and possibly technical) support. > >>> > >>> parisize = 800, primelimit = 50 > >>> ? 10^19 > >>> %1 = 1000 > >>> ? 10^20 > >>> %2 = 1 > >>> > >> > >> -- > >> You received this message because you are subscribed to the Google Groups > >> "sage-devel" group. > >> To unsubscribe from this group and stop receiving emails from it, send an > >> email to sage-devel+unsubscr...@googlegroups.com. > >> To view this discussion on the web visit > >> https://groups.google.com/d/msgid/sage-devel/02634249-b980-e32f-5420-53004498f237%40gmail.com. > > > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/169f4cdc-92c0-da69-9add-e51614c8ce94%40gmail.com. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq1xuezfcqGM9-AKF%3D0dF8ThFuwHP-%3DDJmOEY_0Z2fXERw%40mail.gmail.com.