Bug#617283: libmpich2-dev: Wrong fortran module version wrt gfortran-4.5
Thomas Jourdan
thomas.rene.jourdan at gmail.com
Wed Mar 9 17:54:27 UTC 2011
2011/3/9 Lucas Nussbaum <lucas at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20110309/8ced0fd9/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.f90
Type: application/octet-stream
Size: 41 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20110309/8ced0fd9/attachment.obj>
More information about the debian-science-maintainers
mailing list