Re: [OMPI users] problem with fortran, MPI_REDUCE and MPI_IN_PLACE

2011-11-29 Thread Jeff Squyres
Ask and you shall receive! I got a tip from the MPICH2 guys about how they handle this stuff; it seems that the magic gfortran compiler flag is -Wl,-commons,use_dylibs. Thanks Dave Goodell! I will commit this to the OMPI SVN trunk tonight (because it's an autotools-level change, which we try

Re: [OMPI users] problem with fortran, MPI_REDUCE and MPI_IN_PLACE

2011-11-28 Thread Jeff Squyres
Unfortunately, this is a known issue. :-\ I have not found a reliable way to deduce that MPI_IN_PLACE has been passed as the parameter to MPI_REDUCE (and friends) on OS X. There's something very strange going on with regards to the Fortran compiler and common block variables (which is where

[OMPI users] problem with fortran, MPI_REDUCE and MPI_IN_PLACE

2011-11-23 Thread Arjen van Elteren
Dear All, I'm running a complex program with a number of MPI_REDUCE calls, every call uses MPI_IN_PLACE as the first parameter (the send buffer). I'm currently testing this program on Mac 10.6 with macports installed. Unfortunately all MPI_REDUCE calls with MPI_IN_PLACE, seem to fail. I've