[mpich-discuss] fail to configure mpich 3.1.4 use gcc 5.2.0

Guo, Yanfei yguo at anl.gov
Tue Oct 20 10:10:53 CDT 2015


Are you using fortran-5 as well? If you don't need fortran, you can disable it by passing --disable-fortran to configure.

Yanfei Guo
Postdoctoral Appointee
MCS Division, ANL








On 10/19/15, 8:32 PM, "广州刘丹" <liudaniel at qq.com> wrote:

>
>
>
>Hello, everyone:
>   After I upgrade gcc from 4.4.7 to 5.2.0 under oracle linux 6.7, the system can't pass config mpich 3.1.4 when I run:
>
>./configure -prefix=/usr/local/share/mpich-3.1.4/ |& tee c.txt 
>
>
>below is error message:
>configure: error: Unable to configure with Fortran support because configure could not determine the size of a Fortran INTEGER.  Consider setting CROSS_F77_SIZEOF_INTEGER to the length in bytes of a Fortran INTEGER
>
>
>
>When I use gcc 4.4.7, there's no error to make mpich 3.1.4.
>
>
>and below is the process how to upgrade gcc:
>wget ftp://ftp.gnu.org/gnu/gcc/gcc-5.2.0/gcc-5.2.0.tar.bz2
>tar -jxvf gcc-5.2.0.tar.bz2
>cd gcc-5.2.0
>./contrib/download_prerequisites
>cd ..
>mkdir /usr/local/share/gcc-5.2.0
>./gcc-5.2.0/configure --prefix=/usr/local/share/gcc-5.2.0/ --disable-multilib --enable-languages=c,c++,objc,obj-c++,java,fortran
>make -j4
>sudo make install
>
>
>
_______________________________________________
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