Re: [OMPI users] MacOS - Running MPI code with 256 procs - “[warn] select: Invalid argument” message

2018-02-20 Thread Christophe Petit
Hello Gilles, I have finally fixed my problem by using external libevent for open-mpi-3.0 (built from libevent-2.1.8 version) and the following configure : ./configure --prefix=/usr/local/openmpi CC=gcc-mp-7 CXX=g++-mp-7 FC=gfortran-mp-7 --with-libevent=external

Re: [OMPI users] MacOS - Running MPI code with 256 procs - “[warn] select: Invalid argument” message

2018-02-19 Thread Gilles Gouaillardet
Christophe, could you try the hello_c.c and ring_c.c from the examples directory ? If it still does not work, then could you give a try to Open MPI from homebrew ? and if that fixes the issue, can you please post your configure command line ? Cheers, Gilles On 2/17/2018 7:08 AM,

Re: [OMPI users] MacOS - Running MPI code with 256 procs - “[warn] select: Invalid argument” message

2018-02-16 Thread Christophe Petit
Hello Gilles, I have upgraded to OS X 10.13.3 High Sierra but still have no luck with my issue. To increase the limit of open files, from this link I did : 1) *sudo vim

Re: [OMPI users] MacOS - Running MPI code with 256 procs - “[warn] select: Invalid argument” message

2018-02-14 Thread Gilles Gouaillardet
Christophe, I have no reason to suspect the compiler. By default, the embedded libevent is used. FWIW. homebrew uses libevent 2.1.8, but once again, I have no reason to suspect the embedded library is wrong. My best bet is you first upgrade your operating system, since Maverick is pretty old

Re: [OMPI users] MacOS - Running MPI code with 256 procs - “[warn] select: Invalid argument” message

2018-02-14 Thread Christophe Petit
Thanks for your message. Actually, if I test ulimit -n, I get : $ulimit -n 65536 that confirms that modifications (from the tutorial) are taken into account. To test the OpenMPI "ring_c.c" code, I get : 1) without "--oversubscribe" flag : $mpirun -np 128 ./ring_c

Re: [OMPI users] MacOS - Running MPI code with 256 procs - “[warn] select: Invalid argument” message

2018-02-14 Thread Gilles Gouaillardet
Christophe, I can only test this on OS X 10.13.3 High Sierra, and it could differ from Maverick. by default KA15-002:~ gilles$ ulimit -n 256 KA15-002:~ gilles$ ulimit -Hn unlimited but surprisingly, KA15-002:~ gilles$ ulimit -n unlimited -bash: ulimit: open files: cannot modify limit:

[OMPI users] MacOS - Running MPI code with 256 procs - “[warn] select: Invalid argument” message

2018-02-14 Thread Christophe Petit
Hello, Using Open-Mpi 3.0 and following the tutorial on this link , I try to run a MPI code under MacOS 10.9.5 (Mavericks) with a number of process equal to 256 : the MPI code allocates for each