Portable, Extensible Toolkit for Scientific Computation
|Stable release||PETSc/Ver: 3.5
(1 month and 2 days ago) / 30 June 2014
|Operating system||Linux, Unix, Mac OS X, Windows|
|Available in||C (main language),C++, FORTRAN|
|Type||Scientific simulation software|
|License||own compatible with GPL (version 2)|
The Portable, Extensible Toolkit for Scientific Computation (PETSc, pronounced PET-see; the S is silent), is a suite of data structures and routines developed by Argonne National Laboratory for the scalable (parallel) solution of scientific applications modeled by partial differential equations. It employs the Message Passing Interface (MPI) standard for all message-passing communication. The current version of PETSc is 3.5; released June 30, 2014. PETSc is the world’s most widely used parallel numerical software library for partial differential equations and sparse matrix computations. PETSc received an R&D 100 Award in 2009.
PETSc is intended for use in large-scale application projects, many ongoing computational science projects are built around the PETSc libraries. Its careful design allows advanced users to have detailed control over the solution process. PETSc includes a large suite of parallel linear and nonlinear equation solvers that are easily used in application codes written in C, C++, Fortran and now Python. PETSc provides many of the mechanisms needed within parallel application code, such as simple parallel matrix and vector assembly routines that allow the overlap of communication and computation. In addition, PETSc includes support for parallel distributed arrays useful for finite difference methods.
PETSc consists of a variety of libraries (similar to classes in C++). Each library manipulates a particular family of objects (for instance, vectors) and the operations one would like to perform on the objects.
Features and Modules
PETSc provides many features for parallel computation, broken into several modules:
- Index sets, including permutations, for indexing into vectors, renumbering, etc.
- Parallel vectors; and matrices (generally sparse)
- Scatters (handles communicating ghost point information) and gathers (the opposite of scatters)
- Data management for parallel structured and unstructured meshes
- Several sparse storage formats
- Scalable parallel preconditioners, including multigrid and sparse direct solvers
- Krylov subspace methods
- Parallel nonlinear solvers, such as Newton's method and nonlinear GMRES
- Parallel time-stepping (ODE and DAE) solvers
- Automatic profiling of floating point and memory usage
- Consistent interface
- Intensive error checking
- Portable to UNIX, Mac OS X, and Windows
- "PETSc Wins 2009 R&D 100 Award | Argonne Leadership Computing Facility". Alcf.anl.gov. 2009-07-21. Retrieved 2013-05-01.
- Thu, 07/30/2009 - 5:23am (2009-07-30). "PETSc Release 3.0 expands capabilities". Rdmag.com. Retrieved 2013-05-01.
- PETSc Users Manual, Satish Balay, Kris Buschelman, Victor Eijkhout, William D. Gropp, Dinesh Kaushik, Matthew G. Knepley, Lois Curfman McInnes, Barry F. Smith, and Hong Zhang, ANL-95/11 Revision 2.3.2, Argonne National Laboratory, September, 2006.
- Efficient Management of Parallelism in Object Oriented Numerical Software Libraries, Satish Balay, William D. Gropp, Lois Curfman McInnes, Barry F. Smith, Modern Software Tools in Scientific Computing, ed. Bruaset et al., pp. 163–202, 1997.
- Numerical simulation of geodynamic processes with the Portable Extensible Toolkit for Scientific Computation, R.F. Katz, M.G. Knepley, B. Smith, M. Spiegelman, and E.T. Coon, Physics of The Earth and Planetary Interiors, 163, pp. 52-68, 2007.