[petsc-users] debugger does not work on my machine
Satish Balay
balay at mcs.anl.gov
Tue Oct 25 14:41:34 CDT 2011
you need to install xterm
Satish
On Tue, 25 Oct 2011, Wen Jiang wrote:
> Hi all,
>
> I was trying to use the gdb debugger by
>
> mpiexec -n 2 ./myprogram -start_in_debugger
>
> I got the error:
>
> *******************************************************************************************
> [1]PETSC ERROR: PETSC: Attaching gdb to ./myprogram of pid 60344 on display
> knossos:0.0 on machine knossos
> [0]PETSC ERROR: PETSC: Attaching gdb to ./myprogram of pid 60343 on display
> knossos:0.0 on machine knossos
> Unable to start debugger in xterm: No such file or directory
> Unable to start debugger in xterm: No such file or directory
> *******************************************************************************************
>
> I tried mpiexec -n 2 ./myprogram -start_in_debugger noxterm
>
> I got the information, some of them are
>
> *******************************************************************************************
> 0x00000033c50a6a50 in __nanosleep_nocancel () from /lib64/libc.so.6
> 0x00000033c50a6a50 in __nanosleep_nocancel () from /lib64/libc.so.6
> Missing separate debuginfos, use: debuginfo-install
> glibc-2.12-1.7.el6_0.5.x86_64 libX11-1.3-2.el6.x86_64
> libXau-1.0.5-1.el6.x86_64 libgcc-4.4.4-13.el6.x86_64
> libgfortran-4.4.4-13.el6.x86_
> 64 libstdc++-4.4.4-13.el6.x86_64 libxcb-1.5-1.el6.x86_64
> (gdb) Missing separate debuginfos, use: debuginfo-install
> glibc-2.12-1.7.el6_0.5.x86_64 libX11-1.3-2.el6.x86_64
> libXau-1.0.5-1.el6.x86_64 libgcc-4.4.4-13.el6.x86_64
> libgfortran-4.4.4-13.el6.x86_64 libstdc++-4.4.4-13.el6.x86_64
> libxcb-1.5-1.el6.x86_64
> (gdb)
> ********************************************************************************************
> ( Does this mean I need to install those libraries? I also tried to install
> as root, but it said that 'Could not find debuginfo pkg for dependency
> package libxcb-1.5.1-el6.x86_64'.
>
> My system is scientific linux and it use GNOME 2.28.2. I am wondering how to
> fix this problem.
>
> Thanks,
> Wen
>
More information about the petsc-users
mailing list