No. I didn't mix environment variables. I run two editions seperately. I searched online, one possiblity is use different mpif90 and mpicc, but I checked in my case they all use gcc 4.3.4
From: Gus Correa <gus_at_[hidden]>
To: Open MPI Users <users_at_[hidden]>
Sent: Tuesday, June 18, 2013 8:44 AM
Subject: Re: [OMPI users] mpif90 error with different openmpi editions
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.
users mailing list