[petsc-users] DMPlex Distribution

Matthew Knepley knepley at gmail.com
Tue Sep 17 10:04:04 CDT 2019


On Tue, Sep 17, 2019 at 9:27 AM Mohammad Hassan via petsc-users <
petsc-users at mcs.anl.gov> wrote:

> Hi
>
> I am using DMPlexCreateFromDAG() to construct my DM. Is it possible to set
> the distribution across processors manually. I mean, how can I set the
> share of dm on each rank (local)?
>
>
You could make a Shell partitioner and tell it the entire partition:


https://www.mcs.anl.gov/petsc/petsc-master/docs/manualpages/DMPLEX/PetscPartitionerShellSetPartition.html

However, I would be surprised if you could do this. It is likely that you
just want to mess with the weights in ParMetis.

  Thanks,

    Matt


> Thanks
>
> Amir
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190917/599a9d74/attachment.html>


More information about the petsc-users mailing list