The CSF2 has been replaced by the CSF3 - please use that system! This documentation may be out of date. Please read the CSF3 documentation instead. To display this old CSF2 page click here. |
PETSc
Overview
PETSc – Portable, Extensible Toolkit for Scientific Computation . A suite of data structures and routines for the scalable (parallel) solution of scientific applications modeled by partial differential equations.
Version 3.4.3 with mumps, metis and parmetis is installed on the CSF. It was compiled using Intel Compilers 12.0.5 and MKL 10.3u5.
Restrictions on use
All users may access PETSc. Please ensure you cite your usage as per the PETSc website.
Set up procedure
To access the software you must first load the correct modulefile. For compilation either can be used, however at runtime you must load the correct one – the underlying libraries are the same, but for mpi communications on multiple Infiniband connected nodes the modulefile has some hardware specific settings.
Jobs requiring a single node (2 to 24 cores, via smp.pe):
module load libs/intel-12.0/petsc/3.4.3
Two or more nodes (48 cores+ (in multiples of 24) using Infiniband connected nodes via orte-24-ib.pe):
module load libs/intel-12.0/petsc/3.4.3-ib
The modulefiles load the Intel 12.0.5 compilers and openmpi 1.6.
Running the application
The modulefile will set an environement variable named PETSC_DIR which can then be used in your compilation process (e.g., in a Makefile) to access the header and library files:
- To inform the compiler of the header file directory use:
-I$PETSC_DIR/include
on the command line - To inform the compiler of the library files use:
-L$PETSC_DIR/lib -lpetsc
on the command line
For further usage information consult the documentation.
Further info
Updates
None.