[mpich-discuss] Problems with running make

Dave Goodell (dgoodell) dgoodell at cisco.com
Fri Feb 28 19:46:12 CST 2014


On Feb 28, 2014, at 3:47 PM, Junchao Zhang <jczhang at mcs.anl.gov> wrote:

> I think is a bug to have a compiler named no :)

IMO it's really not, but then again, I wrote this comment:

http://git.mpich.org/mpich.git/blob/de80ec8704071f3b9c810509fb8acee345865902:/configure.ac#l659

Given Rajeev's comment, f77/f90 interaction issues or MPICH home-grown m4 macro problems seem like more likely candidates.

-Dave


> Created a ticket at http://trac.mpich.org/projects/mpich/ticket/2048
> 
> --Junchao Zhang
> 
> 
> On Fri, Feb 28, 2014 at 4:54 PM, Reuti <reuti at staff.uni-marburg.de> wrote:
> Am 28.02.2014 um 23:19 schrieb Gus Correa:
> 
> > Hi Ron
> >
> > Your config.log shows that configure is picking up Gnu
> > /usr/bin/f77 as the Fortran compiler.
> > See an excerpt of config.log below.
> >
> > The Gnu f77/g77, which cannot compile Fortran-90 and later code.
> >
> > You may want to install gfortran.
> > Configure didn't find gfortran.
> > However, you can install it easily from RPM through yum.
> >
> > Once you install gfortran, to avoid picking up wrong compilers,
> > you can also point configure to the compilers.
> > Assuming you want to use all Gnu compilers, this would do it:
> >
> > ./configure CC=gcc, CXX=g++, F77=gfortran, FC=gfortran, --prefix=/wherever/you/want ...
> >
> > Another possibility is follow Reuti's suggestion of
> > not compiling the MPICH Fortran-90 interface.
> 
> I just found, that --disable-fc is not working. Reason seems to be, that it tries to make a conftest with the compiler "no" when checking Fortran 90 integer kind:
> 
> configure:39186: no -o conftest      conftest.f   >&5
> ./configure: line 2896: no: command not found
> configure:39186: $? = 127
> configure: program exited with status 127
> configure: failed program was:
> 
> -- Reuti
> 
> [siehe angehängte Datei: config.log]
> > I hope this helps,
> > Gus Correa
> >
> > ******* from your config.log *********
> > ...
> > configure:17977: result: no
> > configure:17947: checking for gfortran
> > configure:17977: result: no
> > configure:17947: checking for f77
> > configure:17963: found /usr/bin/f77
> > configure:17974: result: f77
> > configure:18000: checking for Fortran 77 compiler version
> > configure:18009: f77 --version >&5
> > GNU Fortran (GCC) 3.4.6 20060404 (Red Hat 3.4.6-19.el6)
> > ...
> > *****************************************
> >
> > On 02/28/2014 05:02 AM, Reuti wrote:
> >> Hi,
> >>
> >> Am 28.02.2014 um 09:22 schrieb Ron Palmer:
> >>
> >>> I am struggling with running make on MPICH, V3.1. I believe that ./configure went well but I do not understand what caused the errors in make. I thought it may be associated with the fortran compile but I have F77 installed (though somewhat confused whether fortran 90 is also installed).  The README file suggested that I send an email to this list with nominated four text files attached.
> >>
> >> You can try to skip f90:
> >>
> >> $ ./configure --disable-fc ...
> >>
> >> -- Reuti
> >>
> >>
> >>> The end of the m.txt file is included here for easy access, full details are attached...
> >>>
> >>>  CC       src/mpi/topo/nhb_alltoallw.lo
> >>>  CC       src/binding/f90/create_f90_int.lo
> >>>  CC       src/binding/f90/create_f90_real.lo
> >>> src/binding/f90/create_f90_real.c: In function 'PMPI_Type_create_f90_real':
> >>> src/binding/f90/create_f90_real.c:73: error: expected expression before ',' token
> >>> src/binding/f90/create_f90_real.c:74: error: expected expression before ',' token
> >>> make[2]: *** [src/binding/f90/create_f90_real.lo] Error 1
> >>> make[2]: Leaving directory `/inv/mpich-3.1'
> >>> make[1]: *** [all-recursive] Error 1
> >>> make[1]: Leaving directory `/inv/mpich-3.1'
> >>> make: *** [all] Error 2
> >>>
> >>> I look forward to any suggestions any of you may have.
> >>> Regards, Ron
> >>>
> >>>
> >>> <mpi_logs.tar.gz>_______________________________________________
> >>> discuss mailing list     discuss at mpich.org
> >>> To manage subscription options or unsubscribe:
> >>> https://lists.mpich.org/mailman/listinfo/discuss
> >>
> >> _______________________________________________
> >> discuss mailing list     discuss at mpich.org
> >> To manage subscription options or unsubscribe:
> >> https://lists.mpich.org/mailman/listinfo/discuss
> >
> > _______________________________________________
> > discuss mailing list     discuss at mpich.org
> > To manage subscription options or unsubscribe:
> > https://lists.mpich.org/mailman/listinfo/discuss
> 
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
> 
> _______________________________________________
> 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