[petsc-users] PETSC ERROR: PetscInitialize()

Barry Smith bsmith at mcs.anl.gov
Mon Jun 23 11:09:02 CDT 2014


  What happens at this point? Did the xterm open with the debugger or not? What is printed below seems like only a warning?

   If you are running with only a single process you can do -start_in_debugger noxterm     and it will open the debugger in the current window instead of starting a new xterm.

   Barry

On Jun 23, 2014, at 11:01 AM, Oo <wumeng07maths at qq.com> wrote:

> 
> Dear all,
> 
> Recently, I try to write a simple PETSC code for solving linear system problem.
> At the beginning of main function, I use PetscInitialize().
> However, when I run this program with "-start_in_debugger",
> there is a PETSC ERROR caused by this line.
> 
> 
> The PETSC ERROR is:
>  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
> Warning: locale not supported by Xlib, locale set to C
> 
> Do you have some suggestions to deal with this problem?
> 
> Thanks a lot!
> 
> Meng



More information about the petsc-users mailing list