On Tue, May 10, 2016 at 7:39 PM, Andrew <andrew.mat...@sydney.edu.au> wrote:
> I have access to a centos machine with many cores, so I want to start
> writing parallelised code on it. This is probably naive, but is using the
> code in sage.parallel the best way to write parallel code in sage?

It depends on what you are trying to do.  For some computations,
@parallel is the best possible way to do them, and for others it is
the worst possible way.

William

>
> I started using the @parallel decorator but then I found the optional
> packages openmpi and mpi4py and wondered if it would be better to use these
> instead, except it seems that the packages are no longer maintained (and
> hence not useful?) as "new style" packages for them don't seem to exist. I
> am confused, however, because mp4py is the main topic of the thematic
> tutorial
> http://doc.sagemath.org/html/en/thematic_tutorials/numerical_sage/parallel_computation.html
> which suggests that it is still being used.
>
> Andrew
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-support@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.



-- 
William (http://wstein.org)

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to