~reducedmodelling/fluidity/ROM_Non-intrusive-ann

Viewing all changes in revision 1056.

  • Committer: skramer
  • Date: 2010-04-27 12:33:13 UTC
  • Revision ID: svn-v4:5bf5533e-7014-46e3-b1bb-cce4b9d03719:trunk:1081
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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: