# Domain Decomposition with PETSc

Does anyone have any experience on Domain Decomposition using PETSc library? I have used PETSc for creating my vectors and matrix within my C++ code. I also used KSP to solve the linear system.

I used following examples to learn about Domain Decomposition in PETSc but they were not helpful:

I would be grateful if you give me some hints on how to do the graph partitioning and domain decomposition with PETSc.

• This is not a question that can be answered without knowing where your application spends its time. Run with -log_summary as a start, then consider other profiling toos. – Jed Brown Oct 31 '14 at 4:54