Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] mpif90 error with different openmpi editions
From: Gus Correa (gus_at_[hidden])
Date: 2013-06-18 09:44:19

On 06/18/2013 12:28 AM, xu wrote:
> my code get this error under openmpi 1.6.4
> mpif90 -O2 -m64 -fbounds-check -ffree-line-length-0 -c -o 2dem_mpi.o
> 2dem_mpi.f90 Fatal Error: Reading module mpi at line 110 column 30:
> Expected string
> If I use mpif90: Open MPI 1.3.3
> It compiles ok. What the problem for this?

Make sure you are not mixing environment variables (PATH and
LD_LIBRARY_PATH) of the two OMPI versions you installed.