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-05-31 00:58:14


Dear list,
        I'm having a terrible time trying to get OpenMPI running on a G5
with Mac OS X 10.4 and with Fortran support. The F77 example
hello_f77.f compiles and runs as expected, but hello_f90.f90, when
compiled with mpif90, gives me this mysterious error:
Fatal Error: Reading module mpi at line 3562 column 2: Expected integer

Here's what I did in detail.
I downloaded gfortran 4.3 from http://hpc.sourceforge.net/ and that
installed fine. Simple programs compile.
I downloaded OpenMPI 1.2.2 from source tarball. Here's what I did
for configure:
./configure --with-f77 --with-f90 F77=gfortran FC=gfortran
No errors yet at configure. make, sudo make install also yield no
errors.
cd to examples, mpif77 hello_f77.f, ./a.out works
mpif90 hello_f90.f90 gives me the error above:
Fatal Error: Reading module mpi at line 3562 column 2: Expected integer

mpif90 -showme outputs:
gfortran -I/usr/local/include -I/usr/local/lib -Wl,-u,_munmap -Wl,-
multiply_defined,suppress -L/usr/local/lib -lmpi_f90 -lmpi_f77 -lmpi -
lopen-rte -lopen-pal

Any ideas what could be wrong? I think I'm going to be seeing ./
configure script output in my dreams...

Thank you,

Aaron Thompson
Vanderbilt University
Dept. of Chemical Engineering