Downloading PETSc#

Alternative Download#

Tarball which contains only the source, identical to git download. Documentation available online.

Tarball which includes all documentation, recommended for offline use.

Tarball to enable a separate installation of petsc4py.

To extract the sources use:

$ tar xf petsc-<version number>.tar.gz

Use mirror if GitLab and our primary download server are unavailable:

Note

Older releases of PETSc are also available above. These should only be used for applications that have not been updated to the latest release. We urge you, whenever possible, to upgrade to the latest version of PETSc.

PETSc Development Repository#

You can work with the development version of PETSc, and decide when to update to the latest code in the repository. This also facilitates easy submission of fixes and new features to the development team.