[petsc-users] KSPSolve crash

Balay, Satish balay at mcs.anl.gov
Thu Mar 13 16:25:48 CDT 2014


Also run Linux version in valgrind
________________________________
From: Barry Smith<mailto:bsmith at mcs.anl.gov>
Sent: ‎3/‎13/‎2014 2:22 PM
To: Qin Lu<mailto:lu_qin_2000 at yahoo.com>
Cc: petsc-users<mailto:petsc-users at mcs.anl.gov>
Subject: Re: [petsc-users] KSPSolve crash


   Compile in debug mode and run in the debugger (visual studio has it built in).

On Mar 13, 2014, at 4:02 PM, Qin Lu <lu_qin_2000 at yahoo.com> wrote:

> Yes, it crashed without any printout. It always crashes at the first call to KSPSolve. Currently I only has a release version of petsc lib although my program has debug version.
>
> Thanks,
> Qin
>
>
> ----- Original Message -----
> From: Barry Smith <bsmith at mcs.anl.gov>
> To: Qin Lu <lu_qin_2000 at yahoo.com>
> Cc: petsc-users <petsc-users at mcs.anl.gov>
> Sent: Thursday, March 13, 2014 3:57 PM
> Subject: Re: [petsc-users] KSPSolve crash
>
>
>   How did it crash? Absolutely nothing printed to the screen, the program just ended? Please send any output. Since it worked on linux it is likely something specific to the windows machine like lack of memory, a compiler bug, ….  Does it always crash at the same place, can you run it in the debugger on the windows machine and where does it end up?
>
>   Barry
>
>
> On Mar 13, 2014, at 2:45 PM, Qin Lu <lu_qin_2000 at yahoo.com> wrote:
>
>> I forget to mention: it crashed in Win-7 only, while it runs fine in Linux.
>>
>> Qin
>>
>>
>> ----- Original Message -----
>> From: Qin Lu <lu_qin_2000 at yahoo.com>
>> To: petsc-users <petsc-users at mcs.anl.gov>
>> Cc:
>> Sent: Thursday, March 13, 2014 2:43 PM
>> Subject: [petsc-users] KSPSolve crash
>>
>> PETSc team,
>>
>> I have a program using PETSc linear solver (using KSPBCG with PCILU level 0). But with one case it crashed inside KSPSolve without any error message. I have tested this program with many other cases successfully.
>>
>> Could you debug PETSc with the linear system? I can send you the matrix and rhs if you let me know where to upload them.
>>
>> Many thanks,
>> Qin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140313/75e3a1db/attachment.html>


More information about the petsc-users mailing list