Re: [sage-devel] Sage in Mac OSX 11.11 (El Capitan)
> El 8 ago 2015, a las 0:22, Volker Braun escribió: > > sage -sh -c 'otool -L $SAGE_ROOT/local/lib/libsingular.dylib' I’m not sure if this is what you want to check: ./sage -sh -c 'otool -L $SAGE_ROOT/local/lib/libsingular.dylib’ /Applications/sage-6.8/local/lib/libsingular.dylib: libsingular.dylib (compatibility version 0.0.0, current version 0.0.0) /Applications/sage-6.8/local/lib/libflint.dylib (compatibility version 0.0.0, current version 0.0.0) /Applications/sage-6.8/local/lib/libmpfr.4.dylib (compatibility version 6.0.0, current version 6.2.0) /Applications/sage-6.8/local/lib/libmpir.16.dylib (compatibility version 17.0.0, current version 17.0.0) /Applications/sage-6.8/local/lib/libntl.16.dylib (compatibility version 17.0.0, current version 17.0.0) /Applications/sage-6.8/local/lib/libreadline.6.dylib (compatibility version 6.0.0, current version 6.3.0) /Applications/sage-6.8/local/lib/libgmp.16.dylib (compatibility version 17.0.0, current version 17.0.0) /Applications/sage-6.8/local/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.20.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1225.0.0) /Applications/sage-6.8/local/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) -- 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 http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] Sage in Mac OSX 11.11 (El Capitan)
On Friday, August 7, 2015 at 2:27:19 PM UTC+2, Juan Luis Varona wrote: > > sage -sh -c 'otool -L $SAGE_ROOT/local/lib/libsingular.dylib’ > > Your email client messed up the final backtick, it shoud be the same as all the other ones but you have a U+2019 there. sage -sh -c 'otool -L $SAGE_ROOT/local/lib/libsingular.dylib' -- 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 http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] [ANN] Flint 2.5 released
Hi all, We are very pleased to present Flint version 2.5.0. It can be downloaded from our website: http://http://flintlib.org/ FLINT is a C library for arithmetic in support of Number Theory, including polynomial arithmetic and linear algebra over Z, Z/nZ, Q, p-adics, q-adics, F_q, and univariate factorisation over those rings. It depends on GMP or MPIR and MPFR. New features/improvements in this release include: * LLL (rational, Nguyen-Stehle, from Gram matrix, with_removal, Storjohann/ULLL) [1] * Hermite normal form (naive, xgcd, Domich-Kannan-Trotter, Kannan-Bachem, Pernet-Stein) [1] * Smith normal form (diagonal, Kannen-Bachem, Iliopoulos) [1] * Paterson-Stockmeyer algorithm * modular resultant * half gcd style resultant * polynomial discriminant * multithreaded multimodular Taylor shift * multithreaded Brent-Kung composition * multithreaded Kaltofen-Shoup distinct degree factorisation * multiplication based reduced row echelon form * inline functions included in library for use by foreign function interfaces * Primality tests for large integers (Pocklington, Morrison) * Probable prime tests for large integers (Lucas, Baillie-PSW, strong-psp, Brillhart-Lehmer-Selfridge) * CRT for large integers * Dixon algorithm for nullspace [1] * Brent-Kung composition in irreducibility and distinct degree factorisation * floating point QR decomposition * Schwarz-Rutishauser Gram-Schmidt algorithm * Ogita-Rump-Oishi dot product * matrix window functions * MSVC support (Brian Gladman) * fast cube/nth-root (Newton, Kahan, magic number, Chebyshev) * Bodrato matrix squaring * matrix concatenation functions * matrix content * faster n_gcd * faster n_sqrtmod and fmpz_sqrtmod * additional functions for returning factor of modulus in polys over Z/nZ * Hadamard matrix construction * series addition/subtraction * faster prime_pi bounds * speedup creation of sparse polynomials * speedup n_isprime and n_nextprime * speedup n_isprime_pocklington * speedups to fmpq_poly and fmpz_poly arithmetic * speedup polynomial irreducibility testing over Z/pZ * speedup of rank computation over ZZ * made CPimport compile time dependency only * teach flint_printf/sprintf about explicit width format specifiers * support relative paths in configure * library soname versioning * ARM64 patches * Support MSYS2 * Progress towards supporting MIPS64 * Many build system improvements * Fix a serious bug in fmpz_poly_signature Contributors to this release include: Abinhav Baid, Alex Best, Fredrik Johansson, William Hart, Brian Gladman, Jean-Pierre Flori, Martin Lee, Curtis Bright, Daniel Fabian, Julian Ospald, Dan Grayson, Dana Jacobsen, Vladimir Glazachev, Kushagra Singh, Ashish Kedia, Anubhav Srivistava, Prabhdeep Singh, Alena Sergeicheva, Sebastian Pancratz, mgkurtz, Tommy Hofmann, Daniel Roche, Max Goldfar, Andreas Enge, Francois Bissey, Denis Kryskov, Anton Mellit, and numerous others. [1] Thanks to Google for funding students through its Google Summer of Code. Abinhav Baid and Alex Best contributed to Flint through this program. Best wishes, The Flint Development Team. -- 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 http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] Serious bug in Flint's fmpz_poly_signature
Hi Bill, Thanks. Though it does neither seem to be used anywhere in Sage nor in any other flint function. Vincent On 07/08/15 14:34, 'Bill Hart' via sage-devel wrote: Hi all, Unfortunately I have to report that we have found a serious bug in fmpz_poly_signature. It was computing incorrect signatures for many polynomials. The algorithm was incorrect in that it was not taking absolute values at a certain point. This would throw out the result in very many cases, e.g. cyclotomic polynomials. It's amazing that the bug was not picked up by the test code, which actually went to quite some trouble. It wasn't a particularly rare bug. It just happened to not be triggered by any of our tests. The bug has now been fixed in trunk and will make it into the 2.5 release which should be out either today or within a few days at most. Bill. -- 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 http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Serious bug in Flint's fmpz_poly_signature
Hi all, Unfortunately I have to report that we have found a serious bug in fmpz_poly_signature. It was computing incorrect signatures for many polynomials. The algorithm was incorrect in that it was not taking absolute values at a certain point. This would throw out the result in very many cases, e.g. cyclotomic polynomials. It's amazing that the bug was not picked up by the test code, which actually went to quite some trouble. It wasn't a particularly rare bug. It just happened to not be triggered by any of our tests. The bug has now been fixed in trunk and will make it into the 2.5 release which should be out either today or within a few days at most. Bill. -- 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 http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] Sage in Mac OSX 11.11 (El Capitan)
> > > Also, whats the output of > > sage -sh -c 'otool -L $SAGE_ROOT/local/lib/libsingular.dylib’ Nothing (only >). > sage -sh -c 'otool -L > $SAGE_ROOT/local/lib/python2.7/site-packages/sage/matrix/matrix_mpolynomial_dense.so' > ./sage -sh -c 'otool -L $SAGE_ROOT/local/lib/python2.7/site-packages/sage/matrix/matrix_mpolynomial_dense.so’ /Applications/sage-6.8/local/lib/python2.7/site-packages/sage/matrix/matrix_mpolynomial_dense.so: libsingular.dylib (compatibility version 0.0.0, current version 0.0.0) /Applications/sage-6.8/local/lib/libntl.16.dylib (compatibility version 17.0.0, current version 17.0.0) /Applications/sage-6.8/local/lib/libflint.dylib (compatibility version 0.0.0, current version 0.0.0) /Applications/sage-6.8/local/lib/libgmp.16.dylib (compatibility version 17.0.0, current version 17.0.0) /Applications/sage-6.8/local/lib/libgmpxx.8.dylib (compatibility version 9.0.0, current version 9.0.0) /Applications/sage-6.8/local/lib/libreadline.6.dylib (compatibility version 6.0.0, current version 6.3.0) /Applications/sage-6.8/local/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.20.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1225.0.0) /Applications/sage-6.8/local/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) -- 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 http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] Sage in Mac OSX 11.11 (El Capitan)
Also, whats the output of sage -sh -c 'otool -L $SAGE_ROOT/local/lib/libsingular.dylib' sage -sh -c 'otool -L $SAGE_ROOT/local/lib/python2.7/site-packages/sage/matrix/matrix_mpolynomial_dense.so' On Friday, August 7, 2015 at 1:56:39 PM UTC+2, Juan Luis Varona wrote: > > > > > > > And what does > > “file /Applications/sage-6.8/local/lib/libsingular.dylib” > > says? > > > > Yes, sure: > > cd /Applications/sage-6.8/local/lib > > ls -l > > . . . > > -rwxr-xr-x1 jvarona staff8706256 6 ago 21:56 libsingular.dylib > > . . . > > > -- 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 http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] Sage in Mac OSX 11.11 (El Capitan)
> > > I asked for the output of the “file” command. But I am not expecting anything > spectacular > because what I thought about initially should have broken at compilation time. > Sorry, I was answering your previous message, If I use file /Applications/sage-6.8/local/lib/libsingular.dylib I get /Applications/sage-6.8/local/lib/libsingular.dylib: Mach-O 64-bit dynamically linked shared library x86_64 Juan Luis > François > >> On 7/08/2015, at 23:56, Juan Luis Varona wrote: >> >>> >>> >>> And what does >>> “file /Applications/sage-6.8/local/lib/libsingular.dylib” >>> says? >>> >> >> Yes, sure: >> >> cd /Applications/sage-6.8/local/lib >> >> ls -l >> >> . . . >> >> -rwxr-xr-x1 jvarona staff8706256 6 ago 21:56 libsingular.dylib >> >> . . . >> >> >> -- >> 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 http://groups.google.com/group/sage-devel. >> For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to a topic in the Google > Groups "sage-devel" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/sage-devel/OBv5x1v3_6M/unsubscribe. > To unsubscribe from this group and all its topics, 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 http://groups.google.com/group/sage-devel. > 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] Sage in Mac OSX 11.11 (El Capitan)
I asked for the output of the “file” command. But I am not expecting anything spectacular because what I thought about initially should have broken at compilation time. François > On 7/08/2015, at 23:56, Juan Luis Varona wrote: > >> >> >> And what does >> “file /Applications/sage-6.8/local/lib/libsingular.dylib” >> says? >> > > Yes, sure: > > cd /Applications/sage-6.8/local/lib > > ls -l > > . . . > > -rwxr-xr-x1 jvarona staff8706256 6 ago 21:56 libsingular.dylib > > . . . > > > -- > 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 http://groups.google.com/group/sage-devel. > 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] Sage in Mac OSX 11.11 (El Capitan)
> > > And what does > “file /Applications/sage-6.8/local/lib/libsingular.dylib” > says? > Yes, sure: cd /Applications/sage-6.8/local/lib ls -l . . . -rwxr-xr-x1 jvarona staff8706256 6 ago 21:56 libsingular.dylib . . . -- 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 http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] Sage in Mac OSX 11.11 (El Capitan)
And what does “file /Applications/sage-6.8/local/lib/libsingular.dylib” says? François > On 7/08/2015, at 23:43, Juan Luis Varona wrote: > > > >> All right. Do you have a file named >> /Applications/sage-6.8/local/lib/libsingular.dylib? >> > > Yes, it is a 8.7 MB file. > > Yours, > > Juan Luis > > -- > 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 http://groups.google.com/group/sage-devel. > 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] Sage in Mac OSX 11.11 (El Capitan)
> All right. Do you have a file named > /Applications/sage-6.8/local/lib/libsingular.dylib? > Yes, it is a 8.7 MB file. Yours, Juan Luis -- 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 http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] Sage in Mac OSX 11.11 (El Capitan)
All right. Do you have a file named /Applications/sage-6.8/local/lib/libsingular.dylib? François > On 7/08/2015, at 23:32, Juan Luis Varona wrote: > > I have tried to compile sage-6.8 (yesterday I wrote 2.6 instead of 6.8 by > mistake) under osx 10.11 beta4, again without sucess. > > This is the final error message: > > > Unhandled SIGSEGV: A segmentation fault occurred in Sage. > This probably occurred because a *compiled* component of Sage has a bug > in it and is not properly wrapped with sig_on(), sig_off(). > Sage will now terminate. > > ./sage: line 134: 71464 Segmentation fault: 11 "$SAGE_ROOT/src/bin/sage" "$@" > make[2]: *** [doc-html] Error 139 > make[1]: *** [all] Error 2 > > real 1584m1.633s > user 543m24.211s > sys 61m11.615s > *** > Error building Sage. > > The following package(s) may have failed to build (not necessarily > during this run of 'make all'): > > The build directory may contain configuration files and other potentially > helpful information. WARNING: if you now run 'make' again, the build > directory will, by default, be deleted. Set the environment variable > SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this. > > make: *** [all] Error 1 > > > The entire log file is here (a 22.9 MB file): > https://dl.dropboxusercontent.com/u/8293746/log-compiling-sage68-osx10.11-beta4.txt > > If I use ./sage, I get this message: > --- > Last login: Thu Aug 6 01:32:40 on ttys000 > AirTeXano:~ jvarona$ cd /Applications/sage-6.8 > AirTeXano:sage-6.8 jvarona$ ./sage > ┌┐ > │ SageMath Version 6.8, Release Date: 2015-07-26 │ > │ Type "notebook()" for the browser-based notebook interface.│ > │ Type "help()" for help.│ > └┘ > This looks like the first time you are running Sage. > Updating various hardcoded paths... > (Please wait at most a few minutes.) > DO NOT INTERRUPT THIS. > Done updating paths. > > ** > > Oops, Sage crashed. We do our best to make it stable, but... > > A crash report was automatically generated with the following information: > - A verbatim copy of the crash traceback. > - A copy of your input history during this session. > - Data on your current Sage configuration. > > It was left in the file named: > '/Users/jvarona/.sage/ipython-3.2.0/Sage_crash_report.txt' > If you can email this file to the developers, the information in it will help > them in understanding and correcting the problem. > > You can mail it to: sage-support at sage-supp...@googlegroups.com > with the subject 'Sage Crash Report'. > > If you want to do it now, the following command will work (under Unix): > mail -s 'Sage Crash Report' sage-supp...@googlegroups.com < > /Users/jvarona/.sage/ipython-3.2.0/Sage_crash_report.txt > > To ensure accurate tracking of this issue, please file a report about it at: > http://trac.sagemath.org > --- > > And this is the Sage_crash_report.txt file (32 KB file): > https://dl.dropboxusercontent.com/u/8293746/Sage_crash_report.txt > > -- > 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 http://groups.google.com/group/sage-devel. > 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: Sage in Mac OSX 11.11 (El Capitan)
ImportError: dlopen(/Applications/sage-6.8/local/lib/python2.7/site-packages/sage/matrix/matrix_mpolynomial_dense.so, 2): Library not loaded: libsingular.dylib Referenced from: /Applications/sage-6.8/local/lib/python2.7/site-packages/sage/matrix/matrix_mpolynomial_dense.so Reason: image not found do you have a libsingular.dylib? -- 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 http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: Sage in Mac OSX 11.11 (El Capitan)
I have tried to compile sage-6.8 (yesterday I wrote 2.6 instead of 6.8 by mistake) under osx 10.11 beta4, again without sucess. This is the final error message: Unhandled SIGSEGV: A segmentation fault occurred in Sage. This probably occurred because a *compiled* component of Sage has a bug in it and is not properly wrapped with sig_on(), sig_off(). Sage will now terminate. ./sage: line 134: 71464 Segmentation fault: 11 "$SAGE_ROOT/src/bin/sage" "$@" make[2]: *** [doc-html] Error 139 make[1]: *** [all] Error 2 real 1584m1.633s user 543m24.211s sys 61m11.615s *** Error building Sage. The following package(s) may have failed to build (not necessarily during this run of 'make all'): The build directory may contain configuration files and other potentially helpful information. WARNING: if you now run 'make' again, the build directory will, by default, be deleted. Set the environment variable SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this. make: *** [all] Error 1 The entire log file is here (a 22.9 MB file): https://dl.dropboxusercontent.com/u/8293746/log-compiling-sage68-osx10.11-beta4.txt If I use ./sage, I get this message: --- Last login: Thu Aug 6 01:32:40 on ttys000 AirTeXano:~ jvarona$ cd /Applications/sage-6.8 AirTeXano:sage-6.8 jvarona$ ./sage ┌┐ │ SageMath Version 6.8, Release Date: 2015-07-26 │ │ Type "notebook()" for the browser-based notebook interface.│ │ Type "help()" for help.│ └┘ This looks like the first time you are running Sage. Updating various hardcoded paths... (Please wait at most a few minutes.) DO NOT INTERRUPT THIS. Done updating paths. ** Oops, Sage crashed. We do our best to make it stable, but... A crash report was automatically generated with the following information: - A verbatim copy of the crash traceback. - A copy of your input history during this session. - Data on your current Sage configuration. It was left in the file named: '/Users/jvarona/.sage/ipython-3.2.0/Sage_crash_report.txt' If you can email this file to the developers, the information in it will help them in understanding and correcting the problem. You can mail it to: sage-support at sage-supp...@googlegroups.com with the subject 'Sage Crash Report'. If you want to do it now, the following command will work (under Unix): mail -s 'Sage Crash Report' sage-supp...@googlegroups.com < /Users/jvarona/.sage/ipython-3.2.0/Sage_crash_report.txt To ensure accurate tracking of this issue, please file a report about it at: http://trac.sagemath.org --- And this is the Sage_crash_report.txt file (32 KB file): https://dl.dropboxusercontent.com/u/8293746/Sage_crash_report.txt -- 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 http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.