[mpich-discuss] Working with TotalView & mpiexec.hydra

Anatoly G anatolyrishon at gmail.com
Tue Feb 28 08:51:07 CST 2012


Dear MPICH2.
I want to debug my MPI program. (files attached).

*Execution line without TotalView is (works fine):*
/space/local/bin/mpiexec.hydra -genvall -disable-auto-cleanup -f
MpiConfigMachines.txt -n 1 -launcher=rsh mpi_rcv_waitany 100 1000000 90
1000 1 logs/res1_ : -n 1 mpi_rcv_waitany 100 1000000 90 1000 1 logs/res2_ :
-n 1 mpi_rcv_waitany 100 1000000 90 1000 1 logs/res3_

*Execution line withTotalView is (fails):*
/space/local/bin/mpiexec.hydra -genvall -disable-auto-cleanup -f
MpiConfigMachines.txt -n 1 -launcher=rsh tv mpi_rcv_waitany -a 100 1000000
90 1000 1 logs/res1_ : -n 1 mpi_rcv_waitany 100 1000000 90 1000 1
logs/res2_ : -n 1 mpi_rcv_waitany 100 1000000 90 1000 1 logs/res3_

TotalView is executed. Shows text of program. I start debugging using
"Next" commands until I arrive to line:
MPI::Init(argc, argv);

Executing this line cause failure of program, but totalview is still up.
*In shell I see an error*:

[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(411):
MPID_Init(138).......: channel initialization failed
MPID_Init(423).......: PMI_Get_appnum returned -1



Can you please help me with this problem.

Anatoly.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20120228/f49abfff/attachment.htm>
-------------- next part --------------
boogie:100
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpi_test_incl.h
Type: text/x-chdr
Size: 11267 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20120228/f49abfff/attachment.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpi_rcv_waitany.cpp
Type: text/x-c++src
Size: 7265 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20120228/f49abfff/attachment.cpp>


More information about the mpich-discuss mailing list