Fluidity builds with petsc 3.1. Complete rewrite of petsc configuration script.
Fluidity's configurations script for examining the installed PETSc library now uses the recommended way of retreiving linker and include flags from the PETSc makefile system. The existing tests have been replaced by tests that actually test the use of PETSc in Fortran 90 as we do in fluidity. The new configuration has been tested (with petsc 3.0) on hector, cx1, cx2, Debian and Ubuntu. Please report any further problems with configuration.
Fluidity now builds and succesfully runs "make test" with petsc 3.1. PETSc 3.1 only requires "use petsc" or(and) "#include petsc(def).h", no petscmat, petscvec etc. . Same for -lpetsc when linking but that's now automatically picked up by configure. Some interface changes in petsc calls.