Re: [sage-support] Re: How to enable interactive matplotlib

2012-05-17 Thread Jim Clark
On May 17, 2012, at 7:11 PM, Keshav Kini wrote: >> building 'matplotlib.backends._macosx' extension >> gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -m64 -DPY_ARRAY_UNIQUE_SYMBOL= >> MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/Applications/sage-5.0/local/lib/ >> python2.7/site-packages/numpy/core/include -I

[sage-support] Re: How to enable interactive matplotlib

2012-05-17 Thread Keshav Kini
Jim Clark writes: > Hello everyone, > > I have built sage 5.0 from source and want to use matplotlib interactively. > > I have followed the instructions in http://wiki.sagemath.org/sage_matlab > > This process worked for me in sage 4.8. Now, however, at step 9 > (Now rebuild matplotlib again with

[sage-support] How to enable interactive matplotlib

2012-05-17 Thread Jim Clark
Hello everyone, I have built sage 5.0 from source and want to use matplotlib interactively. I have followed the instructions in http://wiki.sagemath.org/sage_matlab This process worked for me in sage 4.8. Now, however, at step 9 (Now rebuild matplotlib again with "sage -f matplotlib". It should

Re: [sage-support] Re: Sage 5.0 crashing, is unusable

2012-05-17 Thread Dima Pasechnik
OSX 10.6.*-era hardware is weird. Some of it is 32-bit only, some of it can run both kernels (when you boot you need to press a combination of keys on the keyboard), some of it is 64-bit. All of them "can" run 64-bit applications, but I guess this "can" must be taken with a pinch of salt... I ha

[sage-support] Re: Error: Failed to istall package 'PyWavelets-0.2.0.p0'

2012-05-17 Thread fu7ur3
Hi guys, thanks for your help. It works now, pywavelets library installed. Lenka -- 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.go

Re: [sage-support] Problem with OS X 10.4 binary

2012-05-17 Thread Jeroen Demeyer
Could you please build sage-5.0 from source and send me the mpir log file? That way, I can compare the CFLAGS. -- 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 th

[sage-support] Re: turn off stopgaps ?

2012-05-17 Thread chris wuthrich
> sage: import sage.misc.stopgap > sage: sage.misc.stopgap.set_state(False) > Thanks a lot that is what I was looking for. > Strange, though - I thought that individual stopgap warnings are only > supposed to display once, and then become invisible until you restart Sage

[sage-support] Re: Problem with OS X 10.4 binary

2012-05-17 Thread kcrisman
Could this also be part of the SAGE_FAT_BINARY problem with MPIR? Very naive question. On Thursday, May 17, 2012 5:16:08 PM UTC-4, kcrisman wrote: > > ImportError: > dlopen(/Users/crisman/Desktop/Sage-5.0-OSX-32bit-10.4.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/misc/ra

[sage-support] Problem with OS X 10.4 binary

2012-05-17 Thread kcrisman
ImportError: dlopen(/Users/crisman/Desktop/Sage-5.0-OSX-32bit-10.4.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/misc/randstate.so, 2): Library not loaded: /Users/buildbot/build/sage/moufang-1/moufang_binary/build/sage-5.0/local/lib/libgmp.7.dylib Referenced from: /Users

Re: [sage-support] Sage-5.0 under solaris 10

2012-05-17 Thread David Kirkby
On 17 May 2012 16:57, Rob McMahon 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 >

[sage-support] Re: Status of alpha.sagenb.org

2012-05-17 Thread Jason Grout
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

[sage-support] Re: Status of alpha.sagenb.org

2012-05-17 Thread Micah James
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

[sage-support] Re: turn off stopgaps ?

2012-05-17 Thread Keshav Kini
Try this: sage: import sage.misc.stopgap sage: sage.misc.stopgap.set_state(False) Strange, though - I thought that individual stopgap warnings are only supposed to display once, and then become invisible until you restart Sage (much like deprecation warnings). Maybe I was wr

Re: [sage-support] Sage-5.0 under solaris 10

2012-05-17 Thread Rob McMahon
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 environme

Re: [sage-support] Re: CRITICAL: Can't install Sage 5.0 on Fedora

2012-05-17 Thread Jeroen Demeyer
On 2012-05-17 17:56, William Stein wrote: > On Thu, May 17, 2012 at 8:42 AM, Keshav Kini wrote: >> Garve Ragnara 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... i

Re: [sage-support] Sage-5.0 under solaris 10

2012-05-17 Thread Jeroen Demeyer
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-suppor

Re: [sage-support] Re: CRITICAL: Can't install Sage 5.0 on Fedora

2012-05-17 Thread William Stein
On Thu, May 17, 2012 at 8:42 AM, Keshav Kini wrote: > Garve Ragnara 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 b

[sage-support] Re: Sage 5.0 crashing, is unusable

2012-05-17 Thread Keshav Kini
"D. S. McNeil" writes: >> For future reference, run `md5sum ` 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 #s

Re: [sage-support] Re: Sage 5.0 crashing, is unusable

2012-05-17 Thread D. S. McNeil
> For future reference, run `md5sum ` 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+unsubsc

[sage-support] Re: CRITICAL: Can't install Sage 5.0 on Fedora

2012-05-17 Thread Keshav Kini
Garve Ragnara 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 installat

[sage-support] Sage-5.0 under solaris 10

2012-05-17 Thread Rob McMahon
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=/u

[sage-support] Re: Error: Failed to istall package 'PyWavelets-0.2.0.p0'

2012-05-17 Thread Keshav Kini
fu7ur3 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/710f3e1ac7b05562cbb484776918ee

Re: [sage-support] Re: Sage 5.0 crashing, is unusable

2012-05-17 Thread Jim Clark
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 c

[sage-support] Re: Sage 5.0 crashing, is unusable

2012-05-17 Thread Keshav Kini
Jim Clark writes: > 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?

Re: [sage-support] Sage 5.0 crashing, is unusable

2012-05-17 Thread Jim Clark
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 > d

[sage-support] Re: build failure.

2012-05-17 Thread Volker Braun
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

[sage-support] IntegerVectors question

2012-05-17 Thread Martin Albrecht
Hi, currently when running e.g. sage: IV53 = IntegerVectors(5,3) # length 3 vectors that sum to 5 sage: IV53.cardinality() The algorithm is simply to enumerate all elements (which is the default algorithm). My question is: is that because that's the best we can do, or just because nobody sat

[sage-support] Re: strange behavior in sage 5.0

2012-05-17 Thread Volker Braun
This is http://trac.sagemath.org/sage_trac/ticket/12954 -- 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-suppor

Re: [sage-support] Sage 5.0 crashing, is unusable

2012-05-17 Thread David Kirkby
On 17 May 2012 01:30, Jim Clark 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

Re: [sage-support] Re: Sage 5.0 crashing, is unusable

2012-05-17 Thread kcrisman
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,

[sage-support] Re: Integration issue

2012-05-17 Thread kcrisman
> > >>> > 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] > Actuall

[sage-support] Re: strange behavior in sage 5.0

2012-05-17 Thread Jason Grout
On 5/16/12 11:13 PM, Kenneth A. Ribet wrote: 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) It seems like some other people are also having similar problems with the Mac OSX binary: https://groups.google.com/forum/?fromgroups#!topic/sage-s

[sage-support] Re: Integration issue

2012-05-17 Thread kcrisman
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 variabl

[sage-support] Re: CRITICAL: Can't install Sage 5.0 on Fedora

2012-05-17 Thread Garve Ragnara
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...@googlegr

[sage-support] CRITICAL: Can't install Sage 5.0 on Fedora

2012-05-17 Thread Garve Ragnara
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 stat

[sage-support] strange behavior in sage 5.0

2012-05-17 Thread Kenneth A. Ribet
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

[sage-support] turn off stopgaps ?

2012-05-17 Thread chris wuthrich
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