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!
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:+184.108.40.206.32.65
> Case 51 Fax:+220.127.116.11.32.28
> 4 Place Jussieu
> 75252 Paris Cedex 05
> users mailing list