[mpich-discuss] osx sierra troubles mpich 3.2

Seo, Sangmin sseo at anl.gov
Thu Dec 8 09:53:52 CST 2016


Hi Burlen,

You’re right. The same issue has been sitting there for a long time. We added your error case to the github issue (https://github.com/pmodels/mpich/issues/2063, we migrated all trac tickets to github), and we are investigating the issue. You can subscribe on the issue page if you’d like to get notifications about the issue.

Thanks,
Sangmin

On Dec 7, 2016, at 5:38 PM, Burlen Loring <burlen.loring at gmail.com<mailto:burlen.loring at gmail.com>> wrote:

unfortunately how to start the program in a debugger is not the issue here. multiple pieces of our stack no longer even compile with gcc on OSX, and GDB does not work with clang. So clang/lldb seems to be the only viable option right now on OSX.

I've seen related posts to this list and located 3 year old open bug report on mpich.org<http://mpich.org>(link below) with identical errors. This seems to be an ongoing issue with mpich on OSX. In the mean time I've switched to OpenMPI and found that our regression suite runs cleanly, not sure what's going on with MPICH but will not be able to do much else without lldb.

bug report: https://trac.mpich.org/projects/mpich/ticket/2063

On 12/07/2016 01:32 PM, Seo, Sangmin wrote:
You can find how to debug your MPI application at the links below:

https://wiki.mpich.org/mpich/index.php/Frequently_Asked_Questions#Debugging_MPI_Programs
https://wiki.mpich.org/mpich/index.php/Building_MPICH_For_Development#Use_gdb

Regards,
Sangmin

On Dec 7, 2016, at 11:39 AM, Burlen Loring <burlen.loring at gmail.com<mailto:burlen.loring at gmail.com>> 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     discuss at mpich.org<mailto:discuss at mpich.org>
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss




_______________________________________________
discuss mailing list     discuss at mpich.org<mailto:discuss at mpich.org>
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss

_______________________________________________
discuss mailing list     discuss at mpich.org<mailto:discuss at mpich.org>
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20161208/ba7ef549/attachment.html>
-------------- next part --------------
_______________________________________________
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