[mpich-discuss] mpich2-1.5 build error

Ling Wang lingwang_x at yahoo.com
Tue Dec 18 00:16:38 CST 2012


I uninstalled fort77 and installed gFortran (fortran 95) and it worked. Thanks so much Dave.

--- On Tue, 12/18/12, Dave Goodell <goodell at mcs.anl.gov> wrote:

> From: Dave Goodell <goodell at mcs.anl.gov>
> Subject: Re: [mpich-discuss] mpich2-1.5 build error
> To: discuss at mpich.org
> Date: Tuesday, December 18, 2012, 12:22 AM
> On Dec 17, 2012, at 10:52 PM CST,
> Ling Wang wrote:
> 
> > I am getting this error on my
> > Ubuntu 12.10. (on both of my machines with an AMD and
> Intel CPUs)
> > 
> > mpich2-1.5/src/binding/f90/create_f90_real.c:73:23:
> error: expected
> > expression before ',' token
> > 
> > attached please find c.txt and m.txt files.
> 
> It looks like you have g77 installed (as fort77) but no
> modern fortran compiler (such as gfortran).  For some
> reason, this causes some configure logic related to unnamed
> predefined MPI datatypes (e.g., f90 types created by
> MPI_Type_create_f90_real) to fail, but in a non-fatal way.
> 
> You might be able to get it working by either:
> 
> 1) passing "--disable-fc" to configure
> 
> OR
> 
> 2) installing a "Fortran 90" compiler (really any modern
> Fortran compiler), such as gfortran.  You may also want
> to consider using modern compiler as the F77 compiler.
> 
> -Dave
> 
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
> 



More information about the discuss mailing list