Well, it seems like there is a long way to go. Thanks for your answer..
Yuan 2022年2月3日(木) 9:50 Matthew Knepley <[email protected]>: > On Wed, Feb 2, 2022 at 7:32 PM 袁煕 <[email protected]> wrote: > >> Hello everyone >> >> I need to enforce some specific nodes, for example, two nodes i,j in my >> finite element mesh, to be owned by the same CPU when doing DMPlex >> partition. Are there any means to implement it? >> > > It might be possible using edge weights in the partitioner. However, we > have no automatic support for that. To do it manually, you would probably > have to > make the CSR matrix for the mesh, wrap that in a Mat, add values for > weights, call MatPartition, and then feed that partition to Plex. It is > doable, but it would > be some amount of work. > > Thanks, > > Matt > > >> Thanks in advance. >> >> Yuan >> > -- > 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/> >
