added petsc logging to partitioning algorithm