PETSc check
closes #3429
Merge pull request #3432 from permcody/petsc_check

PETSc check