19b92b1d3SBarry Smith# PETSc 29b92b1d3SBarry Smith 39b92b1d3SBarry SmithPETSc, the Portable, Extensible Toolkit for Scientific Computation, 49b92b1d3SBarry Smithpronounced PET-see ([/ˈpɛt-siː/](https://en.wikipedia.org/wiki/Help:IPA/English#Key)), is 59b92b1d3SBarry Smithfor the scalable (parallel) solution of scientific 69b92b1d3SBarry Smithapplications modeled by partial differential equations (PDEs). It has bindings for C, Fortran, and Python (via petsc4py). 79b92b1d3SBarry SmithPETSc also contains TAO, the Toolkit for Advanced Optimization, software library. 89b92b1d3SBarry SmithThey support MPI, and GPUs through 99b92b1d3SBarry SmithCUDA, HIP, Kokkos, or OpenCL, as well as hybrid MPI-GPU parallelism; they also support the NEC-SX Tsubasa Vector Engine. 109b92b1d3SBarry SmithImmediately jump in and run PETSc and TAO code {any}`handson`. 119b92b1d3SBarry Smith 12d533f534SBarry Smith## News 13d533f534SBarry Smith 1477df3101SSatish BalayThe exciting [2026 PETSc Annual User Meeting](https://www.firedrakeproject.org/firedrake_26.html) will take place June 1-3, 2026 in Oxford, UK. It is paired with the Firedrake Meeting taking place at the end of the week, and we would encourage everyone to try and stay the whole week. More info at {any}`community/meetings/meeting`. 15438de234SJunchao Zhang 16438de234SJunchao Zhang 17438de234SJunchao ZhangThe PETSc community held an online Birds-of-a-Feather (BoF) session on February 11, 2026, as part of the [CASS BoF Days](https://cass.community/news/2026-02-10-cass-bof-days.html). The session was not recorded. The agenda and slides are availabe at {any}`here<2026-feb-cass-petsc-bof>`. 18e28069aeSJunchao Zhang 195b5d10d3SBarry SmithPierre Jolivet replaces Mrs. Hong Zhang as NumFOCUS signatory due 205b5d10d3SBarry Smithto Mrs. Hong Zhang's retirement by unanimous vote of the PETSc council. {any}`Current list of NumFOCUS signatories<numfocus-signatories>`. 215b5d10d3SBarry Smith 22d533f534SBarry Smith[SIAM News article](https://www.siam.org/publications/siam-news/articles/opencarp-personalized-computational-model-of-the-heart-examines-cardiac-rhythm/) 23d533f534SBarry Smithon the PETSc-powered [OpenCarp](https://opencarp.org/) cardiac electrophysiology simulator. 24d533f534SBarry Smith 25d533f534SBarry Smith## Book 269b92b1d3SBarry Smith 279b92b1d3SBarry Smith> **PETSc for Partial Differential Equations: Numerical Solutions in C and Python**, by Ed Bueler. 289b92b1d3SBarry Smith> 299b92b1d3SBarry Smith> - [Book from SIAM Press](https://my.siam.org/Store/Product/viewproduct/?ProductId=32850137) 309b92b1d3SBarry Smith> - [Google Play E-book](https://play.google.com/store/books/details/Ed_Bueler_PETSc_for_Partial_Differential_Equations?id=tgMHEAAAQBAJ) 319b92b1d3SBarry Smith 329b92b1d3SBarry Smith## Main Topics 339b92b1d3SBarry Smith 349b92b1d3SBarry Smith```{toctree} 359b92b1d3SBarry Smith:maxdepth: 1 369b92b1d3SBarry Smith 379b92b1d3SBarry Smithoverview/index 389b92b1d3SBarry Smithinstall/index 399b92b1d3SBarry Smithtutorials/index 409b92b1d3SBarry Smithmanual/index 419b92b1d3SBarry Smithmanualpages/index 429b92b1d3SBarry Smithpetsc4py/index 439b92b1d3SBarry Smithfaq/index 449b92b1d3SBarry Smithcommunity/index 459b92b1d3SBarry Smithdevelopers/index 469b92b1d3SBarry Smithmiscellaneous/index 479b92b1d3SBarry Smith``` 489b92b1d3SBarry Smith 499b92b1d3SBarry Smith<a href="./manual/manual.pdf">PETSc/TAO Users Manual in PDF</a> 509b92b1d3SBarry Smith 519b92b1d3SBarry Smith(doc_toolkits_use_petsc)= 529b92b1d3SBarry Smith 539b92b1d3SBarry Smith## Toolkits/libraries that use PETSc 549b92b1d3SBarry Smith 559b92b1d3SBarry Smith- [ADflow](https://github.com/mdolab/adflow) An open-source 569b92b1d3SBarry Smith computational fluid dynamics solver for aerodynamic and 579b92b1d3SBarry Smith multidisciplinary optimization 589b92b1d3SBarry Smith- [BOUT++](https://boutproject.github.io) Plasma simulation 599b92b1d3SBarry Smith in curvilinear coordinate systems 609b92b1d3SBarry Smith- [Chaste](https://www.cs.ox.ac.uk/chaste/) Cancer, Heart and 619b92b1d3SBarry Smith Soft Tissue Environment 629b92b1d3SBarry Smith- [code_aster](https://www.code-aster.org/V2/spip.php?rubrique2) 639b92b1d3SBarry Smith open-source general purpose finite element code for solid and 649b92b1d3SBarry Smith structural mechanics 659b92b1d3SBarry Smith- [code_saturne](https://www.code-saturne.org) 669b92b1d3SBarry Smith open-source general purpose code for fluid dynamics 679b92b1d3SBarry Smith- [COOLFluiD](https://github.com/andrealani/COOLFluiD) CFD, 689b92b1d3SBarry Smith plasma and multi-physics simulation package 699b92b1d3SBarry Smith- [DAFoam](https://dafoam.github.io) Discrete adjoint solvers 709b92b1d3SBarry Smith with [OpenFOAM](https://openfoam.com) for aerodynamic 719b92b1d3SBarry Smith optimization 729b92b1d3SBarry Smith- [DAMASK](https://damask-multiphysics.org) Unified multi-physics 739b92b1d3SBarry Smith crystal plasticity simulation package 74558e78d4SPierre Jolivet- [DEAL.II](https://www.dealii.org/) C++-based finite element 759b92b1d3SBarry Smith simulation package 76558e78d4SPierre Jolivet- [DUNE-FEM](https://dune-project.org/sphinx/content/sphinx/dune-fem/) Python and C++-based finite element simulation package 77558e78d4SPierre Jolivet- [FEniCS](https://fenicsproject.org/) Python-based finite 789b92b1d3SBarry Smith element simulation package 79558e78d4SPierre Jolivet- [Firedrake](https://www.firedrakeproject.org/) Python-based 809b92b1d3SBarry Smith finite element simulation package 819b92b1d3SBarry Smith- [Fluidity](https://fluidityproject.github.io/) a finite 829b92b1d3SBarry Smith element/volume fluids code 839b92b1d3SBarry Smith- [FreeFEM](https://freefem.org/) finite element and boundary element PDE solver 849b92b1d3SBarry Smith with embedded domain specific language 859b92b1d3SBarry Smith- [GetDP](https://www.getdp.info/) a General Environment for the Treatment of Discrete Problems 86558e78d4SPierre Jolivet- [Gridap](https://gridap.github.io/Gridap.jl/stable/) a Julia-based finite element simulation package through the [GridapPETSc](https://github.com/gridap/GridapPETSc.jl) plugin 879b92b1d3SBarry Smith- [hIPPYlib](https://hippylib.github.io) [FEniCS](https://fenicsproject.org/)-based toolkit 889b92b1d3SBarry Smith for solving deterministic and Bayesian inverse 899b92b1d3SBarry Smith problems governed by PDEs 909b92b1d3SBarry Smith- [libMesh](https://libmesh.github.io) adaptive finite element 919b92b1d3SBarry Smith library 929b92b1d3SBarry Smith- [MFEM](https://mfem.org/) lightweight, scalable C++ library 939b92b1d3SBarry Smith for finite element methods 949b92b1d3SBarry Smith- [MLSVM](https://github.com/esadr/mlsvm), Multilevel Support 959b92b1d3SBarry Smith Vector Machines with PETSc. 969b92b1d3SBarry Smith- [MoFEM](http://mofem.eng.gla.ac.uk/mofem/html), An open 979b92b1d3SBarry Smith source, parallel finite element library 989b92b1d3SBarry Smith- [MOOSE - Multiphysics Object-Oriented Simulation 999b92b1d3SBarry Smith Environment](https://mooseframework.inl.gov/) finite element 1009b92b1d3SBarry Smith framework, built on [libMesh](https://libmesh.github.io). 1019b92b1d3SBarry Smith- [OOFEM](http://www.oofem.org) object-oriented finite element 1029b92b1d3SBarry Smith library 1039b92b1d3SBarry Smith- [OpenCarp](https://opencarp.org/) Cardiac electrophysiology simulator 1049b92b1d3SBarry Smith- [OpenFOAM](https://develop.openfoam.com/modules/external-solver) 1059b92b1d3SBarry Smith Available as an extension for linear solvers for OpenFOAM 1069b92b1d3SBarry Smith- [OpenFPM](https://openfpm.mpi-cbg.de/) framework for particles and mesh simulation 1079b92b1d3SBarry Smith- [OpenFVM](http://openfvm.sourceforge.net/) finite volume 1089b92b1d3SBarry Smith based CFD solver 1099b92b1d3SBarry Smith- [PermonSVM](http://permon.vsb.cz/permonsvm.htm) support 1109b92b1d3SBarry Smith vector machines and 1119b92b1d3SBarry Smith [PermonQP](http://permon.vsb.cz/permonqp.htm) quadratic 1129b92b1d3SBarry Smith programming 1139b92b1d3SBarry Smith- [PetIGA](https://github.com/dalcinl/PetIGA) A framework 1149b92b1d3SBarry Smith for high performance Isogeometric Analysis 1159b92b1d3SBarry Smith- [PFLOTRAN](https://pflotran.org/) An open source, state-of-the-art 1169b92b1d3SBarry Smith code for massively parallel simulation of subsurface flow, reactive transport, geomechanics, and electrical resistivity tomography 1179b92b1d3SBarry Smith- [PHAML](https://math.nist.gov/phaml/) The Parallel 1189b92b1d3SBarry Smith Hierarchical Adaptive MultiLevel Project 1199b92b1d3SBarry Smith- [preCICE](https://www.precice.org) - A fully parallel 1209b92b1d3SBarry Smith coupling library for partitioned multi-physics simulations 1219b92b1d3SBarry Smith- [PyClaw](https://www.clawpack.org/pyclaw/) A massively 1229b92b1d3SBarry Smith parallel, high order accurate, hyperbolic PDE solver 1239b92b1d3SBarry Smith- [SLEPc](https://slepc.upv.es/) Scalable Library for 1249b92b1d3SBarry Smith Eigenvalue Problems 125b7c0d3c4SMatthew Knepley- [tmm4py](https://github.com/samarkhatiwala/tmm) Transport Matrix Method for simulating ocean biogeochemical processes 126*3ff74ad9SMatthew G. Knepley- [Underworld3](https://www.underworldcode.org/underworld3-come-and-get-it/) Mathematically Self-Describing Modelling in Python for Geodynamics 1279b92b1d3SBarry Smith 1289b92b1d3SBarry Smith(doc_index_citing_petsc)= 1299b92b1d3SBarry Smith 1309b92b1d3SBarry Smith## Citing PETSc 1319b92b1d3SBarry Smith 1329b92b1d3SBarry SmithYou can run PETSc programs with the option `-citations` to print appropriate citations for the software and algorithms being used in that program. 1339b92b1d3SBarry Smith 1349b92b1d3SBarry SmithFor general citations on PETSc please use the following: 1359b92b1d3SBarry Smith 1369b92b1d3SBarry Smith```{literalinclude} /petsc.bib 1379b92b1d3SBarry Smith:append: '}' 1389b92b1d3SBarry Smith:end-at: year 1399b92b1d3SBarry Smith:language: none 1409b92b1d3SBarry Smith:start-at: petsc-web-page 1419b92b1d3SBarry Smith``` 1429b92b1d3SBarry Smith 1439b92b1d3SBarry Smith```{literalinclude} /petsc.bib 1449b92b1d3SBarry Smith:append: '}' 1459b92b1d3SBarry Smith:end-at: year 1469b92b1d3SBarry Smith:language: none 1479b92b1d3SBarry Smith:start-at: petsc-user-ref 1489b92b1d3SBarry Smith``` 1499b92b1d3SBarry Smith 1509b92b1d3SBarry Smith```{literalinclude} /petsc.bib 1519b92b1d3SBarry Smith:append: '}' 1529b92b1d3SBarry Smith:end-at: year 1539b92b1d3SBarry Smith:language: none 1549b92b1d3SBarry Smith:start-at: petsc-efficient 1559b92b1d3SBarry Smith``` 1569b92b1d3SBarry Smith 1579b92b1d3SBarry SmithFor petsc4py usage please cite 1589b92b1d3SBarry Smith 1599b92b1d3SBarry Smith```{literalinclude} /petsc.bib 1609b92b1d3SBarry Smith:append: '}' 1619b92b1d3SBarry Smith:end-at: year 1629b92b1d3SBarry Smith:language: none 1639b92b1d3SBarry Smith:start-at: dalcinpazklercosimo2011 1649b92b1d3SBarry Smith``` 1659b92b1d3SBarry Smith 1669b92b1d3SBarry SmithFor PETSc usage on GPUs please cite 1679b92b1d3SBarry Smith 1689b92b1d3SBarry Smith```{literalinclude} /petsc.bib 1699b92b1d3SBarry Smith:append: '}' 1709b92b1d3SBarry Smith:end-at: author 1719b92b1d3SBarry Smith:language: none 1729b92b1d3SBarry Smith:start-at: mills2021 1739b92b1d3SBarry Smith``` 1749b92b1d3SBarry Smith 1759b92b1d3SBarry SmithFor `PetscSF` -- parallel communication in PETSc -- please cite 1769b92b1d3SBarry Smith 1779b92b1d3SBarry Smith```{literalinclude} /petsc.bib 1789b92b1d3SBarry Smith:append: '}' 1799b92b1d3SBarry Smith:end-at: pages 1809b92b1d3SBarry Smith:language: none 1819b92b1d3SBarry Smith:start-at: petscsf2022 1829b92b1d3SBarry Smith``` 1839b92b1d3SBarry Smith 1849b92b1d3SBarry SmithIf you use the `TS` component of PETSc please cite the following: 1859b92b1d3SBarry Smith 1869b92b1d3SBarry Smith```{literalinclude} petsc.bib 1879b92b1d3SBarry Smith:append: '}' 1889b92b1d3SBarry Smith:end-at: year 1899b92b1d3SBarry Smith:language: none 1909b92b1d3SBarry Smith:start-at: abhyankaretal2018 1919b92b1d3SBarry Smith``` 1929b92b1d3SBarry Smith 1939b92b1d3SBarry SmithIf you utilize the `TS` adjoint solver please cite 1949b92b1d3SBarry Smith 1959b92b1d3SBarry Smith```{literalinclude} /petsc.bib 1969b92b1d3SBarry Smith:append: '}' 1979b92b1d3SBarry Smith:end-at: year 1989b92b1d3SBarry Smith:language: none 1999b92b1d3SBarry Smith:start-at: zhang2022tsadjoint 2009b92b1d3SBarry Smith``` 201