simplified petsc, slepc and trilinos on/off swithces