<div><br></div><div><font color="#3366ff">Dear all,</font></div><div><font color="#3366ff"><br></font></div><div><font color="#3366ff">Recently, I try to write a simple PETSC code for solving linear system problem.</font></div><div><font color="#3366ff">At the beginning of main function, I use PetscInitialize().</font></div><div><font color="#3366ff">However, when I run this program with "-start_in_debugger",</font></div><div><font color="#3366ff">there is a PETSC ERROR caused by this line.</font></div><div><font color="#3366ff"><br></font></div><div><font color="#3366ff"><br></font></div><div><font color="#3366ff">The PETSC ERROR is:</font></div><div><p style="margin: 0px; font-size: 11px; line-height: normal;"><font color="#3366ff"> PETSC: Attaching gdb to /Users/meng/MyWork/BuildTools/bin/Parameterization of pid 7342 on display /tmp/launch-0lpYbb/org.macosforge.xquartz:0 on machine vis163d</font></p>
<p style="margin: 0px; font-size: 11px; line-height: normal;"><font color="#3366ff">Warning: locale not supported by Xlib, locale set to C</font></p><p style="margin: 0px; font-size: 11px; line-height: normal;"><font color="#3366ff"><br></font></p><p style="margin: 0px;"><font color="#3366ff">Do you have some suggestions to deal with this problem?</font></p><p style="margin: 0px;"><font color="#3366ff"><br></font></p><p style="margin: 0px;"><font color="#3366ff">Thanks a lot!</font></p><p style="margin: 0px;"><font color="#3366ff"><br></font></p><p style="margin: 0px;"><font color="#3366ff">Meng</font></p></div>