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

Patrick Sanan patrick.sanan at gmail.com
Fri Aug 26 02:46:37 CDT 2016


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