[petsc-users] PetscFinalize()

Eleni Siampli siaeleni at hotmail.com
Fri Sep 28 16:09:31 CDT 2012


 
Thank you for the answer. Problem solved, but now I have another one:
 
After a lot of iterations (around 246) It gives me the following error:
 

 [0]PETSC ERROR: Petsc has generated inconsistent data!
[0]PETSC ERROR: No more room in array, limit 256
 recompile src/sys/objects/destroy.c with larger value for MAXREGFIN
 
Do you have any idea about this problem?
 
Thanks,
Helen



Date: Fri, 28 Sep 2012 11:17:51 -0400
From: knepley at gmail.com
To: petsc-users at mcs.anl.gov
Subject: Re: [petsc-users] PetscFinalize()

On Fri, Sep 28, 2012 at 11:16 AM, Eleni Siampli <siaeleni at hotmail.com> wrote:




Hey all,
 
I would like to solve the eigenvalue problem.
My code is working for 2 loops and give the right values, but after two loops it gives me the following error:
 
[0]PETSC ERROR: PetscFinalize() line 1221 in src/sys/objects/C:\cygwin\home\liyi
0000\PETSC-~1.2-P\src\sys\objects\pinit.c
[0]PETSC ERROR: SlepcFinalize() line 224 in src/sys/C:\cygwin\home\liyi0000\SLEP
C-~1.2-P\src\sys\slepcinit.c
Options have not been enabled.
You might have forgotten to call PetscInitialize().
 
Do you have any idea what this error mean?


You are only intended to call PetscFinalize() once, at the end of your program.


   Matt
 


 
Thank you in advance,
Helen
 



-- 
What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.
-- Norbert Wiener
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120929/a86d0ce0/attachment.html>


More information about the petsc-users mailing list