skip to main content
OSTI.GOV title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: PETSc 2.0 Users Manual: Revision 2.0.16

Technical Report ·
DOI:https://doi.org/10.2172/464159· OSTI ID:464159

This manual describes the use of PETSc 2.0 for the numerical solution of partial differential equations and related problems on high-performance computers. The Portable, Extensible Toolkit for Scientific Computation (PETSc) is a suite of data structures and routines that provide the building blocks for the implementation of large-scale application codes on parallel (and serial) computers. PETSc 2.0 uses the MPI standard for all message-passing communication. PETSc includes an expanding suite of parallel linear and nonlinear equation solvers that may be used in application codes written in Fortran, C, and C++. PETSc provides many of the mechanisms needed thin parallel application codes, such as simple parallel matrix and vector assembly routines that allow the overlap of communication and computation. In addition, PETSc includes growing support for distributed arrays. The library is organized hierarchically, enabling users to employ the level of abstraction that is most appropriate for a particular problem. By using techniques of object-oriented programming, PETSc provides enormous flexibility for users. PETSc is a sophisticated set of software tools; as such, for some users it initially has a much steeper learning curve than a simple subroutine library. In particular, for individuals without some computer science background or experience programming in C, Pascal, or C++, it may require a large amount of time to take full advantage of the features that enable efficient software use. However, the power of the PETSc design and the algorithms it incorporates make the efficient implementation of many application codes much simpler than rolling them yourself. For many simple tasks a package such as Matlab is often the best tool; PETSc is not intended for the classes of problems for which effective Matlab code can be written. Since PETSc is still under development, small changes in usage and calling sequences of PETSc routines will continue to occur.

Research Organization:
Argonne National Lab. (ANL), Argonne, IL (United States)
Sponsoring Organization:
USDOE Office of Energy Research, Washington, DC (United States)
DOE Contract Number:
W-31109-ENG-38
OSTI ID:
464159
Report Number(s):
ANL-95/11; ON: DE97004804; TRN: 97:002712
Resource Relation:
Other Information: PBD: Feb 1997
Country of Publication:
United States
Language:
English

Similar Records

PETSc Users Manual (Rev. 3.3)
Technical Report · Sat May 11 00:00:00 EDT 2013 · OSTI ID:464159

PETSc Users Manual (Rev. 3.4)
Technical Report · Sun Jun 29 00:00:00 EDT 2014 · OSTI ID:464159

PETSc Users Manual (Rev. 3.5)
Technical Report · Mon Sep 08 00:00:00 EDT 2014 · OSTI ID:464159