[petsc-users] Pthread support

Jed Brown jedbrown at mcs.anl.gov
Tue Jul 24 13:55:07 CDT 2012


On Tue, Jul 24, 2012 at 1:44 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:

> For now you could simply turn off setting affinities when only a single
> thread is requested.


Longer term, I think we want to use CPU_COUNT, then use CPU_ISSET to fill
in the current set. Then we'll partition that set among the threads in the
pool. That's what I meant by "inherit" the process affinity. We should
never be doing CPU_ZERO and adding in counting from zero.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120724/f32b6868/attachment.html>


More information about the petsc-users mailing list