<div dir="ltr">I think is a bug to have a compiler named no :)<div>Created a ticket at <a href="http://trac.mpich.org/projects/mpich/ticket/2048">http://trac.mpich.org/projects/mpich/ticket/2048</a></div></div><div class="gmail_extra">
<br clear="all"><div><div dir="ltr">--Junchao Zhang</div></div>
<br><br><div class="gmail_quote">On Fri, Feb 28, 2014 at 4:54 PM, Reuti <span dir="ltr"><<a href="mailto:reuti@staff.uni-marburg.de" target="_blank">reuti@staff.uni-marburg.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Am 28.02.2014 um 23:19 schrieb Gus Correa:<br>
<div class=""><br>
> Hi Ron<br>
><br>
> Your config.log shows that configure is picking up Gnu<br>
> /usr/bin/f77 as the Fortran compiler.<br>
> See an excerpt of config.log below.<br>
><br>
> The Gnu f77/g77, which cannot compile Fortran-90 and later code.<br>
><br>
> You may want to install gfortran.<br>
> Configure didn't find gfortran.<br>
> However, you can install it easily from RPM through yum.<br>
><br>
> Once you install gfortran, to avoid picking up wrong compilers,<br>
> you can also point configure to the compilers.<br>
> Assuming you want to use all Gnu compilers, this would do it:<br>
><br>
> ./configure CC=gcc, CXX=g++, F77=gfortran, FC=gfortran, --prefix=/wherever/you/want ...<br>
><br>
> Another possibility is follow Reuti's suggestion of<br>
> not compiling the MPICH Fortran-90 interface.<br>
<br>
</div>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:<br>
<br>
configure:39186: no -o conftest conftest.f >&5<br>
./configure: line 2896: no: command not found<br>
configure:39186: $? = 127<br>
configure: program exited with status 127<br>
configure: failed program was:<br>
<br>
-- Reuti<br>
<br>
[siehe angehängte Datei: config.log]<br>
<div class="HOEnZb"><div class="h5">> I hope this helps,<br>
> Gus Correa<br>
><br>
> ******* from your config.log *********<br>
> ...<br>
> configure:17977: result: no<br>
> configure:17947: checking for gfortran<br>
> configure:17977: result: no<br>
> configure:17947: checking for f77<br>
> configure:17963: found /usr/bin/f77<br>
> configure:17974: result: f77<br>
> configure:18000: checking for Fortran 77 compiler version<br>
> configure:18009: f77 --version >&5<br>
> GNU Fortran (GCC) 3.4.6 20060404 (Red Hat 3.4.6-19.el6)<br>
> ...<br>
> *****************************************<br>
><br>
> On 02/28/2014 05:02 AM, Reuti wrote:<br>
>> Hi,<br>
>><br>
>> Am 28.02.2014 um 09:22 schrieb Ron Palmer:<br>
>><br>
>>> 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.<br>
>><br>
>> You can try to skip f90:<br>
>><br>
>> $ ./configure --disable-fc ...<br>
>><br>
>> -- Reuti<br>
>><br>
>><br>
>>> The end of the m.txt file is included here for easy access, full details are attached...<br>
>>><br>
>>> CC src/mpi/topo/nhb_alltoallw.lo<br>
>>> CC src/binding/f90/create_f90_int.lo<br>
>>> CC src/binding/f90/create_f90_real.lo<br>
>>> src/binding/f90/create_f90_real.c: In function 'PMPI_Type_create_f90_real':<br>
>>> src/binding/f90/create_f90_real.c:73: error: expected expression before ',' token<br>
>>> src/binding/f90/create_f90_real.c:74: error: expected expression before ',' token<br>
>>> make[2]: *** [src/binding/f90/create_f90_real.lo] Error 1<br>
>>> make[2]: Leaving directory `/inv/mpich-3.1'<br>
>>> make[1]: *** [all-recursive] Error 1<br>
>>> make[1]: Leaving directory `/inv/mpich-3.1'<br>
>>> make: *** [all] Error 2<br>
>>><br>
>>> I look forward to any suggestions any of you may have.<br>
>>> Regards, Ron<br>
>>><br>
>>><br>
>>> <mpi_logs.tar.gz>_______________________________________________<br>
>>> discuss mailing list <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
>>> To manage subscription options or unsubscribe:<br>
>>> <a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
>><br>
>> _______________________________________________<br>
>> discuss mailing list <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
>> To manage subscription options or unsubscribe:<br>
>> <a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
><br>
> _______________________________________________<br>
> discuss mailing list <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
> To manage subscription options or unsubscribe:<br>
> <a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
</div></div><br>_______________________________________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br></blockquote></div><br></div>