[mpich-discuss] Problem with debugging using gdb in mpich-3.0.4
Balaji, Pavan
balaji at mcs.anl.gov
Wed Jan 15 12:21:25 CST 2014
Are you using tcsh? I remember seeing something like this with tcsh, which we were never quite able to figure out why it happened.
— Pavan
On Jan 15, 2014, at 10:36 AM, Florin Isaila <florin.isaila at gmail.com> wrote:
> Hi,
>
> I have a problem when trying to use gdb in mpich-3.0.4
>
> MPICH is configured with:
> ./configure --prefix=/homes/fisaila/software/mpich --enable-g=all
> --enable-fast=O0 --enable-shared
>
> When running a the cpi from examples directory with:
> mpiexec -np 1 xterm -e gdb cpi
>
> I am getting the xterm window correctly and:
>
> (gdb) r
> Starting program: /nfs2/fisaila/software/mpich-3.0.4/examples/cpi
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> [cli_0]: write_line error; fd=6 buf=:cmd=init pmi_version=1 pmi_subversion=1
> :
> system msg for write_line failure : Bad file descriptor
> [cli_0]: Unable to write to PMI_fd
> [cli_0]: write_line error; fd=6 buf=:cmd=get_appnum
> :
> system msg for write_line failure : Bad file descriptor
> Fatal error in MPI_Init: Other MPI error, error stack:
> MPIR_Init_thread(433):
> MPID_Init(139).......: channel initialization failed
> MPID_Init(421).......: PMI_Get_appnum returned -1
> [Inferior 1 (process 14215) exited with code 01]
>
> The gdb version is:
> gdb -v
> GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
>
>
> Any suggestion?
>
> Thanks
> Florin
> _______________________________________________
> discuss mailing list discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
More information about the discuss
mailing list