Dear all, So I upgraded/updated my Homebrew on my Macbook and installed Open MPI 2.0.1 using "brew install openmpi". However, when I open up a terminal and type "mpirun -n 1" I get the following messages:
~ mpirun -n 1 [Justins-MacBook-Pro-2.local:20793] [[13318,0],0] bind() failed on error Address already in use (48) [Justins-MacBook-Pro-2.local:20793] [[13318,0],0] ORTE_ERROR_LOG: Error in file oob_usock_component.c at line 228 -------------------------------------------------------------------------- No executable was specified on the mpirun command line. Aborting. -------------------------------------------------------------------------- I have never seen anything like the first two lines. I also installed python and mpi4py via pip, and when I still get the same messages: ~ python -c "from mpi4py import MPI" [Justins-MacBook-Pro-2.local:20871] [[13496,0],0] bind() failed on error Address already in use (48) [Justins-MacBook-Pro-2.local:20871] [[13496,0],0] ORTE_ERROR_LOG: Error in file oob_usock_component.c at line 228 But now if I add "mpirun -n 1" I get the following: ~ mpirun -n 1 python -c "from mpi4py import MPI" [Justins-MacBook-Pro-2.local:20935] [[13560,0],0] bind() failed on error Address already in use (48) [Justins-MacBook-Pro-2.local:20935] [[13560,0],0] ORTE_ERROR_LOG: Error in file oob_usock_component.c at line 228 [Justins-MacBook-Pro-2.local:20936] [[13560,1],0] usock_peer_send_blocking: send() to socket 17 failed: Socket is not connected (57) [Justins-MacBook-Pro-2.local:20936] [[13560,1],0] ORTE_ERROR_LOG: Unreachable in file oob_usock_connection.c at line 315 [Justins-MacBook-Pro-2.local:20936] [[13560,1],0] orte_usock_peer_try_connect: usock_peer_send_connect_ack to proc [[13560,0],0] failed: Unreachable (-12) [Justins-MacBook-Pro-2:20936] *** Process received signal *** [Justins-MacBook-Pro-2:20936] Signal: Segmentation fault: 11 (11) [Justins-MacBook-Pro-2:20936] Signal code: (0) [Justins-MacBook-Pro-2:20936] Failing at address: 0x0 ------------------------------------------------------- Primary job terminated normally, but 1 process returned a non-zero exit code.. Per user-direction, the job has been aborted. ------------------------------------------------------- -------------------------------------------------------------------------- mpirun detected that one or more processes exited with non-zero status, thus causing the job to be terminated. The first process to do so was: Process name: [[13560,1],0] Exit code: 1 -------------------------------------------------------------------------- Clearly something is wrong here. I already tried things like "rm -rf $TMPDIR/openmpi-sessions-*" but said directory keeps reappearing and the error persists. Why does this happen and how do I fix it? For what it's worth, here's some other information that may help: ~ mpicc --version Apple LLVM version 8.0.0 (clang-800.0.38) Target: x86_64-apple-darwin15.6.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin I tested Hello World with both mpicc and mpif90, and they still work despite showing those two error/warning messages. Thanks, Justin _______________________________________________ users mailing list users@lists.open-mpi.org https://rfd.newmexicoconsortium.org/mailman/listinfo/users