[mpich-discuss] OSX Mavericks lldb+mpich 3.1 debugging problem

Lu, Huiwei huiweilu at mcs.anl.gov
Tue Mar 25 15:56:35 CDT 2014


Are you using tcsh? Does bash works for you?
http://lists.mpich.org/pipermail/discuss/2014-January/002079.html

—
Huiwei Lu
Postdoc Appointee
Mathematics and Computer Science Division, Argonne National Laboratory
http://www.mcs.anl.gov/~huiweilu/

On Mar 25, 2014, at 3:50 PM, Martin Schatz <martin.schatz at utexas.edu> wrote:

> Hi,
> 
> I’m having an issue debugging an MPI program with lldb on OSX Mavericks.  I get the exact behavior as described in
> 
> http://lists.mpich.org/pipermail/discuss/2014-January/002074.html
> 
> except using lldb instead of gdb as the debugger.  I have checked that I am using the bash terminal and unfortunately am still getting the same error.
> 
> Details of my installation are as follows:
> 
> I have installed the mpich-clang macport (mpich-clang-fortran is active), but when I run the cpi example with
> 
> mpiexec -np 1 xterm -e lldb ./cpi
> 
> I get the xterm window to spawn but:
> 
> Current executable set to './cpi' (x86_64).
> (lldb) r
> Process 56694 launched: './cpi' (x86_64)
> [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(467): 
> MPID_Init(140).......: channel initialization failed
> MPID_Init(422).......: PMI_Get_appnum returned -1
> Process 56694 exited with status = 1 (0x00000001) 
> (lldb)
> 
> 
> The lldb version is:
> lldb --version
> lldb-310.2.36
> 
> Any help is appreciated.
> 
> Martin
> 
> _______________________________________________
> 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