Yes - just the header file is sufficient. Or you can get the patch file and apply it. [i.e grab/save the 'raw' link - and apply with 'patch -Np1 < patchfile']
http://petsc.cs.iit.edu/petsc/releases/petsc-3.1/rev/41bb7fb92e12 [with the tarball - you get other fixes aswell] http://petsc.cs.iit.edu/petsc/releases/petsc-3.1/shortlog/15581 Satish On Fri, 30 Jul 2010, Keita Teranishi wrote: > Hi, > > I'd like to know if I can resolve this problem by adding them to the header > file? Or do I have to download the entire -p4 release ? > > PetscEnum MAT_SHIFT_NONE > PetscEnum MAT_SHIFT_NONZERO > PetscEnum MAT_SHIFT_POSITIVE_DEFINITE > PetscEnum MAT_SHIFT_INBLOCKS > parameter (MAT_SHIFT_NONE=0) > parameter (MAT_SHIFT_NONZERO=1) > parameter (MAT_SHIFT_POSITIVE_DEFINITE=2) > parameter (MAT_SHIFT_INBLOCKS=3) > > Thank you, > ================================ > ?Keita Teranishi > ?Scientific Library Group > ?Cray, Inc. > ?keita at cray.com > ================================ > > > -----Original Message----- > From: petsc-dev-bounces at mcs.anl.gov [mailto:petsc-dev-bounces at > mcs.anl.gov] On Behalf Of Satish Balay > Sent: Friday, July 30, 2010 3:25 PM > To: For users of the development version of PETSc > Subject: Re: [petsc-dev] please prepare new patch for 3.1 > > The p4 tarball is on the download page now > > Satish > > On Fri, 30 Jul 2010, Barry Smith wrote: > > > > > Satish, > > > > Please prepare a new patch for 3.1 as soon as you can reasonably do so > > and let me know when it is done. The MAT_SHIFT_* enumtypes were missing > > from Fortran making 3.1 almost unusable, I've added them but would like an > > updated patch version to include them. > > > > Thanks > > > > Barry > > > > > >
