Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

From: Aaron Thompson (aaron.p.thompson_at_[hidden])
Date: 2007-06-04 10:56:20


Dr. Simon,
        My gfortran version was more recent than the official one at the GNU
website. I tried it with 4.3, and that gave me that error. However,
I just tried it with the stable version 4.2, which is the latest at
the GNU website, and it worked! I think what happened is that it
compiled with CC pointing to Apple's installed cc version 4.0.1, but
with F90 pointing gfortran 4.3 that I installed. This time I forced
it to use GCC 4.2 the whole way through and it worked. Thank you for
pointing me in the right direction.

So for anyone else who may come across this, if you get an error like
Fatal Error: Reading module mpi at line 3562 column 2: Expected integer
it may mean that you've used a different version of cc than gfortran
when configuring OpenMPI.

The configure script ought to warn about this!

Aaron Thompson
Vanderbilt University
aaron.p.thompson_at_[hidden]

On Jun 3, 2007, at 5:39 PM, Christian Simon wrote:

> Dear Aaron,
>
>> Here's what I did in detail.
>> I downloaded gfortran 4.3 from http://hpc.sourceforge.net/ and that
>> installed fine. Simple programs compile.
>
> Is your gfortran older or more recent than the official
> one on http://gcc.gnu.org/fortran/ ?
>
> --
> Dr. Christian SIMON, Maitre de Conferences
> Laboratoire LI2C-UMR7612 Bat. F74, piece 757
> Universite Pierre et Marie Curie Tel:+33.1.44.27.32.65
> Case 51 Fax:+33.1.44.27.32.28
> 4 Place Jussieu
> 75252 Paris Cedex 05
> France/Europe
>
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users