Also run Linux version in valgrind
________________________________
From: Barry Smith<mailto:[email protected]>
Sent: ‎3/‎13/‎2014 2:22 PM
To: Qin Lu<mailto:[email protected]>
Cc: petsc-users<mailto:[email protected]>
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 <[email protected]> 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 <[email protected]>
> To: Qin Lu <[email protected]>
> Cc: petsc-users <[email protected]>
> 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 <[email protected]> wrote:
>
>> I forget to mention: it crashed in Win-7 only, while it runs fine in Linux.
>>
>> Qin
>>
>>
>> ----- Original Message -----
>> From: Qin Lu <[email protected]>
>> To: petsc-users <[email protected]>
>> 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

Reply via email to