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

Halim Amer aamer at anl.gov
Tue Oct 20 10:32:47 CDT 2015


Can you first test that your gcc installation works fine 
(https://gcc.gnu.org/install/test.html). Then if the problem persists, 
please send your *config.log* to the list instead of the output of 
configure so that we look at it.

--Halim
www.mcs.anl.gov/~aamer

On 10/19/15 8:32 PM, 广州刘丹 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
>
_______________________________________________
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