[petsc-users] Inconsistent data

Barry Smith bsmith at mcs.anl.gov
Wed Nov 2 03:49:59 CDT 2016


   This is probably due to a bug in the way we were handling the PETSC_VIEWER_STDOUT in version 3.6. Can you try 3.7 and see if the problem goes away? 

   Are you using monitor or view command line options?

    Barry

> On Nov 1, 2016, at 11:09 PM, Bikash Kanungo <bikash at umich.edu> wrote:
> 
> Hi,
> 
> I'm trying to perform several KSPSolve in sequence. After several successful runs I get the following error:
> 
> [4]PETSC ERROR: Petsc has generated inconsistent data
> [4]PETSC ERROR: No more room in array, limit 256 
>  recompile src/sys/objects/destroy.c with larger value for MAXREGDESOBJS
> 
> [7]PETSC ERROR: #1 PetscObjectRegisterDestroy() line 228 in /home/bikash/fem_dft_softwares/petsc/petsc-3.6.3/src/sys/objects/destroy.c
> [7]PETSC ERROR: #2 PetscViewerASCIIGetStdout() line 45 in /home/bikash/fem_dft_softwares/petsc/petsc-3.6.3/src/sys/classes/viewer/impls/ascii/vcreatea.c
> [2]PETSC ERROR: #3 PETSC_VIEWER_STDOUT_() line 81 in /home/bikash/fem_dft_softwares/petsc/petsc-3.6.3/src/sys/classes/viewer/impls/ascii/vcreatea.c\
> [3]PETSC ERROR: #4 PetscObjectRegisterDestroy() line 228 in /home/bikash/fem_dft_softwares/petsc/petsc-3.6.3/src/sys/objects/destroy.c
> [3]PETSC ERROR: #5 PetscViewerASCIIGetStdout() line 45 in /home/bikash/fem_dft_softwares/petsc/petsc-3.6.3/src/sys/classes/viewer/impls/ascii/vcreatea.c
> [4]PETSC ERROR: #6 PETSC_VIEWER_STDOUT_() line 81 in /home/bikash/fem_dft_softwares/petsc/petsc-3.6.3/src/sys/classes/viewer/impls/ascii/vcreatea.c
> [5]PETSC ERROR: #7 PetscObjectRegisterDestroy() line 228 in /home/bikash/fem_dft_softwares/petsc/petsc-3.6.3/src/sys/objects/destroy.c
> [5]PETSC ERROR: #8 PetscViewerASCIIGetStdout() line 45 in /home/bikash/fem_dft_softwares/petsc/petsc-3.6.3/src/sys/classes/viewer/impls/ascii/vcreatea.c
> [5]PETSC ERROR: #9 PCView() line 1695 in /home/bikash/fem_dft_softwares/petsc/petsc-3.6.3/src/ksp/pc/interface/precon.c
> [5]PETSC ERROR: #10 KSPView() line 211 in /home/bikash/fem_dft_softwares/petsc/petsc-3.6.3/src/ksp/ksp/interface/itcreate.c
> 
> 
> I tried to be destroy the ksp object after each solve but to no avail. Can you provide some input on what might be causing the abort?
> 
> Regards,
> Bikash
> -- 
> Bikash S. Kanungo
> PhD Student
> Computational Materials Physics Group
> Mechanical Engineering 
> University of Michigan
> 



More information about the petsc-users mailing list