PETSc check

closes #3429