<div dir="ltr"> Well, it seems like there is a long way to go. <div><br></div><div>Thanks for your answer..</div><div><br></div><div>Yuan</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">2022年2月3日(木) 9:50 Matthew Knepley <<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">On Wed, Feb 2, 2022 at 7:32 PM 袁煕 <<a href="mailto:yuanxi@advancesoft.jp" target="_blank">yuanxi@advancesoft.jp</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Hello everyone</pre></div><div>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?</div></div></blockquote><div><br></div><div>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</div><div>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</div><div>be some amount of work.</div><div><br></div><div>  Thanks,</div><div><br></div><div>    Matt</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Thanks in advance.</div><div><br></div><div>Yuan</div></div></blockquote></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>
</blockquote></div>