Re: [sage-devel] Writing parallel code in Cython

2010-10-21 Thread William Stein
On Thu, Oct 21, 2010 at 4:57 AM, Mitesh Patel  wrote:
> Are there accepted idioms for writing parallel code in Cython for the
> Sage library?  I don't yet have a specific application in mind, but I'm
> interested in learning from any examples.

I personally think how to write parallel code (or any code) often
depends *immensely* on the specific application.
That said, I once suggested this to one of Craig Citro's undergrad
professors who I had lunch with and he immediately
said his main research was to argue that my perspective was completely
wrong.  So YMMV :-)

 -- William

>
> --
> To post to this group, send an email to sage-devel@googlegroups.com
> To unsubscribe from this group, send an email to 
> sage-devel+unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org
>



-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


Re: [sage-devel] Writing parallel code in Cython

2010-10-21 Thread Tom Boothby
I tend to write code in Cython, and then call it through an @parallel
wrapper.  This doesn't support mpi or anything fancy, but it's quite
effective for what I've needed.

On Thu, Oct 21, 2010 at 4:57 AM, Mitesh Patel  wrote:
> Are there accepted idioms for writing parallel code in Cython for the
> Sage library?  I don't yet have a specific application in mind, but I'm
> interested in learning from any examples.
>
> --
> To post to this group, send an email to sage-devel@googlegroups.com
> To unsubscribe from this group, send an email to 
> sage-devel+unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org
>

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


[sage-devel] Writing parallel code in Cython

2010-10-21 Thread Mitesh Patel
Are there accepted idioms for writing parallel code in Cython for the
Sage library?  I don't yet have a specific application in mind, but I'm
interested in learning from any examples.

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org