[petsc-users] PETSC ERROR: PetscInitialize()

Barry Smith bsmith at mcs.anl.gov
Mon Jun 23 14:01:16 CDT 2014


On Jun 23, 2014, at 1:32 PM, Oo <wumeng07maths at qq.com> 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";<bsmith at mcs.anl.gov>;
> Date:  Jun 24, 2014
> To:  "Oo "<wumeng07maths at qq.com>;
> Cc:  "petsc-users"<petsc-users at mcs.anl.gov>;
> 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 <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