<div dir="ltr">Dear MPICH2.<div>I want to debug my MPI program. (files attached).</div><div><br></div><div><b>Execution line without TotalView is (works fine):</b></div><div><div>/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_ </div>
<div><br></div></div><div><b>Execution line withTotalView is (fails):</b>
</div><div>/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_</div>
<div><br></div><div>TotalView is executed. Shows text of program. I start debugging using "Next" commands until I arrive to line: </div><div>MPI::Init(argc, argv);</div><div><br></div><div>Executing this line cause failure of program, but totalview is still up.</div>
<div><u>In shell I see an error</u>:</div><div><br></div><div><div>[cli_0]: write_line error; fd=6 buf=:cmd=init pmi_version=1 pmi_subversion=1</div><div>:</div><div>system msg for write_line failure : Bad file descriptor</div>
<div>[cli_0]: Unable to write to PMI_fd</div><div>[cli_0]: write_line error; fd=6 buf=:cmd=get_appnum</div><div>:</div><div>system msg for write_line failure : Bad file descriptor</div><div>Fatal error in MPI_Init: Other MPI error, error stack:</div>
<div>MPIR_Init_thread(411):</div><div>MPID_Init(138).......: channel initialization failed</div><div>MPID_Init(423).......: PMI_Get_appnum returned -1 </div></div><div><br></div><div><br></div><div><br></div><div>Can you please help me with this problem.</div>
<div><br></div><div>Anatoly.</div></div>