Sorry if it was not clear but my shell is bash and is working:

wireless:build $echo $SHELL
echo $SHELL
/bin/bash
wireless:build $/bin/bash --version
/bin/bash --version
GNU bash, version 3.2.51(1)-release (x86_64-apple-darwin13)
Copyright (C) 2007 Free Software Foundation, Inc.

At least, I believe this means I am running with bash.  Thanks for the help.

Martin

On Mar 25, 2014, at 3:56 PM, Lu, Huiwei <huiweilu@mcs.anl.gov> wrote:

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@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@mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss

_______________________________________________
discuss mailing list     discuss@mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss