PetSc

bit This is suite of data structures and routines for the parallel solution of scientific applications modelled by partial differential equations. Please look at the <href=”http://www.mcs.anl.gov/petsc/petsc-as/”>PETSc homepage for the manual pages, user manuals and tutorials.

Setting the module environment

The module for PETSc is dependent on a number of other modules. These are:

  • the bit module. Either bit/64 (default) or bit/32 .
  • the compiler, intel/11.1.059 is the default.
  • a BLAS/LAPACK implementation.
  • an MPI implementation, though this is optional. openmpi/1.4 is loaded by default and PETSc not available for mvapich/1.2rc1 MVAPICH 1.2rc1 .

Look at the list of applications for full list of modules and descriptions.

For example to use the 32-bit version of PETSc with the PGI compiler and the ACML implementations of BLAS/LAPACK:

When you log in, you should load your preferred compiler module, the Intel compiler is loaded by default. As the SuiteSparse functions depend on BLAS and LAPACK, you will also need to load an implementation of these libraries, several are installed on the system. For example, if you would like to use the PGI compiler and MKL, Intel’s implementation of the numerical libraries, use:

This will add the packages appropriate for your chosen environment.

Build details

PETSc can be built against a very large number of packages. In the present case it has been built against the following:

PetSc 3.1

PetSc 3.3 / 3.4