next up previous contents
Next: Pthreads: POSIX threads Up: Compiling with Extra Packages Previous: LAPACK: Linear Algebra PACKage   Contents

PETSc: Portable, Extensible Toolkit for Scientific Computation

To compile with PETSc (http://www-unix.mcs.anl.gov/petsc/petsc-2/index.html), the configure options are

PETSC = yes | no | <blank>
[ PETSC_DIR = <dir> ]
[ PETSC_ARCH = <architecture> ]
[ PETSC_ARCH_LIBS = <architecture-specific libraries> ]

If PETSC_DIR is not given, the configuration process will search for an installed PETSc package in some standard places (defined in lib/make/extras/PETSC). If PETSC_ARCH is not given, the configuration process will choose the first PETSc configuration found in $PETSC_DIR/lib/libO/. If PETSC_ARCH_LIBS is not given, the configuration process will choose architecture-specific libraries, as required by a PETSc configuration (usually PETSc needs the LAPACK library).