You can find how to debug your MPI application at the links below: https://wiki.mpich.org/mpich/index.php/Frequently_Asked_Questions#Debugging_... https://wiki.mpich.org/mpich/index.php/Building_MPICH_For_Development#Use_gd... Regards, Sangmin On Dec 7, 2016, at 11:39 AM, Burlen Loring <[email protected]<mailto:[email protected]>> wrote: after upgrading to osx sierra and latest xcode some of my regression tests crash in MPI calls, that's as far as I've got as MPI init seems to fail when run in the debugger. See below. Can any one advise how to run the program in the debugger on osx sierrra? (lldb) target create "./bin/test/test_table_reader_distribute" Current executable set to './bin/test/test_table_reader_distribute' (x86_64). (lldb) settings set -- target.run-args "/Users/bloring/TECA/../TECA_data/test_tc_candidates_20.bin" "/Users/bloring/TECA/../TECA_data/test_table_reader_distribute_20.bin" "step" "0" "-1" "1" (lldb) r Process 75610 launched: './bin/test/test_table_reader_distribute' (x86_64) [cli_1]: write_line error; fd=8 buf=:cmd=init pmi_version=1 pmi_subversion=1 : system msg for write_line failure : Bad file descriptor [cli_1]: Unable to write to PMI_fd [cli_1]: write_line error; fd=8 buf=:cmd=get_appnum : system msg for write_line failure : Bad file descriptor Fatal error in MPI_Init_thread: Other MPI error, error stack: MPIR_Init_thread(474): MPID_Init(152).......: channel initialization failed MPID_Init(426).......: PMI_Get_appnum returned -1 [cli_1]: write_line error; fd=8 buf=:cmd=abort exitcode=1094159 : system msg for write_line failure : Bad file descriptor Process 75610 exited with status = 15 (0x0000000f) (lldb) _______________________________________________ discuss mailing list [email protected]<mailto:[email protected]> To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss _______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss