On Jun 23, 2014, at 1:32 PM, Oo <[email protected]> wrote:

> 
> Hi Barry,
> There is no other error in the following.
> I get a result.

   Did an xterm open? 

   Did the program just run to completion?

  Is this your machine?   org.macosforge.xquartz    Are you running on some 
remote machine?

   Barry



> 
> Do you mean that this error must don't impact on the result?
> 
> Thanks for your reply.
> :)
> 
> Meng
> 
> 
> ------------------ Original ------------------
> From:  "Barry Smith";<[email protected]>;
> Date:  Jun 24, 2014
> To:  "Oo "<[email protected]>;
> Cc:  "petsc-users"<[email protected]>;
> Subject:  Re: [petsc-users] PETSC ERROR: PetscInitialize()
> 
> 
>   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 <[email protected]> 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
> 
> .

Reply via email to