Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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. PETSc is the world’s most widely used parallel numerical software library for partial differential equations and sparse matrix computations.

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.

Usage

Versionmodule name
3.14.1petsc/3.14.1


Compiler/MPIGCC 8.3.1GCC 9.3.0Intel 19.0.3Intel 20.0.3Intel 2021.3.0
Serial











MPICH 3.3.2











MVAPICH2 2.3.4











OpenMPI 4.0.5












Code Block
languagebash
titleExample
collapsetrue

For more information vist


Image Added