wrong module reported with mpif90

marco atzeri marco.atzeri@gmail.com
Sun Jul 21 08:21:00 GMT 2013


Il 7/21/2013 1:17 AM, Greg Hennessy ha scritto:
> I am running1.7.21 of Cywin.
> When I try to compile a test MPI program get:
>
> $ cat mpi_test.f90
>   program pmich2bug
>   use mpi
>   write(*,*)' test program'
> end program mpich2bug
>
> $ mpif90 mpi_test.f90 -o mpi_test
> mpi_test.f90:2.5:
> use mpi
> 1
> Fatal Error: Wrong module version '4' (expected '9') for file
> 'mpi.mod' opened at (1)
>
> I enclose a copy of cygcheck.
>

confirmed.

I suspect it is due to the recent update of Gfortran from 4.5 to 4.7

We are not the first hit by such problem, see:

https://lists.fedoraproject.org/pipermail/packaging/2010-December/007530.html
http://fedoraproject.org/wiki/Packaging:Fortran

I will rebuild openmpi with GNU Fortran (GCC) 4.7.3
and see if that solve the issue

Regards
Marco





--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list