[sage-support] Re: changeing sage -b (cython)

2009-07-29 Thread Dag Sverre Seljebotn
Robert Bradshaw wrote: > On Jul 29, 2009, at 1:14 PM, dagss wrote: > >> On Jul 29, 7:22 pm, Robert Bradshaw >> wrote: >>> On Jul 29, 2009, at 9:46 AM, Dag Sverre Seljebotn wrote: >>> >>> >>> Robert Bradshaw wrote: > I'm not sure if or when either of these will be available, but > ne

[sage-support] Re: changeing sage -b (cython)

2009-07-29 Thread Robert Bradshaw
On Jul 29, 2009, at 1:14 PM, dagss wrote: > > On Jul 29, 7:22 pm, Robert Bradshaw > wrote: >> On Jul 29, 2009, at 9:46 AM, Dag Sverre Seljebotn wrote: >> >> >> >>> Robert Bradshaw wrote: I'm not sure if or when either of these will be available, but neither are trivial. Both questions

[sage-support] Re: changeing sage -b (cython)

2009-07-29 Thread dagss
On Jul 29, 7:22 pm, Robert Bradshaw wrote: > On Jul 29, 2009, at 9:46 AM, Dag Sverre Seljebotn wrote: > > > > > Robert Bradshaw wrote: > >> I'm not sure if or when either of these will be available, but > >> neither are trivial. Both questions are probably better asked on the > >> cython lists. >

Re: [Cython] [sage-support] Re: changeing sage -b (cython)

2009-07-29 Thread Robert Bradshaw
On Jul 29, 2009, at 9:46 AM, Dag Sverre Seljebotn wrote: > Robert Bradshaw wrote: >> I'm not sure if or when either of these will be available, but >> neither are trivial. Both questions are probably better asked on the >> cython lists. >> >> - Robert >> >> >> On Jul 22, 2009, at 12:17 PM, Ethan

[sage-support] Re: changeing sage -b (cython)

2009-07-23 Thread Robert Bradshaw
I'm not sure if or when either of these will be available, but neither are trivial. Both questions are probably better asked on the cython lists. - Robert On Jul 22, 2009, at 12:17 PM, Ethan Van Andel wrote: > Robert, > > Is there any prediction for when numpy complex types will work? > (o

[sage-support] Re: changeing sage -b (cython)

2009-07-22 Thread Michael Madison
Thanks all, That did it. It did seem to compile with errors however, it worked and my floating point code is 8 times faster! Thanks MIke On Wed, Jul 22, 2009 at 2:05 PM, Minh Nguyen wrote: > > Hi Michael, > > On Thu, Jul 23, 2009 at 6:55 AM, Michael > Madison wrote: > > All, I decided to try h

[sage-support] Re: changeing sage -b (cython)

2009-07-22 Thread Minh Nguyen
Hi Michael, On Thu, Jul 23, 2009 at 6:55 AM, Michael Madison wrote: > All, I decided to try hg and I created a clone and added a ~/.hrgc to the > /develope/sage directory with my infomation. However, the last patch put me > into the hg_editor-DwDTEO.txt and says the following: > > HG: Enter com

[sage-support] Re: changeing sage -b (cython)

2009-07-22 Thread Michael Madison
All, I decided to try hg and I created a clone and added a ~/.hrgc to the /develope/sage directory with my infomation. However, the last patch put me into the hg_editor-DwDTEO.txt and says the following: HG: Enter commit message. lines beginning with 'HG:' HG: -- HG: user : Michael Madison madis

[sage-support] Re: changeing sage -b (cython)

2009-07-22 Thread Ethan Van Andel
Yet another question: When I compile my class, I get something like this: cdef class Riemann_Map: cdef int N, B, ncorners cdef f cdef opp cdef double complex a cdef np.ndarray[float,ndim = 1] tester ^ -

[sage-support] Re: changeing sage -b (cython)

2009-07-22 Thread Ethan Van Andel
Robert, Is there any prediction for when numpy complex types will work? (outside of the notebook, when compiling via sage -b) Thanks, Ethan --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, se

[sage-support] Re: changeing sage -b (cython)

2009-07-22 Thread Minh Nguyen
On Thu, Jul 23, 2009 at 4:36 AM, Robert Bradshaw wrote: > > On Jul 22, 2009, at 11:27 AM, William Stein wrote: > >> On Wed, Jul 22, 2009 at 11:21 AM, Michael >> Madison wrote: >>> >>> Robert, Thanks for the feedback. I don't want to wait for 4.1.1 so I >>> will attempt to follow the Sage Days 16 "

[sage-support] Re: changeing sage -b (cython)

2009-07-22 Thread Robert Bradshaw
On Jul 22, 2009, at 11:27 AM, William Stein wrote: > On Wed, Jul 22, 2009 at 11:21 AM, Michael > Madison wrote: >> >> Robert, Thanks for the feedback. I don't want to wait for 4.1.1 so I >> will attempt to follow the Sage Days 16 "How to get started with >> developing Sage" to apply the patches.

[sage-support] Re: changeing sage -b (cython)

2009-07-22 Thread Minh Nguyen
On Thu, Jul 23, 2009 at 4:27 AM, William Stein wrote: > > On Wed, Jul 22, 2009 at 11:21 AM, Michael > Madison wrote: >> >> Robert, Thanks for the feedback. I don't want to wait for 4.1.1 so I >> will attempt to follow the Sage Days 16 "How to get started with >> developing Sage" to apply the patch

[sage-support] Re: changeing sage -b (cython)

2009-07-22 Thread William Stein
On Wed, Jul 22, 2009 at 11:21 AM, Michael Madison wrote: > > Robert, Thanks for the feedback. I don't want to wait for 4.1.1 so I > will attempt to follow the Sage Days 16 "How to get started with > developing Sage" to apply the patches.  At first look this does not > look straight forward.  Mike

[sage-support] Re: changeing sage -b (cython)

2009-07-22 Thread Michael Madison
Robert, Thanks for the feedback. I don't want to wait for 4.1.1 so I will attempt to follow the Sage Days 16 "How to get started with developing Sage" to apply the patches. At first look this does not look straight forward. Mike On Jul 22, 8:32 am, Robert Bradshaw wrote: > After applying bothh

[sage-support] Re: changeing sage -b (cython)

2009-07-22 Thread Robert Bradshaw
On Jul 22, 2009, at 10:55 AM, Ethan Van Andel wrote: > Robert, > > Should those double complex declarations give any speedup? Yes, lots (compared to using Python complex objects). The are complex analogues of int, double, float, etc. > Are they declaring the numpy complex type or something el

[sage-support] Re: changeing sage -b (cython)

2009-07-22 Thread Ethan Van Andel
Robert, Should those double complex declarations give any speedup? Are they declaring the numpy complex type or something else? Slightly unrelated, how are self.something variables handled? It seems like you can't cdef them, so are they then always going to be slow? If you cdef a variable and t

[sage-support] Re: changeing sage -b (cython)

2009-07-22 Thread Robert Bradshaw
After applying both http://trac.sagemath.org/sage_trac/ticket/6438 and http://trac.sagemath.org/sage_trac/ticket/4571 , the notebook seems to work just as well as the command line, or just raw Cython. Hopefully this makes it into 4.1.1. As for complex types, there's still some issues of doi

[sage-support] Re: changeing sage -b (cython)

2009-07-22 Thread Michael Madison
Ethen, Sorry I have not tried. I wanted to speed up some molecular dynamics code I have been playing with that uses numpy and I actually only need the real types. Also, I have been just working with the notebooks. For VMWARE the graphics does not work outside of the notebook interface. Since t

[sage-support] Re: changeing sage -b (cython)

2009-07-21 Thread Ethan Van Andel
I think it only works outside, when compiling extensions for sage. However, I am also getting issues with complex types after the fix, did you get them to compile regularly outside? Ethan --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googl

[sage-support] Re: changeing sage -b (cython)

2009-07-21 Thread Michael Madison
Mike, I am running sage 4.1 with VMWARE (windows XP) where I compiled sage 4.1 from source. I then tried: manage sudo su cd /usr/local/sage wget sage.math.washington.edu/home/robertwb/cython/cython-0.112.spkg sage –f cython-0.11.2.spkg which seemed to compile fine. However if I try from insi

[sage-support] Re: changeing sage -b (cython)

2009-07-21 Thread Ethan Van Andel
Thank you, that worked beautifully. Ethan --~--~-~--~~~---~--~~ 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:/

[sage-support] Re: changeing sage -b (cython)

2009-07-17 Thread Mike Hansen
Hi Ethan, On Fri, Jul 17, 2009 at 10:41 AM, Ethan Van Andel wrote: > > Is it possible to change the version of Cython that sage -b runs? (it > uses 11.1, I need the complex support added in 11.2) There is a ticket to update Cython in Sage at http://trac.sagemath.org/sage_trac/ticket/6438. If yo