PETSc: Patches

### 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 ...)

- 2.2.0.1 (May 10, 2004 ) (balay/hzhang) Fix MatDuplicate problems with external packages
- 2.2.0.1 (May 08, 2004 ) (balay/hzhang) Fix Sopooles & MUMPS interface bug

### Patches for PETSc (Release 2.1.6)

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

- 2.1.6.12 (November 03, 2003) (knepley) fixed BLAS configure problem
- 2.1.6.11 (October 23, 2003) (knepley) fixed KSP work vectors
- 2.1.6.10 (October 14, 2003) (buschelm) fixed MatDuplicate bug in Mat classes for MUMPS
- 2.1.6.9 (October 8, 2003) (victorle) fixed bug when using -pc_ilu_shift
- 2.1.6.8 (October 8, 2003) (victorle) fixed bug when using -pc_icc_shift
- 2.1.6.7 (October 7, 2003) (hzhang) fixed the bug in MatGetInertia(), add impl for MatMultTranspose_SeqSBAIJ(), MatMultTransposeAdd_SeqSBAIJ()
- 2.1.6.6 (Setember 30, 2003) (buschelm) fix MatDuplicate bug in Mat classes for external packages Spooles, MUMPS, UMFPACK, LUSOL, ESSL, SuperLU, SuperLU_DIST, DSCPACK; fix for MatView bug for MATDSCPACK
- 2.1.6.5 (September 10, 2003) (balay) fix string compare bug in PCILUSetMatOrdering, fix prototype bug in HDF4 interface
- 2.1.6.4 (August 14, 2003) (balay) remove trapping of SIGALRM for AIX
- 2.1.6.3 (August 13, 2003) (balay) fix hashing overflow bug in CTABLE usage
- 2.1.6.2 (August 12, 2003) (balay) fix compile issues with Cray T3E and fortran interface
- 2.1.6.1 (August 6, 2003) (balay) disable HDF4 interface for complex, fix unused variable in spooles, dscpack interfaces

### Patches for PETSc (Release 2.1.5)

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

- 2.1.5.8 (May 3, 2003) (balay) fix compile error in PETSc, when HYPRE is used
- 2.1.5.7 (April 29, 2003) (balay) fix MatLoad Bug with Logging
- 2.1.5.6 (March 20, 2003) (balay) fix 'shared' target for IRIX_gnu
- 2.1.5.5 (March 19, 2003) (balay) fix fortran interface for KSPBuildResidual()
- 2.1.5.4 (February 11, 2003) (balay/hzhang)add in support for complex SPOOLES
- 2.1.5.3 (February 11, 2003) (balay)more shared library build fixes & SuperLU_DIST fixes
- 2.1.5.2 (February 8, 2003) (knepley) don't configure MPE when using MPIUNI and shared library builds
- 2.1.5.1 (February 8, 2003) (knepley) Fixed the MPIUni configure, SuperLU bug, and GetResidentSetSize() bug

### Updates for win32fe

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

- 1.7.1 (June 11,2003) (buschelm) Proper detection of Intel Version 7 compilers and Microsoft Visual Studio .NET 2003. Fixed bug related to long filename usage on NTFS machines with 8.3 filenames disabled.
- 1.7.0 (May 19,2003) (buschelm) Redesigned internal stdio redirection. win32fe should now be properly functioning within cygwin ssh sessions.
- 1.6.5 (March 6, 2003) (buschelm) -IF:\foo is now interpreted as -INCLUDE:F:\FOO instead of -iface:\foo for Compaq FORTRAN compilers (df, f90).
- 1.6.4 (February 13, 2003) (buschelm) Better solution to mixed case problem during detection of various tools.
- 1.6.3 (February 3, 2003) (buschelm) Fixed bug in --use, improved detection for Visual Studio.NET
- 1.6.2 Released in PETSc 2.1.5

### Patches for PETSc (Release 2.1.3)

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

- 2.1.3.9 (October 31, 2002) (knepley) Fixed 64 bit allocation for AIJ matrices
- 2.1.3.8 (October 4, 2002) (knepley) Turned off some logging by default (fixes allocation growth)
- 2.1.3.7 (September 13, 2002) (balay) add fortran interface for PCShellSetApplyTranspose()
- 2.1.3.6 (Sept 13, 2002) (balay) Add in fortran interface to PCShellSetApplyTranspose()
- 2.1.3.6 (July 10, 2002) (balay) bug fixes in superlu, spooles, dscpack interfaces (mismatched factored mat partitioning)
- 2.1.3.5 (July 10, 2002) (balay) Add in fortran interface for pcasmgetlocalsubmatrices()
- 2.1.3.4 (July 10, 2002) (balay) bugfix in fortran interface for pcbjacobigetsubsles() pcasmgetlocalsubdomains()
- 2.1.3.3 (July 10, 2002) (balay) missing fortran interface for ISDuplicate()
- 2.1.3.2 (June 10, 2002) (balay) MatIncreaseOverlap() malloc bug fix
- 2.1.3.1 (June 10, 2002) (knepley) Fixed the configure version number

### Patches for PETSc (Release 2.1.2)

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

- 2.1.2.13 (May 20, 2002) (buschelm) Source code update for win32fe to allow proper usage under Win9x. Note: If you need this tool for building PETSc, the following contains the executable and dll: win32fe-1.3.0.tar.gz. Extract the two files in this archive from ${PETSC_DIR}.
- 2.1.2.12 (May 16, 2002) (knepley) Added ability to turn off events at all stages, fixed PLAPACK build
- 2.1.2.11 (May 15, 2002) (balay) petscarch fix for macx; mpiuni fix for MPI_Scatterv()
- 2.1.2.10 (May 14, 2002) (knepley) Fixed initialization of SNESMF with static libraries
- 2.1.2.9 (May 13, 2002) (knepley) Turn off high volume and barrier logging by default
- 2.1.2.8 (May 10, 2002) (bsmith) Decrease memory usage in DAs
- 2.1.2.7 (May 10, 2002) (knepley) Fix logic in PetscOptionsLogical()
- 2.1.2.6 (May 08, 2002) (knepley) Add more support for X and fix small documentation error
- 2.1.2.5 (May 07, 2002) (bsmith) Add MatView() for IS matrix type
- 2.1.2.4 (May 02, 2002) (balay) Fixed fortran interface bug for MatGetRow()/MatRestoreRow()
- 2.1.2.3 (May 02, 2002) (knepley) Fixed errors in configure when using MPIUNI from Petsc
- 2.1.2.2 (Apr 28, 2002) (bsmith) Fixed errors in PCSetFromOptions for Hypre interface
- 2.1.2.1 (Apr 25, 2002) (bsmith) Fixed error message in Balancing Neumann-Neumann Preconditioner

### Patches for PETSc (Release 2.1.1)

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

- 2.1.1.32 (Apr 8, 2002) Fixed configure check for three argument sysinfo()
- 2.1.1.31 (Mar 29, 2002) Added programmatic switches for disabling actions and objects logging
- 2.1.1.30 (Mar 13, 2002) Ignore leading spaces on lines of an options file
- 2.1.1.29 (Mar 13, 2002) No longer remove *.cpp with 'make clean'
- 2.1.1.28 (Mar 13, 2002) Added Fortran interface for SNESSetLineSearchCheck()
- 2.1.1.27 (Mar 12, 2002) Added support for drawing rectangles to .ps PetscDraw files
- 2.1.1.26 (Mar 10, 2002) Added PetscDrawSetDisplay() and PetscDrawSetFilename()
- 2.1.1.25 (Feb 28, 2002) disable inline version of Kernel_A_gets_inverse_A_4 - affects factorization routines
- 2.1.1.24 (Feb 28, 2002) update -ksp_type cr to support -ksp_norm_type unpreconditioned
- 2.1.1.23 (Feb 26, 2002) -ksp_type cr fix - with itcount, syntax error on ascired fix
- 2.1.1.22 (Feb 19, 2002) intel compiler fixes for linux_intel and misc fixes for c++ & solaris_lam & linux_intel_dec
- 2.1.1.21 (Feb 7, 2002) add PetscDrawAxisSetHoldLimits(), MAT_SINGLE fix for missing variable declaration
- 2.1.1.20 (Feb 4, 2002) SNES ls update, PARMETIS fix
- 2.1.1.19 (Jan 23, 2002) Removed extra loop over dof in DAGetMatrix3d_MPIBAIJ()
- 2.1.1.18 (Jan 23, 2002) Fixed patch 16 for C
- 2.1.1.17 (Jan 23, 2002) patch for IBM MPI on rs6000_sp
- 2.1.1.16 (Jan 22, 2002) Removed limitation of 5 Draw windows per DrawViewer
- 2.1.1.15 (Jan 21, 2002) Bug fix for MatAXPY_SeqAIJ()
- 2.1.1.14 (Jan 19, 2002) fix for KSPSetNormType() fortran interface bug in patch 13
- 2.1.1.13 (Jan 18, 2002) KSPSetNormType bug fix & add fortran interface, ascired mpi fix
- 2.1.1.12 (Jan 17, 2002) Fixed double printing from SNESMonitor() when using TS
- 2.1.1.11 (Jan 17, 2002) Fortran interface fixes for Win32 & add in fortran interface for KSPGMRESKrylovMonitor()
- 2.1.1.10 (Jan 12, 2002) Solairs bug with example crashing in dcopy()/PetscMemcpy()
- 2.1.1.9 (Jan 10, 2002) Fortran interface for DACreateNaturalVector()
- 2.1.1.8 (Jan 8, 2002) Fixes for 3D DA with a star stencil (Glenn Hammond)
- 2.1.1.7 (Jan 8, 2002) Fixes for POSIX on ascired
- 2.1.1.6 (Jan 4, 2002) Fixes for MPI on ascired
- 2.1.1.5 (Jan 4, 2002) Added forgotten MatDiagonalScaleLocal()
- 2.1.1.4 (Jan 3, 2002) Fixed bug with logging output
- 2.1.1.3 (Jan 3, 2002) Fixed bug with using MIPPro on windows (win32_ms_mpipro)
- 2.1.1.2 (Dec 20, 2001) Fixed bug in Mat SBAIJ relaxation
- 2.1.1.1 (Dec 20, 2001) Updated Win32fe source - used for build on Microsoft Windows.

The following patch should be applied only ONCE.

- 2.1.1.5-glenn (Jan 4, 2002) Added forgotten MatDiagonalScaleLocal()

### 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.