included simple compiling version of petsc