[petsc-users] PETSC ERROR: PetscInitialize()

Oo wumeng07maths at qq.com
Mon Jun 23 13:32:02 CDT 2014

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

Do you mean that this error must don't impact on the result?

Thanks for your reply.


------------------ 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.


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.
>  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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140624/723fb4fa/attachment.html>

More information about the petsc-users mailing list