[petsc-users] KSPSolve crash

Qin Lu lu_qin_2000 at yahoo.com
Thu Mar 13 16:02:54 CDT 2014


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      


More information about the petsc-users mailing list