Is this application making PETSc calls from fortran? You'll have to go through the changes file - and make sure the prototype changes are applied to your code [a fortran compiler doesn't help with prototype checks here]. http://www.mcs.anl.gov/petsc/petsc-as/documentation/changes/300.html
[If the above doesn't catch all changes] use valgrind to figureout which function/s are corrupting data - and then check if the code is using the function prototype correctly [by verifying with the manpage] http://www.mcs.anl.gov/petsc/petsc-as/documentation/troubleshooting.html#Corrupt Satish On Wed, 13 Jan 2010, Ildar Rakhmanov wrote: > Hi: > > We have piece of code which is using Petsc linear equations solver in serial > fashion. > The version linked to Petsc 2.3.3.15 works fine. > When we try to use Petsc 3.0.0.10 we start getting errors like this > > > [0]PETSC ERROR: --------------------- Error Message > ------------------------------------ > [0]PETSC ERROR: Corrupted Petsc object! > [0]PETSC ERROR: Missing Inode Structure! > [0]PETSC ERROR: > ------------------------------------------------------------------------ > [0]PETSC ERROR: Petsc Release Version 3.0.0, Patch 10, Tue Nov 24 16:38:09 > CST 2009 > [0]PETSC ERROR: See docs/changes/index.html for recent updates. > [0]PETSC ERROR: See docs/faq.html for hints about trouble shooting. > [0]PETSC ERROR: See docs/index.html for manual pages. > [0]PETSC ERROR: > ------------------------------------------------------------------------ > [0]PETSC ERROR: ****/driverFlow on a i686-pc-l named ******* by **** Mon > Jan 4 18:49:59 2010 > [0]PETSC ERROR: Libraries linked from =/home/eni/local1/hpc/lib > [0]PETSC ERROR: Configure run at Tue Dec 29 12:44:48 2009 > [0]PETSC ERROR: Configure options --prefix==****** --with-mpi=0 > --with-cc=gcc --with-fc=gfortran -with-cxx=g++ --download-f-blas-lapack=1 > --download-lusol=1 --download-superlu=1 --download-umfpack=1 --with-shared=0 > [0]PETSC ERROR: > ------------------------------------------------------------------------ > [0]PETSC ERROR: MatSolve_Inode() line 793 in src/mat/impls/aij/seq/inode.c > [0]PETSC ERROR: MatSolve() line 2624 in src/mat/interface/matrix.c > [0]PETSC ERROR: PCApply_ILU() line 346 in src/ksp/pc/impls/factor/ilu/ilu.c > [0]PETSC ERROR: PCApply() line 357 in src/ksp/pc/interface/precon.c > [0]PETSC ERROR: KSPInitialResidual() line 57 in > src/ksp/ksp/interface/itres.c > [0]PETSC ERROR: KSPSolve_GMRES() line 241 in src/ksp/ksp/impls/gmres/gmres.c > [0]PETSC ERROR: KSPSolve() line 385 in src/ksp/ksp/interface/itfunc.c > > > Could you please advise what can fix this problem? > > Ildar Khabibrakhmanov >