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

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

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_byz9gxz5kl2

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 d

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

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)

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

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

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

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 runni

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 th

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 repro