running in petsc