[petsc-users] PetscFinalize()

Matthew Knepley knepley at gmail.com
Fri Sep 28 10:17:51 CDT 2012


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/20120928/8ec137e3/attachment.html>


More information about the petsc-users mailing list