[sage-support] turn off stopgaps ?
Is there a way to turn off stopgaps ? I know I should not, but my script uses 100 of times the evaluation of a function (heights on elliptic curves over number fields) but checks if the error occurs by itself. So I would prefer not to see all the warnings because I am warned already. Chris. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] strange behavior in sage 5.0
Any advice here? Am I doing something wrong: sage: 1+1 2 sage: (0.8*0.15)/(0.8*0.15 + 0.2*0.85) Unhandled SIGILL: An illegal instruction 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(). You might want to run Sage under gdb with 'sage -gdb' to debug this. Sage will now terminate. /Users/kribet/Desktop/sage/spkg/bin/sage: line 312: 70167 Illegal instruction: 4 sage-ipython $@ -i Ken -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] CRITICAL: Can't install Sage 5.0 on Fedora
Hello, I just downloaded the Sage 5.0 binaries for Fedora 16 (32 Bit). I copy them to my system and when I start Sage, I get the following: ERROR: An unexpected error occurred while tokenizing input The following traceback may be corrupted or invalid The error message is: ('EOF in multi-line statement', (1059, 0)) then A LOT of Import errors and at the end ImportError: libboost_unit_test_framework.so.1.47.0: cannot open shared object file: No such file or directory Error importing ipy_profile_sage - perhaps you should run %upgrade? WARNING: Loading of ipy_profile_sage failed. Does anyone know how to fix this? I start building Sage from source now (on Fedora), maybe I can get this working. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: CRITICAL: Can't install Sage 5.0 on Fedora
Oh sh*t, I'm an idiot. Installed the boost libraries (I don't know why I didn't have them :/) and now it's working. Can anyone close this thread? -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: Integration issue
On Thursday, May 17, 2012 1:52:38 AM UTC-4, ketchers wrote: I don't know how to get sage to understand domain : complex so I tried with assume and here is what happened. Does it make sense? Yes, it does. Our assumptions go through Maxima, and apparently assuming a variable is complex does the job. sage: a = integrate(x*cos(x^3),(x,0,0.5)).n() sage: assume(x,'complex') sage: b = integrate(x*cos(x^3),(x,0,0.5)).n() sage: assumptions() [x is complex] But apparently we didn't think of this redundancy. I suppose it's possible for a variable to be real and complex, but probably this is not what is intended, as your post implies. (Try to actually cut and paste commands, having it in the image makes it tedious to reproduce.) sage: assume(x,'real') sage: assumptions() [x is complex, x is real] sage: maxima_calculus('domain') complex sage: forget() sage: c = integrate(x*cos(x^3),(x,0,0.5)).n() sage: a; b; c -0.0677842754623305 0.1247560409610376 -0.0677842754623305 -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
Re: [sage-support] Re: Sage 5.0 crashing, is unusable
On Thursday, May 17, 2012 12:08:55 AM UTC-4, Volker Braun wrote: This is now http://trac.sagemath.org/sage_trac/ticket/12954 If somebody has the spkg/logs/mpfr-3.1.0.p1.log from within the dmg, please attach it to the ticket. My connection here is too slow to download it. Volker, I'm in the dmg now and there is no spkg/logs directory. $ pwd /Volumes/sage-5.0-OSX-64bit-10.6-x86_64-Darwin/sage/spkg $ ls -a . build pipestatus .. gen_html root-spkg-install README.txt install standard base installed bin optional Maybe sage -bdist removes logs? I have that directory in my built-from-scratch 5.0. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: build failure.
Something in your toolchain still doesn't understand AVX. The easiest possiblity is probably to set CFLAGS, e.g. CFLAGS=-O2 -m64 -march=core2 -mtune=core2 export CFLAGS make On Wednesday, May 16, 2012 7:43:04 PM UTC-4, abe wrote: Volker Braun wrote: Atlas will always generate compiler errors when it tries to find out what kind of assembler is supported. The real error is somewhere else. Post the full log somewhere. it's a core-i7 with Scientific Linux SL (2.6.18-308.4.1.el5) I installed the newest version of binutils (2.22) and now it fails later at mpir I've attached the gzipped log. thanks, Eiso uname -a Linux xxx.net http://xxx.net 2.6.18-274.el5 #1 SMP Thu Jul 21 12:13:11 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux gcc -std=gnu99 -DHAVE_CONFIG_H -I. -O2 -m64 -march=corei7-avx -mtune=corei7-avx -MT yasm.o -MD -MP -MF .deps/yasm.Tpo -c -o yasm.o `test -f 'frontends/yasm/yasm.c' || echo './'`frontends/yasm/yasm.c mv -f .deps/yasm.Tpo .deps/yasm.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -O2 -m64 -march=corei7-avx -mtune=corei7-avx -MT yasm-options.o -MD -MP -MF .deps/yasm-options.Tpo -c -o yasm-options.o `test -f 'frontends/yasm/yasm-options.c' || echo './'`frontends/yasm/yasm-options.c mv -f .deps/yasm-options.Tpo .deps/yasm-options.Po gcc -std=gnu99 -O2 -m64 -march=corei7-avx -mtune=corei7-avx -Wl,-z,noexecstack -o yasm yasm.o yasm-options.o libyasm.a gcc -std=gnu99 -DHAVE_CONFIG_H -I. -O2 -m64 -march=corei7-avx -mtune=corei7-avx -MT tasm.o -MD -MP -MF .deps/tasm.Tpo -c -o tasm.o `test -f 'frontends/tasm/tasm.c' || echo './'`frontends/tasm/tasm.c mv -f .deps/tasm.Tpo .deps/tasm.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -O2 -m64 -march=corei7-avx -mtune=corei7-avx -MT tasm-options.o -MD -MP -MF .deps/tasm-options.Tpo -c -o tasm-options.o `test -f 'frontends/tasm/tasm-options.c' || echo './'`frontends/tasm/tasm-options.c mv -f .deps/tasm-options.Tpo .deps/tasm-options.Po gcc -std=gnu99 -O2 -m64 -march=corei7-avx -mtune=corei7-avx -Wl,-z,noexecstack -o ytasm tasm.o tasm-options.o libyasm.a gcc -std=gnu99 -DHAVE_CONFIG_H -I. -O2 -m64 -march=corei7-avx -mtune=corei7-avx -MT vsyasm.o -MD -MP -MF .deps/vsyasm.Tpo -c -o vsyasm.o `test -f 'frontends/vsyasm/vsyasm.c' || echo './'`frontends/vsyasm/vsyasm.c mv -f .deps/vsyasm.Tpo .deps/vsyasm.Po gcc -std=gnu99 -O2 -m64 -march=corei7-avx -mtune=corei7-avx -Wl,-z,noexecstack -o vsyasm vsyasm.o yasm-options.o libyasm.a make[6]: Leaving directory `/data1/software/src/SAGE/sage-5.0/spkg/build/mpir-2.4.0.p3/src/yasm' make[5]: Leaving directory `/data1/software/src/SAGE/sage-5.0/spkg/build/mpir-2.4.0.p3/src/yasm' make[4]: Leaving directory `/data1/software/src/SAGE/sage-5.0/spkg/build/mpir-2.4.0.p3/src/yasm' Making all in mpn make[4]: Entering directory `/data1/software/src/SAGE/sage-5.0/spkg/build/mpir-2.4.0.p3/src/mpn' /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo dummy1 | sed 's/_$//'`-O2 -m64 -march=corei7-avx -mtune=corei7-avx -c -o dummy1.lo dummy1.c libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_dummy1 -O2 -m64 -march=corei7-avx -mtune=corei7-avx -c dummy1.c -fPIC -DPIC -o .libs/dummy1.o libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_dummy1 -O2 -m64 -march=corei7-avx -mtune=corei7-avx -c dummy1.c -o dummy1.o /dev/null 21 /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo add | sed 's/_$//'`-O2 -m64 -march=corei7-avx -mtune=corei7-avx -c -o add.lo add.c libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_add -O2 -m64 -march=corei7-avx -mtune=corei7-avx -c add.c -fPIC -DPIC -o .libs/add.o libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_add -O2 -m64 -march=corei7-avx -mtune=corei7-avx -c add.c -o add.o /dev/null 21 /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo add_1 | sed 's/_$//'`-O2 -m64 -march=corei7-avx -mtune=corei7-avx -c -o add_1.lo add_1.c libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_add_1 -O2 -m64 -march=corei7-avx -mtune=corei7-avx -c add_1.c -fPIC -DPIC -o .libs/add_1.o libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_add_1 -O2 -m64 -march=corei7-avx -mtune=corei7-avx -c add_1.c -o add_1.o /dev/null 21 /bin/sh ../libtool --mode=compile --tag=CC ../strip_fPIC.sh ../yasm/yasm -I .. -f elf64 -o add_n.lo `test -f 'add_n.as' || echo './'`add_n.as libtool: compile: ../strip_fPIC.sh ../yasm/yasm -I .. -f elf64 add_n.as
Re: [sage-support] Sage 5.0 crashing, is unusable
On May 17, 2012, at 6:05 AM, David Kirkby wrote: Update: I downloaded and installed sage 5.0 again. The sequence of commands below induces the same SIGILL crash. I find it hard to blame a defective download. Why not just look at the md5 checksum? That would have saved you downloading it a second time, and you would be 99.999 (not sure how many 9s) percent sure the file is not corrupted. Why? Because I don't know how to apply the checksum to test the downloaded file. Jim -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
Re: [sage-support] Re: Sage 5.0 crashing, is unusable
On May 17, 2012, at 8:08 AM, Keshav Kini wrote: Why not just look at the md5 checksum? That would have saved you downloading it a second time, and you would be 99.999 (not sure how many 9s) percent sure the file is not corrupted. Why? Because I don't know how to apply the checksum to test the downloaded file. For future reference, run `md5sum filename` in a terminal to check the MD5 sum of a file. Thank you Keshav. This is helpful. I will file this away in my list of helpful things to know. Jim -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: Error: Failed to istall package 'PyWavelets-0.2.0.p0'
fu7ur3 future@gmail.com writes: Well thanks a lot but to be honest I have now idea how to do it. I'm not a developer would it be possible to help me a bit? Thank you Lenka It looks like this was already fixed by the developers of PyWavelets: https://github.com/nigma/pywt/commit/710f3e1ac7b05562cbb484776918ee902fe5069f But they haven't released a new version containing the fix yet. -Keshav Join us in #sagemath on irc.freenode.net ! -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Sage-5.0 under solaris 10
First attempt to compile sage-5.0 on Solaris 10: uname -a SunOS mimosa 5.10 Generic_141444-09 sun4v sparc SUNW,SPARC-Enterprise-T5220 Solaris Failed at the first post with: checking for /usr/local/gnu/lib/libgfortran.so... yes configure: The environment variable configure: SAGE_FORTRAN_LIB=/usr/local/gnu/lib/libgfortran.so configure: is a not a 32-bit dynamic library. SAGE64 was configure: not set to yes, so you intend to build 32-bit. configure: The environment variables SAGE_FORTRAN_LIB and/or SAGE64 configure: are not set properly. configure: error: Exiting, due to the incorrect configuration of environment variables You do not have all of the prerequisites needed to build Sage from source. See the errors above. make[1]: *** [installed/prereq-1.0] Error 1 make[1]: Target `all' not remade because of errors. make[1]: Leaving directory `/home/unit/cu/dcv/src/local/sage-5.0/spkg' /usr/local/gnu/lib/libgfortran.so sure is a 32-bit dynamic library, and this same setup, with the same env variables, (almost) worked with sage-5.0.rc0. file -L /usr/local/gnu/lib/libgfortran.so /usr/local/gnu/lib/libgfortran.so: ELF 32-bit MSB shared object, SPARC32PLUS, V8+ Required, version 1 (SYSV), not stripped env ... MAKE=make -j64 -l64 SAGE_CHECK=yes SAGE_FORTRAN=/usr/local/gnu/bin/gfortran SAGE_FORTRAN_LIB=/usr/local/gnu/lib/libgfortran.so -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: CRITICAL: Can't install Sage 5.0 on Fedora
Garve Ragnara xga...@googlemail.com writes: Oh sh*t, I'm an idiot. Installed the boost libraries (I don't know why I didn't have them :/) and now it's working. Can anyone close this thread? That's... interesting. I didn't know that Sage requires the boost libraries. At least it is not mentioned in the installation docs as far as I can see. -Keshav Join us in #sagemath on irc.freenode.net ! -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
Re: [sage-support] Re: Sage 5.0 crashing, is unusable
For future reference, run `md5sum filename` in a terminal to check the MD5 sum of a file. I'm pretty sure it's md5, not md5sum, on OS X (at least in 10.6). Doug -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: Sage 5.0 crashing, is unusable
D. S. McNeil dsm...@gmail.com writes: For future reference, run `md5sum filename` in a terminal to check the MD5 sum of a file. I'm pretty sure it's md5, not md5sum, on OS X (at least in 10.6). I see. I'm on Linux - here it's md5sum. I didn't realize it might be different on OS X. -Keshav Join us in #sagemath on irc.freenode.net ! -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
Re: [sage-support] Re: CRITICAL: Can't install Sage 5.0 on Fedora
On Thu, May 17, 2012 at 8:42 AM, Keshav Kini keshav.k...@gmail.com wrote: Garve Ragnara xga...@googlemail.com writes: Oh sh*t, I'm an idiot. Installed the boost libraries (I don't know why I didn't have them :/) and now it's working. Can anyone close this thread? That's... interesting. I didn't know that Sage requires the boost libraries. At least it is not mentioned in the installation docs as far as I can see. Sage absolutely should *not* require boost installed systemwide, that is a serious bug. I think the polybori spkg in sage is the only thing that uses boost, which is why we include some 'boost cropped' with sage. -Keshav Join us in #sagemath on irc.freenode.net ! -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org -- William Stein Professor of Mathematics University of Washington http://wstein.org -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
Re: [sage-support] Sage-5.0 under solaris 10
On 2012-05-17 17:26, Rob McMahon wrote: MAKE=make -j64 -l64 SAGE_CHECK=yes SAGE_FORTRAN=/usr/local/gnu/bin/gfortran SAGE_FORTRAN_LIB=/usr/local/gnu/lib/libgfortran.so I suggest building without setting SAGE_FORTRAN and SAGE_FORTRAN_LIB. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
Re: [sage-support] Re: CRITICAL: Can't install Sage 5.0 on Fedora
On 2012-05-17 17:56, William Stein wrote: On Thu, May 17, 2012 at 8:42 AM, Keshav Kini keshav.k...@gmail.com wrote: Garve Ragnara xga...@googlemail.com writes: Oh sh*t, I'm an idiot. Installed the boost libraries (I don't know why I didn't have them :/) and now it's working. Can anyone close this thread? That's... interesting. I didn't know that Sage requires the boost libraries. At least it is not mentioned in the installation docs as far as I can see. Sage absolutely should *not* require boost installed systemwide, that is a serious bug. It does require the boost library system-wide, see sage-devel. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
Re: [sage-support] Sage-5.0 under solaris 10
On 17/05/2012 16:26, Rob McMahon wrote: First attempt to compile sage-5.0 on Solaris 10: uname -a SunOS mimosa 5.10 Generic_141444-09 sun4v sparc SUNW,SPARC-Enterprise-T5220 Solaris Failed at the first post with: checking for /usr/local/gnu/lib/libgfortran.so... yes configure: The environment variable configure: SAGE_FORTRAN_LIB=/usr/local/gnu/lib/libgfortran.so configure: is a not a 32-bit dynamic library. SAGE64 was configure: not set to yes, so you intend to build 32-bit. configure: The environment variables SAGE_FORTRAN_LIB and/or SAGE64 configure: are not set properly. configure: error: Exiting, due to the incorrect configuration of environment variables You do not have all of the prerequisites needed to build Sage from source. See the errors above. make[1]: *** [installed/prereq-1.0] Error 1 make[1]: Target `all' not remade because of errors. make[1]: Leaving directory `/home/unit/cu/dcv/src/local/sage-5.0/spkg' /usr/local/gnu/lib/libgfortran.so sure is a 32-bit dynamic library, and this same setup, with the same env variables, (almost) worked with sage-5.0.rc0. file -L /usr/local/gnu/lib/libgfortran.so /usr/local/gnu/lib/libgfortran.so: ELF 32-bit MSB shared object, SPARC32PLUS, V8+ Required, version 1 (SYSV), not stripped Answering my own question: it's this line from spkg/build/prereq-1.0/configure{,.ac} if test x`file $SAGE_FORTRAN_LIB | grep 32-bit | grep \dynamic lib\ ` = 'x' Having set my path up to get GNU make, it was also picking up a different version of `file' which says shared object instead of dynamic lib. Moving on ... Rob -- E-Mail: rob.mcma...@warwick.ac.uk PHONE: +44 24 7652 3037 Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: Status of alpha.sagenb.org
It appears to be up and running now. On Wednesday, May 16, 2012 1:33:32 PM UTC-5, Micah James wrote: Hello all. It looks like alpha.sagenb.org has been down for at least a couple days now. Is this a planned outage? Does anyone happen to know when it might return? -Micah -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: Status of alpha.sagenb.org
On 5/17/12 1:48 PM, Micah James wrote: It appears to be up and running now. Yep, and just minutes ago, I upgraded it to 5.0 as well. Jason -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
Re: [sage-support] Sage-5.0 under solaris 10
On 17 May 2012 16:57, Rob McMahon robmcmaho...@gmail.com wrote: Answering my own question: it's this line from spkg/build/prereq-1.0/configure{,.ac} if test x`file $SAGE_FORTRAN_LIB | grep 32-bit | grep \dynamic lib\ ` = 'x' Having set my path up to get GNU make, it was also picking up a different version of `file' which says shared object instead of dynamic lib. Moving on ... Rob I guess we could change the call to file to /usr/bin/file. I suspect the file command will be in /usr/bin on any platform. But with the gcc package now part of Sage, I think using the Solaris -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org