Re: [OMPI users] OMPI users] MPI_IN_PLACE in Fortran with MPI_REDUCE / MPI_ALLREDUCE

2009-07-28 Thread Ricardo Fonseca
fax: +351 21 8464455 web: http://cfp.ist.utl.pt/golp/ On Jul 28, 2009, at 17:00 , users-requ...@open-mpi.org wrote: Message: 1 Date: Tue, 28 Jul 2009 11:16:34 -0400 From: George Bosilca Subject: Re: [OMPI users] OMPI users] MPI_IN_PLACE in Fortran with MPI_REDUCE / MPI_ALLREDUCE To: Open MP

Re: [OMPI users] OMPI users] MPI_IN_PLACE in Fortran with MPI_REDUCE / MPI_ALLREDUCE

2009-07-28 Thread Ricardo Fonseca
Hi George I don't think this is a library mismatch. I just followed your instructions and got: $ otool -L a.out a.out: /opt/openmpi/1.3.3-g95-32/lib/libmpi_f77.0.dylib (compatibility version 1.0.0, current version 1.0.0) /opt/openmpi/1.3.3-g95-32/lib/libmpi.0.dylib (compatibility version

Re: [OMPI users] OMPI users] MPI_IN_PLACE in Fortran with MPI_REDUCE / MPI_ALLREDUCE

2009-07-28 Thread George Bosilca
Ricardo, I checked on Linux and on Mac OS X 10.5.7 with the fortran compilers from (hpc.sourceforge.net) and I get the correct answer. As you only report problems on Mac OS X I wonder if the real source of the problem is not coming from a library mismatch. As you know, Open MPI is bundled

Re: [OMPI users] OMPI users] MPI_IN_PLACE in Fortran with MPI_REDUCE / MPI_ALLREDUCE

2009-07-28 Thread Ricardo Fonseca
Hi George Thanks for the input. This might be an OS specific problem: I'm running Mac OS X 10.5.7, and this problem appears in openmpi versions 1.3.2, 1.3.3 and 1.4a1r21734, using Intel Ifort Compiler 11.0 and 11.1 (and also g95 + 1.3.2). I haven't tried older versions. Also, I'm running