Re: [OMPI users] MPI_IN_PLACE in a call to MPI_Allreduce in Fortran

2013-09-11 Thread Hugo Gagnon
On Wed, Sep 11, 2013, at 13:24, Jeff Squyres (jsquyres) wrote: > On Sep 11, 2013, at 7:22 PM, Hugo Gagnon > wrote: > > >> This is definitely a puzzle, because I just installed gcc 4.8.1 on my > >> 10.8.4 OS X MBP, > > > > I also just recompiled gcc 4.8.1_3

Re: [OMPI users] MPI_IN_PLACE in a call to MPI_Allreduce in Fortran

2013-09-11 Thread Jeff Squyres (jsquyres)
On Sep 11, 2013, at 7:22 PM, Hugo Gagnon wrote: >> This is definitely a puzzle, because I just installed gcc 4.8.1 on my >> 10.8.4 OS X MBP, > > I also just recompiled gcc 4.8.1_3 from MacPorts, and will recompile > openmpi 1.6.5 myself rather than using

Re: [OMPI users] MPI_IN_PLACE in a call to MPI_Allreduce in Fortran

2013-09-11 Thread Hugo Gagnon
On Wed, Sep 11, 2013, at 12:26, Jeff Squyres (jsquyres) wrote: > On Sep 10, 2013, at 2:33 PM, Hugo Gagnon > wrote: > > > I only get the correct output when I use the more "conventional" syntax: > > > > ... > > call

Re: [OMPI users] MPI_IN_PLACE in a call to MPI_Allreduce in Fortran

2013-09-11 Thread Jeff Squyres (jsquyres)
On Sep 10, 2013, at 2:33 PM, Hugo Gagnon wrote: > I only get the correct output when I use the more "conventional" syntax: > > ... > call MPI_Allreduce(a_loc,a,2,MPI_INTEGER,MPI_SUM,MPI_COMM_WORLD,ierr) > ... What is a_loc? I'm assuming you know it can't

Re: [OMPI users] Max number of processes per host for an OMPI run?

2013-09-11 Thread Jeff Squyres (jsquyres)
As Ralph said, you're probably running out of file descriptors; mpirun uses a few (2-3? I don't remember offhand) for each MPI process launched. There are many factors that can cause limits like this -- file descriptors are only one. It very much depends on the configuration of the machine on