<div dir="ltr"><div dir="ltr">On Tue, Jun 7, 2022 at 9:51 AM wang yuqi <<a href="mailto:yu1299885905@outlook.com">yu1299885905@outlook.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="ZH-CN" style="overflow-wrap: break-word;">
<div class="gmail-m_1004456121393181582WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:14pt;font-family:"Times New Roman",serif">Hi, Dear developer:</span><span lang="EN-US" style="font-size:14pt;font-family:"Times New Roman",serif"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14pt;font-family:"Times New Roman",serif">I encountered the following problems when I run my code with PETSC-3.5.2:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14pt;font-family:"Times New Roman",serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14pt;font-family:"Times New Roman",serif;color:red">[46]PETSC ERROR: ------------------------------------------------------------------------<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14pt;font-family:"Times New Roman",serif;color:red">[46]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14pt;font-family:"Times New Roman",serif;color:red">[46]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14pt;font-family:"Times New Roman",serif;color:red">[46]PETSC ERROR: or see
<a href="http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind" target="_blank">http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14pt;font-family:"Times New Roman",serif;color:red">[46]PETSC ERROR: or try <a href="http://valgrind.org" target="_blank">http://valgrind.org</a> on GNU/linux and Apple Mac OS X to find memory corruption errors<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14pt;font-family:"Times New Roman",serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14pt;font-family:"Times New Roman",serif;color:rgb(36,41,47);background:white">Could you please help me to fix this problem?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14pt;font-family:"Times New Roman",serif;color:rgb(36,41,47);background:white"></span></p></div></div></blockquote><div><br></div><div>It may not be a PETSc problem. Could you run in the debugger and get a stack trace?</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="ZH-CN" style="overflow-wrap: break-word;"><div class="gmail-m_1004456121393181582WordSection1"><p class="MsoNormal"><span lang="EN-US" style="font-size:14pt;font-family:"Times New Roman",serif;color:rgb(36,41,47);background:white">Thank you very much!<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14pt;font-family:"Times New Roman",serif;color:rgb(36,41,47);background:white"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14pt;font-family:"Times New Roman",serif;color:rgb(36,41,47);background:white">Best Regards.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14pt;font-family:"Times New Roman",serif;color:rgb(36,41,47);background:white">Yuqi Wang<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14pt;font-family:SimSun"><u></u> <u></u></span></p>
</div>
</div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>