<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<div>
<div>
<div style="font-size:11pt; font-family:Calibri,sans-serif">Also run Linux version in valgrind</div>
</div>
<div dir="ltr">
<hr>
<span style="font-size:11pt; font-family:Calibri,sans-serif; font-weight:bold">From:
</span><span style="font-size:11pt; font-family:Calibri,sans-serif"><a href="mailto:bsmith@mcs.anl.gov">Barry Smith</a></span><br>
<span style="font-size:11pt; font-family:Calibri,sans-serif; font-weight:bold">Sent:
</span><span style="font-size:11pt; font-family:Calibri,sans-serif">ý3/ý13/ý2014 2:22 PM</span><br>
<span style="font-size:11pt; font-family:Calibri,sans-serif; font-weight:bold">To:
</span><span style="font-size:11pt; font-family:Calibri,sans-serif"><a href="mailto:lu_qin_2000@yahoo.com">Qin Lu</a></span><br>
<span style="font-size:11pt; font-family:Calibri,sans-serif; font-weight:bold">Cc:
</span><span style="font-size:11pt; font-family:Calibri,sans-serif"><a href="mailto:petsc-users@mcs.anl.gov">petsc-users</a></span><br>
<span style="font-size:11pt; font-family:Calibri,sans-serif; font-weight:bold">Subject:
</span><span style="font-size:11pt; font-family:Calibri,sans-serif">Re: [petsc-users] KSPSolve crash</span><br>
<br>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText"><br>
Compile in debug mode and run in the debugger (visual studio has it built in).<br>
<br>
On Mar 13, 2014, at 4:02 PM, Qin Lu <lu_qin_2000@yahoo.com> wrote:<br>
<br>
> 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.<br>
> <br>
> Thanks,<br>
> Qin<br>
> <br>
> <br>
> ----- Original Message -----<br>
> From: Barry Smith <bsmith@mcs.anl.gov><br>
> To: Qin Lu <lu_qin_2000@yahoo.com><br>
> Cc: petsc-users <petsc-users@mcs.anl.gov><br>
> Sent: Thursday, March 13, 2014 3:57 PM<br>
> Subject: Re: [petsc-users] KSPSolve crash<br>
> <br>
> <br>
> 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?<br>
> <br>
> Barry<br>
> <br>
> <br>
> On Mar 13, 2014, at 2:45 PM, Qin Lu <lu_qin_2000@yahoo.com> wrote:<br>
> <br>
>> I forget to mention: it crashed in Win-7 only, while it runs fine in Linux.<br>
>> <br>
>> Qin<br>
>> <br>
>> <br>
>> ----- Original Message -----<br>
>> From: Qin Lu <lu_qin_2000@yahoo.com><br>
>> To: petsc-users <petsc-users@mcs.anl.gov><br>
>> Cc: <br>
>> Sent: Thursday, March 13, 2014 2:43 PM<br>
>> Subject: [petsc-users] KSPSolve crash<br>
>> <br>
>> PETSc team,<br>
>> <br>
>> 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.<br>
>> <br>
>> 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.<br>
>> <br>
>> Many thanks,<br>
>> Qin <br>
<br>
</div>
</span></font>
</body>
</html>