2011/3/9 Lucas Nussbaum <lu...@lucas-nussbaum.net>

>
> Are you in a position to debug this further? I don't think that a
> rebuild of the package would help since it was very recently uploaded.
>


This problem happened when I switched from gfortran-4.4 to gfortran-4.5
(which is now the default gfortran version), keeping the same version of
libmpich2.

Looking at any module file (*.mod) that I generate with gfortran-4.4, the
header of the file looks like:
"GFORTRAN module version '0' created from ..."

Whereas the same module file, created by gfortran-4.5, starts with:
"GFORTRAN module version '4' created from ..."

The header of the file mpi.mod has version '0', so I guess it has been built
with gfortran-4.4. Now when I compile with gfortran-4.5 any fortran code
that uses the module mpi.mod, the compilation fails with the message I
mentioned in my first message. That's why I guess a rebuild with the new
default gfortran version would perhaps solve the problem.

I attach a minimal test, which should show the problem when compiled with
mpif90 linked to gfortran-4.5.

Regards,

Thomas

Attachment: test.f90
Description: Binary data

Reply via email to