[OMPI users] Strange errors when running mpirun

2016-09-22 Thread Justin Chang
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


Re: [OMPI users] Strange errors when running mpirun

2016-09-22 Thread r...@open-mpi.org
Maybe I’m missing something, but “mpirun -n 1” doesn’t include the name of an 
application to execute.

The error message prior to that error indicates that you have some cruft 
sitting in your tmpdir. You just need to clean it out - look for something that 
starts with “openmpi”


> On Sep 22, 2016, at 1:45 AM, Justin Chang  wrote:
> 
> 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

___
users mailing list
users@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/users

Re: [OMPI users] Strange errors when running mpirun

2016-09-22 Thread Justin Chang
"mpirun -n 1" was just to demonstrate that I get those error messages.
I ran a simple helloworld.c and it still gives those two messages.

I did delete openmpi-sessions-* from my $TMPDIR but it doesn't solve
the problem. Here's my $TMPDIR:

~ cd $TMPDIR
~ pwd
/var/folders/jd/qh5zn6jn5kz_byz9gxz5kl2mgn/T
~ ls
MediaCache
TemporaryItems
com.apple.AddressBook.ContactsAccountsService
com.apple.AddressBook.InternetAccountsBridge
com.apple.AirPlayUIAgent
com.apple.BKAgentService
com.apple.CalendarAgent
com.apple.CalendarAgent.CalNCService
com.apple.CloudPhotosConfiguration
com.apple.DataDetectorsDynamicData
com.apple.ICPPhotoStreamLibraryService
com.apple.InputMethodKit.TextReplacementService
com.apple.PhotoIngestService
com.apple.Preview
com.apple.Safari
com.apple.SocialPushAgent
com.apple.WeatherKitService
com.apple.cloudphotosd
com.apple.dt.XCDocumenter.XCDocumenterExtension
com.apple.dt.XcodeBuiltInExtensions
com.apple.geod
com.apple.iCal.CalendarNC
com.apple.lateragent
com.apple.ncplugin.stocks
com.apple.ncplugin.weather
com.apple.notificationcenterui.WeatherSummary
com.apple.photolibraryd
com.apple.photomoments
com.apple.quicklook.ui.helper
com.apple.soagent
com.getdropbox.dropbox.garcon
icdd501
ics21406
openmpi-sessions-501@Justins-MacBook-Pro-2_0
pmix-12195
pmix-12271
pmix-12289
pmix-12295
pmix-12304
pmix-12313
pmix-12367
pmix-12397
pmix-12775
pmix-12858
pmix-17118
pmix-1754
pmix-20632
pmix-20793
pmix-20849
pmix-21019
pmix-22316
pmix-8129
pmix-8494
xcrun_db
~ rm -rf openmpi-sessions-501@Justins-MacBook-Pro-2_0
~ mpirun -n 1
[Justins-MacBook-Pro-2.local:22527] [[12992,0],0] bind() failed on
error Address already in use (48)
[Justins-MacBook-Pro-2.local:22527] [[12992,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.
--

and when I type "ls" the directory
"openmpi-sessions-501@Justins-MacBook-Pro-2_0" reappeared. Unless
there's a different directory I need to look for?

On Thu, Sep 22, 2016 at 4:08 AM, r...@open-mpi.org  wrote:
> Maybe I’m missing something, but “mpirun -n 1” doesn’t include the name of an 
> application to execute.
>
> The error message prior to that error indicates that you have some cruft 
> sitting in your tmpdir. You just need to clean it out - look for something 
> that starts with “openmpi”
>
>
>> On Sep 22, 2016, at 1:45 AM, Justin Chang  wrote:
>>
>> 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.
>> ---
>> ---

Re: [OMPI users] Strange errors when running mpirun

2016-09-22 Thread r...@open-mpi.org
Try removing the “pmix” entries as well

> On Sep 22, 2016, at 2:19 AM, Justin Chang  wrote:
> 
> "mpirun -n 1" was just to demonstrate that I get those error messages.
> I ran a simple helloworld.c and it still gives those two messages.
> 
> I did delete openmpi-sessions-* from my $TMPDIR but it doesn't solve
> the problem. Here's my $TMPDIR:
> 
> ~ cd $TMPDIR
> ~ pwd
> /var/folders/jd/qh5zn6jn5kz_byz9gxz5kl2mgn/T
> ~ ls
> MediaCache
> TemporaryItems
> com.apple.AddressBook.ContactsAccountsService
> com.apple.AddressBook.InternetAccountsBridge
> com.apple.AirPlayUIAgent
> com.apple.BKAgentService
> com.apple.CalendarAgent
> com.apple.CalendarAgent.CalNCService
> com.apple.CloudPhotosConfiguration
> com.apple.DataDetectorsDynamicData
> com.apple.ICPPhotoStreamLibraryService
> com.apple.InputMethodKit.TextReplacementService
> com.apple.PhotoIngestService
> com.apple.Preview
> com.apple.Safari
> com.apple.SocialPushAgent
> com.apple.WeatherKitService
> com.apple.cloudphotosd
> com.apple.dt.XCDocumenter.XCDocumenterExtension
> com.apple.dt.XcodeBuiltInExtensions
> com.apple.geod
> com.apple.iCal.CalendarNC
> com.apple.lateragent
> com.apple.ncplugin.stocks
> com.apple.ncplugin.weather
> com.apple.notificationcenterui.WeatherSummary
> com.apple.photolibraryd
> com.apple.photomoments
> com.apple.quicklook.ui.helper
> com.apple.soagent
> com.getdropbox.dropbox.garcon
> icdd501
> ics21406
> openmpi-sessions-501@Justins-MacBook-Pro-2_0
> pmix-12195
> pmix-12271
> pmix-12289
> pmix-12295
> pmix-12304
> pmix-12313
> pmix-12367
> pmix-12397
> pmix-12775
> pmix-12858
> pmix-17118
> pmix-1754
> pmix-20632
> pmix-20793
> pmix-20849
> pmix-21019
> pmix-22316
> pmix-8129
> pmix-8494
> xcrun_db
> ~ rm -rf openmpi-sessions-501@Justins-MacBook-Pro-2_0
> ~ mpirun -n 1
> [Justins-MacBook-Pro-2.local:22527] [[12992,0],0] bind() failed on
> error Address already in use (48)
> [Justins-MacBook-Pro-2.local:22527] [[12992,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.
> --
> 
> and when I type "ls" the directory
> "openmpi-sessions-501@Justins-MacBook-Pro-2_0" reappeared. Unless
> there's a different directory I need to look for?
> 
> On Thu, Sep 22, 2016 at 4:08 AM, r...@open-mpi.org  wrote:
>> Maybe I’m missing something, but “mpirun -n 1” doesn’t include the name of 
>> an application to execute.
>> 
>> The error message prior to that error indicates that you have some cruft 
>> sitting in your tmpdir. You just need to clean it out - look for something 
>> that starts with “openmpi”
>> 
>> 
>>> On Sep 22, 2016, at 1:45 AM, Justin Chang  wrote:
>>> 
>>> 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 add

Re: [OMPI users] Strange errors when running mpirun

2016-09-22 Thread Justin Chang
I tried that and also deleted everything inside $TMPDIR. The error
still persists

On Thu, Sep 22, 2016 at 4:21 AM, r...@open-mpi.org  wrote:
> Try removing the “pmix” entries as well
>
>> On Sep 22, 2016, at 2:19 AM, Justin Chang  wrote:
>>
>> "mpirun -n 1" was just to demonstrate that I get those error messages.
>> I ran a simple helloworld.c and it still gives those two messages.
>>
>> I did delete openmpi-sessions-* from my $TMPDIR but it doesn't solve
>> the problem. Here's my $TMPDIR:
>>
>> ~ cd $TMPDIR
>> ~ pwd
>> /var/folders/jd/qh5zn6jn5kz_byz9gxz5kl2mgn/T
>> ~ ls
>> MediaCache
>> TemporaryItems
>> com.apple.AddressBook.ContactsAccountsService
>> com.apple.AddressBook.InternetAccountsBridge
>> com.apple.AirPlayUIAgent
>> com.apple.BKAgentService
>> com.apple.CalendarAgent
>> com.apple.CalendarAgent.CalNCService
>> com.apple.CloudPhotosConfiguration
>> com.apple.DataDetectorsDynamicData
>> com.apple.ICPPhotoStreamLibraryService
>> com.apple.InputMethodKit.TextReplacementService
>> com.apple.PhotoIngestService
>> com.apple.Preview
>> com.apple.Safari
>> com.apple.SocialPushAgent
>> com.apple.WeatherKitService
>> com.apple.cloudphotosd
>> com.apple.dt.XCDocumenter.XCDocumenterExtension
>> com.apple.dt.XcodeBuiltInExtensions
>> com.apple.geod
>> com.apple.iCal.CalendarNC
>> com.apple.lateragent
>> com.apple.ncplugin.stocks
>> com.apple.ncplugin.weather
>> com.apple.notificationcenterui.WeatherSummary
>> com.apple.photolibraryd
>> com.apple.photomoments
>> com.apple.quicklook.ui.helper
>> com.apple.soagent
>> com.getdropbox.dropbox.garcon
>> icdd501
>> ics21406
>> openmpi-sessions-501@Justins-MacBook-Pro-2_0
>> pmix-12195
>> pmix-12271
>> pmix-12289
>> pmix-12295
>> pmix-12304
>> pmix-12313
>> pmix-12367
>> pmix-12397
>> pmix-12775
>> pmix-12858
>> pmix-17118
>> pmix-1754
>> pmix-20632
>> pmix-20793
>> pmix-20849
>> pmix-21019
>> pmix-22316
>> pmix-8129
>> pmix-8494
>> xcrun_db
>> ~ rm -rf openmpi-sessions-501@Justins-MacBook-Pro-2_0
>> ~ mpirun -n 1
>> [Justins-MacBook-Pro-2.local:22527] [[12992,0],0] bind() failed on
>> error Address already in use (48)
>> [Justins-MacBook-Pro-2.local:22527] [[12992,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.
>> --
>>
>> and when I type "ls" the directory
>> "openmpi-sessions-501@Justins-MacBook-Pro-2_0" reappeared. Unless
>> there's a different directory I need to look for?
>>
>> On Thu, Sep 22, 2016 at 4:08 AM, r...@open-mpi.org  wrote:
>>> Maybe I’m missing something, but “mpirun -n 1” doesn’t include the name of 
>>> an application to execute.
>>>
>>> The error message prior to that error indicates that you have some cruft 
>>> sitting in your tmpdir. You just need to clean it out - look for something 
>>> that starts with “openmpi”
>>>
>>>
 On Sep 22, 2016, at 1:45 AM, Justin Chang  wrote:

 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] 

Re: [OMPI users] Strange errors when running mpirun

2016-09-22 Thread Nathan Hjelm
FWIW it works fine for me on my MacBook Pro running 10.12 with Open MPI 2.0.1 
installed through homebrew:

✗ brew -v
Homebrew 1.0.0 (git revision c3105; last commit 2016-09-22)
Homebrew/homebrew-core (git revision 227e; last commit 2016-09-22)

✗ brew info openmpi

open-mpi: stable 2.0.1 (bottled), HEAD
High performance message passing library
https://www.open-mpi.org/
Conflicts with: lcdf-typetools, mpich
/usr/local/Cellar/open-mpi/2.0.1 (688 files, 8.3M) *
  Poured from bottle on 2016-09-22 at 03:53:35
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/open-mpi.rb
==> Dependencies
Required: libevent ✔
==> Options
--c++11
Build using C++11 mode
--with-cxx-bindings
Enable C++ MPI bindings (deprecated as of MPI-3.0)
--with-java
Build with java support
--with-mpi-thread-multiple
Enable MPI_THREAD_MULTIPLE
--without-fortran
Build without fortran support
--HEAD
Install HEAD version

✗ type -p mpicc
mpicc is /usr/local/bin/mpicc

✗ mpirun --version
mpirun (Open MPI) 2.0.1

Report bugs to http://www.open-mpi.org/community/help/


✗ mpirun ./ring_c
Process 0 sending 10 to 1, tag 201 (4 processes in ring)
Process 0 sent to 1
Process 0 decremented value: 9
Process 0 decremented value: 8
Process 0 decremented value: 7
Process 0 decremented value: 6
Process 0 decremented value: 5
Process 0 decremented value: 4
Process 0 decremented value: 3
Process 0 decremented value: 2
Process 0 decremented value: 1
Process 0 decremented value: 0
Process 0 exiting
Process 1 exiting
Process 2 exiting
Process 3 exiting


-Nathan

> On Sep 22, 2016, at 3:31 AM, Justin Chang  wrote:
> 
> I tried that and also deleted everything inside $TMPDIR. The error
> still persists
> 
> On Thu, Sep 22, 2016 at 4:21 AM, r...@open-mpi.org  wrote:
>> Try removing the “pmix” entries as well
>> 
>>> On Sep 22, 2016, at 2:19 AM, Justin Chang  wrote:
>>> 
>>> "mpirun -n 1" was just to demonstrate that I get those error messages.
>>> I ran a simple helloworld.c and it still gives those two messages.
>>> 
>>> I did delete openmpi-sessions-* from my $TMPDIR but it doesn't solve
>>> the problem. Here's my $TMPDIR:
>>> 
>>> ~ cd $TMPDIR
>>> ~ pwd
>>> /var/folders/jd/qh5zn6jn5kz_byz9gxz5kl2mgn/T
>>> ~ ls
>>> MediaCache
>>> TemporaryItems
>>> com.apple.AddressBook.ContactsAccountsService
>>> com.apple.AddressBook.InternetAccountsBridge
>>> com.apple.AirPlayUIAgent
>>> com.apple.BKAgentService
>>> com.apple.CalendarAgent
>>> com.apple.CalendarAgent.CalNCService
>>> com.apple.CloudPhotosConfiguration
>>> com.apple.DataDetectorsDynamicData
>>> com.apple.ICPPhotoStreamLibraryService
>>> com.apple.InputMethodKit.TextReplacementService
>>> com.apple.PhotoIngestService
>>> com.apple.Preview
>>> com.apple.Safari
>>> com.apple.SocialPushAgent
>>> com.apple.WeatherKitService
>>> com.apple.cloudphotosd
>>> com.apple.dt.XCDocumenter.XCDocumenterExtension
>>> com.apple.dt.XcodeBuiltInExtensions
>>> com.apple.geod
>>> com.apple.iCal.CalendarNC
>>> com.apple.lateragent
>>> com.apple.ncplugin.stocks
>>> com.apple.ncplugin.weather
>>> com.apple.notificationcenterui.WeatherSummary
>>> com.apple.photolibraryd
>>> com.apple.photomoments
>>> com.apple.quicklook.ui.helper
>>> com.apple.soagent
>>> com.getdropbox.dropbox.garcon
>>> icdd501
>>> ics21406
>>> openmpi-sessions-501@Justins-MacBook-Pro-2_0
>>> pmix-12195
>>> pmix-12271
>>> pmix-12289
>>> pmix-12295
>>> pmix-12304
>>> pmix-12313
>>> pmix-12367
>>> pmix-12397
>>> pmix-12775
>>> pmix-12858
>>> pmix-17118
>>> pmix-1754
>>> pmix-20632
>>> pmix-20793
>>> pmix-20849
>>> pmix-21019
>>> pmix-22316
>>> pmix-8129
>>> pmix-8494
>>> xcrun_db
>>> ~ rm -rf openmpi-sessions-501@Justins-MacBook-Pro-2_0
>>> ~ mpirun -n 1
>>> [Justins-MacBook-Pro-2.local:22527] [[12992,0],0] bind() failed on
>>> error Address already in use (48)
>>> [Justins-MacBook-Pro-2.local:22527] [[12992,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.
>>> --
>>> 
>>> and when I type "ls" the directory
>>> "openmpi-sessions-501@Justins-MacBook-Pro-2_0" reappeared. Unless
>>> there's a different directory I need to look for?
>>> 
>>> On Thu, Sep 22, 2016 at 4:08 AM, r...@open-mpi.org  
>>> wrote:
 Maybe I’m missing something, but “mpirun -n 1” doesn’t include the name of 
 an application to execute.
 
 The error message prior to that error indicates that you have some cruft 
 sitting in your tmpdir. You just need to clean it out - look for something 
 that starts with “openmpi”
 
 
> On Sep 22, 2016, at 1:45 AM, Justin Chang  wrote:
> 
> 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
>>>

Re: [OMPI users] Strange errors when running mpirun

2016-09-22 Thread Gilles Gouaillardet
Justin,

i do not see this error on my laptop

which version of OS X are you running ?

can you try to
TMPDIR=/tmp mpirun -n 1

Cheers,

Gilles

On Thu, Sep 22, 2016 at 7:21 PM, Nathan Hjelm  wrote:
> FWIW it works fine for me on my MacBook Pro running 10.12 with Open MPI 2.0.1 
> installed through homebrew:
>
> ✗ brew -v
> Homebrew 1.0.0 (git revision c3105; last commit 2016-09-22)
> Homebrew/homebrew-core (git revision 227e; last commit 2016-09-22)
>
> ✗ brew info openmpi
>
> open-mpi: stable 2.0.1 (bottled), HEAD
> High performance message passing library
> https://www.open-mpi.org/
> Conflicts with: lcdf-typetools, mpich
> /usr/local/Cellar/open-mpi/2.0.1 (688 files, 8.3M) *
>   Poured from bottle on 2016-09-22 at 03:53:35
> From: 
> https://github.com/Homebrew/homebrew-core/blob/master/Formula/open-mpi.rb
> ==> Dependencies
> Required: libevent ✔
> ==> Options
> --c++11
> Build using C++11 mode
> --with-cxx-bindings
> Enable C++ MPI bindings (deprecated as of MPI-3.0)
> --with-java
> Build with java support
> --with-mpi-thread-multiple
> Enable MPI_THREAD_MULTIPLE
> --without-fortran
> Build without fortran support
> --HEAD
> Install HEAD version
>
> ✗ type -p mpicc
> mpicc is /usr/local/bin/mpicc
>
> ✗ mpirun --version
> mpirun (Open MPI) 2.0.1
>
> Report bugs to http://www.open-mpi.org/community/help/
>
>
> ✗ mpirun ./ring_c
> Process 0 sending 10 to 1, tag 201 (4 processes in ring)
> Process 0 sent to 1
> Process 0 decremented value: 9
> Process 0 decremented value: 8
> Process 0 decremented value: 7
> Process 0 decremented value: 6
> Process 0 decremented value: 5
> Process 0 decremented value: 4
> Process 0 decremented value: 3
> Process 0 decremented value: 2
> Process 0 decremented value: 1
> Process 0 decremented value: 0
> Process 0 exiting
> Process 1 exiting
> Process 2 exiting
> Process 3 exiting
>
>
> -Nathan
>
>> On Sep 22, 2016, at 3:31 AM, Justin Chang  wrote:
>>
>> I tried that and also deleted everything inside $TMPDIR. The error
>> still persists
>>
>> On Thu, Sep 22, 2016 at 4:21 AM, r...@open-mpi.org  wrote:
>>> Try removing the “pmix” entries as well
>>>
 On Sep 22, 2016, at 2:19 AM, Justin Chang  wrote:

 "mpirun -n 1" was just to demonstrate that I get those error messages.
 I ran a simple helloworld.c and it still gives those two messages.

 I did delete openmpi-sessions-* from my $TMPDIR but it doesn't solve
 the problem. Here's my $TMPDIR:

 ~ cd $TMPDIR
 ~ pwd
 /var/folders/jd/qh5zn6jn5kz_byz9gxz5kl2mgn/T
 ~ ls
 MediaCache
 TemporaryItems
 com.apple.AddressBook.ContactsAccountsService
 com.apple.AddressBook.InternetAccountsBridge
 com.apple.AirPlayUIAgent
 com.apple.BKAgentService
 com.apple.CalendarAgent
 com.apple.CalendarAgent.CalNCService
 com.apple.CloudPhotosConfiguration
 com.apple.DataDetectorsDynamicData
 com.apple.ICPPhotoStreamLibraryService
 com.apple.InputMethodKit.TextReplacementService
 com.apple.PhotoIngestService
 com.apple.Preview
 com.apple.Safari
 com.apple.SocialPushAgent
 com.apple.WeatherKitService
 com.apple.cloudphotosd
 com.apple.dt.XCDocumenter.XCDocumenterExtension
 com.apple.dt.XcodeBuiltInExtensions
 com.apple.geod
 com.apple.iCal.CalendarNC
 com.apple.lateragent
 com.apple.ncplugin.stocks
 com.apple.ncplugin.weather
 com.apple.notificationcenterui.WeatherSummary
 com.apple.photolibraryd
 com.apple.photomoments
 com.apple.quicklook.ui.helper
 com.apple.soagent
 com.getdropbox.dropbox.garcon
 icdd501
 ics21406
 openmpi-sessions-501@Justins-MacBook-Pro-2_0
 pmix-12195
 pmix-12271
 pmix-12289
 pmix-12295
 pmix-12304
 pmix-12313
 pmix-12367
 pmix-12397
 pmix-12775
 pmix-12858
 pmix-17118
 pmix-1754
 pmix-20632
 pmix-20793
 pmix-20849
 pmix-21019
 pmix-22316
 pmix-8129
 pmix-8494
 xcrun_db
 ~ rm -rf openmpi-sessions-501@Justins-MacBook-Pro-2_0
 ~ mpirun -n 1
 [Justins-MacBook-Pro-2.local:22527] [[12992,0],0] bind() failed on
 error Address already in use (48)
 [Justins-MacBook-Pro-2.local:22527] [[12992,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.
 --

 and when I type "ls" the directory
 "openmpi-sessions-501@Justins-MacBook-Pro-2_0" reappeared. Unless
 there's a different directory I need to look for?

 On Thu, Sep 22, 2016 at 4:08 AM, r...@open-mpi.org  
 wrote:
> Maybe I’m missing something, but “mpirun -n 1” doesn’t include the name 
> of an application to execute.
>
> The error message prior to that error ind

Re: [OMPI users] OMPI users] Still "illegal instruction"

2016-09-22 Thread Mahmood Naderan
Although this problem is not related to OMPI *at all*, I think it is good
to tell the others what was going on. Finally, I caught the illegal
instruction :)

Briefly, I built the serial version of Siesta on the frontend and ran it
directly on the compute node. Fortunately, "x/i $pc" from GDB showed that
the illegal instruction was a FMA3 instruction. More detail is available at
https://gcc.gnu.org/ml/gcc-help/2016-09/msg00084.html

According to the Wikipedia,


   - *FMA4* is supported in AMD
    processors
   starting with the Bulldozer
   
   architecture. FMA4 was realized in hardware before FMA3.
   - *FMA3* is supported in AMD processors starting with the Piledriver
   
   architecture and Intel 
   starting with Haswell processors
    and
Broadwell
   processors
    since
   2014.

Therefore, the frontend (piledriver) inserts a FMA3 instruction while the
compute node (Bulldozer) doesn't recognize it.

The solution was (as stated by guys) building Siesta on the compute node. I
have to say that I tested all related programs (OMPI
​,​
Scalapack, OpenBLAS
​) sequentially on the compute node in order to find who generate the
illegal instruction.

Anyway... thanks a lot for your comments. Hope this helps others in the
future.
​


Regards,
Mahmood
___
users mailing list
users@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/users

Re: [OMPI users] OMPI users] Still "illegal instruction"

2016-09-22 Thread Reuti

> Am 22.09.2016 um 17:20 schrieb Mahmood Naderan :
> 
> Although this problem is not related to OMPI *at all*, I think it is good to 
> tell the others what was going on. Finally, I caught the illegal instruction 
> :)
> 
> Briefly, I built the serial version of Siesta on the frontend and ran it 
> directly on the compute node. Fortunately, "x/i $pc" from GDB showed that the 
> illegal instruction was a FMA3 instruction. More detail is available at 
> https://gcc.gnu.org/ml/gcc-help/2016-09/msg00084.html
> 
> According to the Wikipedia,
> 
>   • FMA4 is supported in AMD processors starting with the Bulldozer 
> architecture. FMA4 was realized in hardware before FMA3.
>   • FMA3 is supported in AMD processors starting with the Piledriver 
> architecture and Intel starting with Haswell processors and Broadwell 
> processors since 2014.
> Therefore, the frontend (piledriver) inserts a FMA3 instruction while the 
> compute node (Bulldozer) doesn't recognize it.

Thx for sharing, quite interesting. But does this mean, that there is no 
working command line flag for gcc to switch this off (like -march=bdver1 what 
Gilles mentioned) or to tell me what he thinks it should compile for?

For pgcc there is -show and I can spot the target it discovered in the 
USETPVAL= line.

-- Reuti

> 
> The solution was (as stated by guys) building Siesta on the compute node. I 
> have to say that I tested all related programs (OMPI​,​ Scalapack, OpenBLAS​) 
> sequentially on the compute node in order to find who generate the illegal 
> instruction.
> 
> Anyway... thanks a lot for your comments. Hope this helps others in the 
> future.
> ​
> 
> 
> Regards,
> Mahmood
> 
> 
> ___
> users mailing list
> users@lists.open-mpi.org
> https://rfd.newmexicoconsortium.org/mailman/listinfo/users

___
users mailing list
users@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/users

Re: [OMPI users] Strange errors when running mpirun

2016-09-22 Thread Justin Chang
Oh, so setting this in my ~/.profile

export TMPDIR=/tmp

in fact solves my problem completely! Not sure why this is the case, but thanks!

Justin

On Thu, Sep 22, 2016 at 7:33 AM, Gilles Gouaillardet
 wrote:
> Justin,
>
> i do not see this error on my laptop
>
> which version of OS X are you running ?
>
> can you try to
> TMPDIR=/tmp mpirun -n 1
>
> Cheers,
>
> Gilles
>
> On Thu, Sep 22, 2016 at 7:21 PM, Nathan Hjelm  wrote:
>> FWIW it works fine for me on my MacBook Pro running 10.12 with Open MPI 
>> 2.0.1 installed through homebrew:
>>
>> ✗ brew -v
>> Homebrew 1.0.0 (git revision c3105; last commit 2016-09-22)
>> Homebrew/homebrew-core (git revision 227e; last commit 2016-09-22)
>>
>> ✗ brew info openmpi
>>
>> open-mpi: stable 2.0.1 (bottled), HEAD
>> High performance message passing library
>> https://www.open-mpi.org/
>> Conflicts with: lcdf-typetools, mpich
>> /usr/local/Cellar/open-mpi/2.0.1 (688 files, 8.3M) *
>>   Poured from bottle on 2016-09-22 at 03:53:35
>> From: 
>> https://github.com/Homebrew/homebrew-core/blob/master/Formula/open-mpi.rb
>> ==> Dependencies
>> Required: libevent ✔
>> ==> Options
>> --c++11
>> Build using C++11 mode
>> --with-cxx-bindings
>> Enable C++ MPI bindings (deprecated as of MPI-3.0)
>> --with-java
>> Build with java support
>> --with-mpi-thread-multiple
>> Enable MPI_THREAD_MULTIPLE
>> --without-fortran
>> Build without fortran support
>> --HEAD
>> Install HEAD version
>>
>> ✗ type -p mpicc
>> mpicc is /usr/local/bin/mpicc
>>
>> ✗ mpirun --version
>> mpirun (Open MPI) 2.0.1
>>
>> Report bugs to http://www.open-mpi.org/community/help/
>>
>>
>> ✗ mpirun ./ring_c
>> Process 0 sending 10 to 1, tag 201 (4 processes in ring)
>> Process 0 sent to 1
>> Process 0 decremented value: 9
>> Process 0 decremented value: 8
>> Process 0 decremented value: 7
>> Process 0 decremented value: 6
>> Process 0 decremented value: 5
>> Process 0 decremented value: 4
>> Process 0 decremented value: 3
>> Process 0 decremented value: 2
>> Process 0 decremented value: 1
>> Process 0 decremented value: 0
>> Process 0 exiting
>> Process 1 exiting
>> Process 2 exiting
>> Process 3 exiting
>>
>>
>> -Nathan
>>
>>> On Sep 22, 2016, at 3:31 AM, Justin Chang  wrote:
>>>
>>> I tried that and also deleted everything inside $TMPDIR. The error
>>> still persists
>>>
>>> On Thu, Sep 22, 2016 at 4:21 AM, r...@open-mpi.org  
>>> wrote:
 Try removing the “pmix” entries as well

> On Sep 22, 2016, at 2:19 AM, Justin Chang  wrote:
>
> "mpirun -n 1" was just to demonstrate that I get those error messages.
> I ran a simple helloworld.c and it still gives those two messages.
>
> I did delete openmpi-sessions-* from my $TMPDIR but it doesn't solve
> the problem. Here's my $TMPDIR:
>
> ~ cd $TMPDIR
> ~ pwd
> /var/folders/jd/qh5zn6jn5kz_byz9gxz5kl2mgn/T
> ~ ls
> MediaCache
> TemporaryItems
> com.apple.AddressBook.ContactsAccountsService
> com.apple.AddressBook.InternetAccountsBridge
> com.apple.AirPlayUIAgent
> com.apple.BKAgentService
> com.apple.CalendarAgent
> com.apple.CalendarAgent.CalNCService
> com.apple.CloudPhotosConfiguration
> com.apple.DataDetectorsDynamicData
> com.apple.ICPPhotoStreamLibraryService
> com.apple.InputMethodKit.TextReplacementService
> com.apple.PhotoIngestService
> com.apple.Preview
> com.apple.Safari
> com.apple.SocialPushAgent
> com.apple.WeatherKitService
> com.apple.cloudphotosd
> com.apple.dt.XCDocumenter.XCDocumenterExtension
> com.apple.dt.XcodeBuiltInExtensions
> com.apple.geod
> com.apple.iCal.CalendarNC
> com.apple.lateragent
> com.apple.ncplugin.stocks
> com.apple.ncplugin.weather
> com.apple.notificationcenterui.WeatherSummary
> com.apple.photolibraryd
> com.apple.photomoments
> com.apple.quicklook.ui.helper
> com.apple.soagent
> com.getdropbox.dropbox.garcon
> icdd501
> ics21406
> openmpi-sessions-501@Justins-MacBook-Pro-2_0
> pmix-12195
> pmix-12271
> pmix-12289
> pmix-12295
> pmix-12304
> pmix-12313
> pmix-12367
> pmix-12397
> pmix-12775
> pmix-12858
> pmix-17118
> pmix-1754
> pmix-20632
> pmix-20793
> pmix-20849
> pmix-21019
> pmix-22316
> pmix-8129
> pmix-8494
> xcrun_db
> ~ rm -rf openmpi-sessions-501@Justins-MacBook-Pro-2_0
> ~ mpirun -n 1
> [Justins-MacBook-Pro-2.local:22527] [[12992,0],0] bind() failed on
> error Address already in use (48)
> [Justins-MacBook-Pro-2.local:22527] [[12992,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.
> --
>
> and when I type "l

Re: [OMPI users] OMPI users] Still "illegal instruction"

2016-09-22 Thread Mahmood Naderan
​>Thx for sharing, quite interesting. But does this mean, that there is no
working command line flag for gcc to switch this >off (like -march=bdver1
what Gilles mentioned) or to tell me what he thinks it should compile for?
​
Well that didn't work. maybe I messed somethings since I did recompile the
programs multiple times with different configs and options. I will try one
more time.



Regards,
Mahmood
___
users mailing list
users@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/users

Re: [OMPI users] Strange errors when running mpirun

2016-09-22 Thread Gilles Gouaillardet

Justin,


the root cause could be the length of $TMPDIR that might cause some path 
being truncated.


you can check that by simply using a custom $TMPDIR that has the same 
size than the original one



which version of OSX are you running ?

this might explain why Nathan nor i were able to reproduce the issue, 
and i'd like to understand why this


issue went undetected by Open MPI


Cheers,


Gilles


On 9/23/2016 3:12 AM, Justin Chang wrote:

Oh, so setting this in my ~/.profile

export TMPDIR=/tmp

in fact solves my problem completely! Not sure why this is the case, but thanks!

Justin

On Thu, Sep 22, 2016 at 7:33 AM, Gilles Gouaillardet
 wrote:

Justin,

i do not see this error on my laptop

which version of OS X are you running ?

can you try to
TMPDIR=/tmp mpirun -n 1

Cheers,

Gilles

On Thu, Sep 22, 2016 at 7:21 PM, Nathan Hjelm  wrote:

FWIW it works fine for me on my MacBook Pro running 10.12 with Open MPI 2.0.1 
installed through homebrew:

✗ brew -v
Homebrew 1.0.0 (git revision c3105; last commit 2016-09-22)
Homebrew/homebrew-core (git revision 227e; last commit 2016-09-22)

✗ brew info openmpi

open-mpi: stable 2.0.1 (bottled), HEAD
High performance message passing library
https://www.open-mpi.org/
Conflicts with: lcdf-typetools, mpich
/usr/local/Cellar/open-mpi/2.0.1 (688 files, 8.3M) *
   Poured from bottle on 2016-09-22 at 03:53:35
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/open-mpi.rb
==> Dependencies
Required: libevent ✔
==> Options
--c++11
 Build using C++11 mode
--with-cxx-bindings
 Enable C++ MPI bindings (deprecated as of MPI-3.0)
--with-java
 Build with java support
--with-mpi-thread-multiple
 Enable MPI_THREAD_MULTIPLE
--without-fortran
 Build without fortran support
--HEAD
 Install HEAD version

✗ type -p mpicc
mpicc is /usr/local/bin/mpicc

✗ mpirun --version
mpirun (Open MPI) 2.0.1

Report bugs to http://www.open-mpi.org/community/help/


✗ mpirun ./ring_c
Process 0 sending 10 to 1, tag 201 (4 processes in ring)
Process 0 sent to 1
Process 0 decremented value: 9
Process 0 decremented value: 8
Process 0 decremented value: 7
Process 0 decremented value: 6
Process 0 decremented value: 5
Process 0 decremented value: 4
Process 0 decremented value: 3
Process 0 decremented value: 2
Process 0 decremented value: 1
Process 0 decremented value: 0
Process 0 exiting
Process 1 exiting
Process 2 exiting
Process 3 exiting


-Nathan


On Sep 22, 2016, at 3:31 AM, Justin Chang  wrote:

I tried that and also deleted everything inside $TMPDIR. The error
still persists

On Thu, Sep 22, 2016 at 4:21 AM, r...@open-mpi.org  wrote:

Try removing the “pmix” entries as well


On Sep 22, 2016, at 2:19 AM, Justin Chang  wrote:

"mpirun -n 1" was just to demonstrate that I get those error messages.
I ran a simple helloworld.c and it still gives those two messages.

I did delete openmpi-sessions-* from my $TMPDIR but it doesn't solve
the problem. Here's my $TMPDIR:

~ cd $TMPDIR
~ pwd
/var/folders/jd/qh5zn6jn5kz_byz9gxz5kl2mgn/T
~ ls
MediaCache
TemporaryItems
com.apple.AddressBook.ContactsAccountsService
com.apple.AddressBook.InternetAccountsBridge
com.apple.AirPlayUIAgent
com.apple.BKAgentService
com.apple.CalendarAgent
com.apple.CalendarAgent.CalNCService
com.apple.CloudPhotosConfiguration
com.apple.DataDetectorsDynamicData
com.apple.ICPPhotoStreamLibraryService
com.apple.InputMethodKit.TextReplacementService
com.apple.PhotoIngestService
com.apple.Preview
com.apple.Safari
com.apple.SocialPushAgent
com.apple.WeatherKitService
com.apple.cloudphotosd
com.apple.dt.XCDocumenter.XCDocumenterExtension
com.apple.dt.XcodeBuiltInExtensions
com.apple.geod
com.apple.iCal.CalendarNC
com.apple.lateragent
com.apple.ncplugin.stocks
com.apple.ncplugin.weather
com.apple.notificationcenterui.WeatherSummary
com.apple.photolibraryd
com.apple.photomoments
com.apple.quicklook.ui.helper
com.apple.soagent
com.getdropbox.dropbox.garcon
icdd501
ics21406
openmpi-sessions-501@Justins-MacBook-Pro-2_0
pmix-12195
pmix-12271
pmix-12289
pmix-12295
pmix-12304
pmix-12313
pmix-12367
pmix-12397
pmix-12775
pmix-12858
pmix-17118
pmix-1754
pmix-20632
pmix-20793
pmix-20849
pmix-21019
pmix-22316
pmix-8129
pmix-8494
xcrun_db
~ rm -rf openmpi-sessions-501@Justins-MacBook-Pro-2_0
~ mpirun -n 1
[Justins-MacBook-Pro-2.local:22527] [[12992,0],0] bind() failed on
error Address already in use (48)
[Justins-MacBook-Pro-2.local:22527] [[12992,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.
--

and when I type "ls" the directory
"openmpi-sessions-501@Justins-MacBook-Pro-2_0" reappeared. Unless
there's a different directory I need to look for?

On Thu, Sep 22, 2016 at 4:08 AM, r...@open-mpi.org  wrote:

Maybe I’m missing something, but “mpirun -n 1” d