Re: [OMPI users] Strange errors when running mpirun

2016-09-30 Thread Justin Chang
Thank you, using the default $TMPDIR works now. On Fri, Sep 30, 2016 at 7:32 AM, Gilles Gouaillardet < gilles.gouaillar...@gmail.com> wrote: > Justin and all, > > the root cause is indeed a bug i fixed in > https://github.com/open-mpi/ompi/pull/2135 > i also had this patch applied to home-brew,

Re: [OMPI users] Strange errors when running mpirun

2016-09-30 Thread Gilles Gouaillardet
Justin and all, the root cause is indeed a bug i fixed in https://github.com/open-mpi/ompi/pull/2135 i also had this patch applied to home-brew, so if you re-install open-mpi, you should be fine. Cheers, Gilles for those who want to know more - Open MPI uses two Unix sockets, one by oob/usock

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

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 > >

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

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-*

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

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,