public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: marco atzeri <marco.atzeri@gmail.com>
To: Greg Hennessy <greg.hennessy@gmail.com>, cygwin@cygwin.com
Subject: Re: wrong module reported with mpif90
Date: Sun, 21 Jul 2013 08:21:00 -0000	[thread overview]
Message-ID: <51EB893B.2080202@gmail.com> (raw)
In-Reply-To: <CA+mZaOMZWjvHYodB80jK34xYo7dnwL8a2HsUURJ2jJ6fyGa==A@mail.gmail.com>

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

  reply	other threads:[~2013-07-21  7:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-21  5:09 Greg Hennessy
2013-07-21  8:21 ` marco atzeri [this message]
2013-07-21 19:01   ` marco atzeri
2013-07-21 19:40     ` Greg Hennessy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51EB893B.2080202@gmail.com \
    --to=marco.atzeri@gmail.com \
    --cc=cygwin@cygwin.com \
    --cc=greg.hennessy@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).