<div dir="ltr"><div dir="ltr">On Fri, Oct 11, 2019 at 4:09 AM von Ramm, Alexander via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov">petsc-users@mcs.anl.gov</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">Hi together, <br>
I'm currently evaluating to use PETSc as framework for our next software project. <br>
My question concerns dynamic repartitioning: I have already found in the Documentation (Chapt. 3.5) that PETSC does not currently support dynamic repartitioning, load balancing by migrating matrix entries between processes, etc. I know that Zoltan e.g., which PETSC can be configured with offers this functionality. Is there an tutorial demonstrating how the automatic load-balancing features of Zoltan can be used in combination with linear/non-linear solvers offered by PETSC? Or should one, for problems requiring dynamic load-balancing strategies move to Trilinos all together?<br></blockquote><div><br></div><div>I am not sure Zoltan offers anything beyond what we have now. Here is a sketch of dynamic load balancing for a given matrix:</div><div><br></div><div>  1) Develop a partition that is good for you using MatPartitioning</div><div><br></div><div>      This is the problem specific part since you have to use weights to tell the partitioner about your computation. No package can do this automatically.</div><div><br></div><div>  2) Move the matrix using MatPermute</div><div><br></div><div>However, very few problems actually work this way. We have the same workflow for meshes</div><div><br></div><div>  DMPlexDistribute()</div><div><br></div><div>and based upon the partition you get out you can permute Vec/Mat and also arbitrary data</div><div><br></div><div>  DMPlexDistributeData()</div><div><br></div><div>  Thanks,</div><div><br></div><div>     Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Thank you for any input,<br>
Best Regards, <br>
Alex von Ramm <br>
<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><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>