[petsc-users] What caused this problem."PetscInitialize() must be called before PetscFinalize()"

Patrick Sanan patrick.sanan at gmail.com
Fri Aug 26 07:14:35 CDT 2016


I mean the entire message between the dotted lines

[0]PETSC ERROR: --------------------- Error Message
--------------------------------------------------------------
............
[0]PETSC ERROR: ----------------End of Error Message -------send
entire error message to petsc-maint at mcs.anl.gov----------

Also, make sure that you "reply all".

On Fri, Aug 26, 2016 at 2:11 PM, 丁老师 <ztdepyahoo at 163.com> wrote:
>
> [0]PETSC ERROR: #1 PetscOptionsInsertFile() line 563 in
>  home/ztdep/Downloads/petsc-3.6.3/src/sys/objects/options.c
>  [0]PETSC ERROR: #2 PetscOptionsInsert() line 720 in
>  /home/ztdep/Downloads/petsc-3.6.3/src/sys/objects/options.c
>  [0]PETSC ERROR: #3 PetscInitialize() line 828 in
>  /home/ztdep/Downloads/petsc-3.6.3/src/sys/objects/pinit.c
>  PetscInitialize() must be called before PetscFinalize()
>
>
>
>
>
>
> 在 2016-08-26 15:46:37,"Patrick Sanan" <patrick.sanan at gmail.com> 写道:
>>Could you send the entire error message?
>>
>>On Fri, Aug 26, 2016 at 9:42 AM, 丁老师 <ztdepyahoo at 163.com> wrote:
>>> Dear friends:
>>>    My code run without any problem yesterday, but it gives me the
>>> following
>>> error. I do not know what is the reason?
>>> Regards
>>>
>>> [0]PETSC ERROR: #1 PetscOptionsInsertFile() line 563 in
>>> /home/ztdep/Downloads/petsc-3.6.3/src/sys/objects/options.c
>>> [0]PETSC ERROR: #2 PetscOptionsInsert() line 720 in
>>> /home/ztdep/Downloads/petsc-3.6.3/src/sys/objects/options.c
>>> [0]PETSC ERROR: #3 PetscInitialize() line 828 in
>>> /home/ztdep/Downloads/petsc-3.6.3/src/sys/objects/pinit.c
>>>
>>> PetscInitialize() must be called before PetscFinalize()
>>>
>>> Regards
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>
>
>
>


More information about the petsc-users mailing list