I've been playing around with Jeff's "bogus" tarball and I, too, see it fail on OS X. If I make the following changes it works perfectly:

in configure.in

1) replace -fno-common with -fcommon
2) add -flat_namespace as part of the arguments for creating shared libs.

After that, things work fine:

(dog@domdechant 63%) main
 Fortran MPI_BOTTOM is          93
Assigning C variables
MPI_SEND_F: This is BOTTOM: 0x2040 == (0x6020/17, 0x6024/18, 0x2040/19, 0x602c/20)
 Fortran MPI_BOTTOM is          19
 Fortran MPI_BOTTOM is          32
MPI_SEND_F: This is BOTTOM: 0x2040 == (0x6020/17, 0x6024/18, 0x2040/32, 0x602c/20)
 Fortran MPI_BOTTOM is          32

I still don't see what the problem is for the two different versions of OMPI are.

OSX 10.5.8, GCC 4.4.1, most recent libtool, autoconf, automake and m4.

-david
--
David Gunter
HPC-3: Parallel Tools Team
Los Alamos National Laboratory



Reply via email to