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-26 17:12:00


You say:

> one possiblity is use different mpif90 and mpicc, but I
> checked in my case they all use gcc 4.3.4

Do you really mean gcc for both,
or is it gfortran for mpif90 perhaps?

What is the output of:

mpif90 --show
and
mpicc --show

for each OMPI version?

Maybe other list subscribers can help, but I'd suggest that
besides the information above, you send in your
configure command line for each OMPI version.
It is hard to guess what is the problem from the tidbits
of information that you sent.

I hope this helps,
Gus Correa

On 06/26/2013 04:22 PM, xu wrote:
>
> 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
> users_at_[hidden] <mailto:users_at_[hidden]>
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>
>
>
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users