After upgrading to the latest openmpi in wheezy (1.4.5-1) the file mpi.mod which is need to
use mpi with Fortran reports version 9, when it should be version 6. This means that the
gfortran version used to compile openmpi was 4.7 instead of the wheezy system standard of 4.6,
resulting in mpif90 being unable to compile a simple hello world application.
This problem can be resolved by either recompiling the package with gfortran-4.6, or by setting
compiler used by mpif90 to gfortran-4.7; the former solution is more correct, I think, since other
Fortran modules (hdf5, etc) are compiled using the system standard of gfortran-4.6.
Moving forward, I think that there needs to be was to track this hidden dependency, since this is
second time that the module version has prevented this package from functioning for Fortran.