added slepc
modifications to make slepc work with petsc