That is an interesting question. pthreads is certainly available on
much older compilers. But the issue is, it is very hard to code.

Essentially OpenMP does all the hard work for you, keeping threads
alive when they are not in use, managing all the pointers to your
data, etc.

I'd be interested in supporting pthreads if there was some performance
benefit from doing so, but I actually think OpenMP is pretty good.

I recall when parallelising using pthreads problems with about 500x500
= 250000 bits of data, or perhaps a little less, could be effectively
parallelised. We are currently parallelising stuff effectively with
128000 bits of data.

In other words, there doesn't seem to be any immediately obvious
performance reason to consider pthreads.

What do you think?

Bill.

2009/7/2 Jeff Gilchrist <[email protected]>:
>
> On Wed, Jul 1, 2009 at 11:48 AM, Bill Hart<[email protected]> wrote:
>
>> ************ AN FAQ **************
>
> The FAQ is a great idea and you are off to a good start.
>
>> ************** FORTNIGHTLY MPIR DIGEST ****************
>
> I think this is a really good idea, makes it easy for people not doing
> active development to still keep on top of things and changes
> happening.
>
> I had a question about the parallel support, I think I remember seeing
> that OpenMP would be supported, what about pthreads, will that be
> supported as well?
>
> Jeff.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/mpir-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to