Patches for PETSc (Release 2.2.1)

The current distribution tarfile has all the above patches applied. These patches are described at:

PETSc-2.2.1 Patch Log
BuildSystem-2.2.1 Patch Log

Patches for PETSc (Release 2.2.0)

To use these patch files, download the file, place it in your PETSc directory, and use the gnu patch utility as:

patch -Np1 < patchfile

It is important to download the patch, not cut and paste it from the display of your web browser. The reason for this is that some patches may contain tabs, and most browsers will not preserve the tabs when they display the file; copying and pasting that text will cause the patch to fail because the tabs won't be found. If you have trouble with patch, you can look at the patchfile itself; it is just the output of the Unix diff program applied to the old and new versions of the file or files.

The patch command on solaris and alpha machines uses a different format for patch. Please download and install gnu patch utility.


Patches for PETSc (Release 2.2.0)

Download (by clicking right mouse button and choose Save ...)

Patches for PETSc (Release 2.1.6)

Download (by clicking right mouse button and choose Save ...)

Patches for PETSc (Release 2.1.5)

Download (by clicking right mouse button and choose Save ...)

Updates for win32fe

Download the current version of win32fe (1.7.1), then unpack the gzipped tarball into $PETSC_DIR/bin/win32fe/.

Patches for PETSc (Release 2.1.3)

Download (by clicking right mouse button and choose Save ...)

Patches for PETSc (Release 2.1.2)

Download (by clicking right mouse button and choose Save ...)

Patches for PETSc (Release 2.1.1)

Download (by clicking right mouse button and choose Save ...) The following patch should be applied only ONCE.

Patches for PETSc (Release 2.1.0)

Latest Patch: petsc-patches-2.1.0.1.tar.gz

To Apply patches:

cd $PETSC_DIR ; gunzip -c petsc-patches-2.1.0.1.tar.gz | tar xf -

Patches for PETSc (Release 2.0.29)

You can apply all the general patches by obtaining petsc-patches-2.0.29.2.tar.gz and extracting it with cd $PETSC_DIR ; gunzip -c petsc-patches-2.0.29.2.tar.gz | tar xf - Make sure you are in the PETSc directory (for example /home/bsmith/petsc-2.0.24) before you run the tar command.

For Windows NT/95/98 download the patches file petsc-patches-2.0.29.2.exe and rebuild the libraries.