This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: wrong module reported with mpif90
- From: Greg Hennessy <greg dot hennessy at gmail dot com>
- To: marco atzeri <marco dot atzeri at gmail dot com>
- Cc: cygwin at cygwin dot com
- Date: Sun, 21 Jul 2013 15:01:36 -0400
- Subject: Re: wrong module reported with mpif90
- References: <CA+mZaOMZWjvHYodB80jK34xYo7dnwL8a2HsUURJ2jJ6fyGa==A at mail dot gmail dot com> <51EB893B dot 2080202 at gmail dot com> <51EC2CB6 dot 9000106 at gmail dot com>
I'll wait a day to let it propogate to the mirrors and give it a try.
On Sun, Jul 21, 2013 at 2:47 PM, marco atzeri <marco.atzeri@gmail.com> wrote:
> Il 7/21/2013 9:09 AM, marco atzeri ha scritto:
>
>> 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
>>
>
> it should be solved with 1-7.2-1 just uploaded
>
> 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