[petsc-dev] PETSc programming model for multi-core systems

Jed Brown jed at 59A2.org
Thu Nov 11 19:22:08 CST 2010


On Fri, Nov 12, 2010 at 02:18, Barry Smith <bsmith at mcs.anl.gov> wrote:

> How do you get adaptive load balancing (across the cores inside a process)
> if you have OpenMP compiler decide the partitioning/parallelism? This was
> Bill's point in why not to use OpenMP. For example if you give each core the
> same amount of work up front they will end not ending at the same time so
> you have wasted cycles.


Hmm, I think this issue is largely subordinate to the memory locality (for
the sort of work we usually care about), but the OpenMP could be more
dynamic about distributing work.  I.e. this could be an OpenMP
implementation or tuning issue, but I don't see it as a fundamental
disadvantage of that programming model.  I could be wrong.

Jed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20101112/928d05bd/attachment.html>


More information about the petsc-dev mailing list