I can confirm that the testcase cited is fixed with the
-flat_namespace linkage used in 1.8.4...
1.8.3 linked with -Wl,-commons,use_dylibs
% /sw/bin/mpif90 testmpi.f90
% mpirun -np 3 ./a.out
0 10.000
1 -300.00
2 -150.00
Upstream openmpi has decided that the fortran support openmpi
shared libs must be linked with -flat_namespace.
https://github.com/open-mpi/ompi/issues/259
and resorted to the change...
https://github.com/jsquyres/ompi/commit/a2444cc684a4e39ba3001e5ebb3cbbcfa3e54fbf
which of course will break