[petsc-users] repartition for dynamic load balancing

Jed Brown jed at jedbrown.org
Wed Jan 27 23:20:21 CST 2016

Xiangdong <epscodes at gmail.com> writes:

> I have a question on dynamic load balance in petsc. I started running a
> simulation with one partition. As the simulation goes on, that partition
> may lead to load imbalance since it is a non-steady problem. If it is worth
> to perform the load balance, is there an easy way to re-partition the mesh
> and continue the simulation?

Are you using a PETSc DM?  What "mesh"?  If you own it, then
repartitioning it is entirely your business.

In general, after adapting the mesh, you rebuild all algebraic data
structures.  Solvers can be reset (SNESReset, etc.).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160127/770b02bb/attachment.pgp>

More information about the petsc-users mailing list